Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 
 import  com.paypal.core.rest.JSONFormatter;
 import java.util.List;
 
 public class Transaction extends TransactionBase {

Additional transactions for complex payment scenarios.
Default Constructor
	public Transaction() {
	}


Setter for transactions
	public Transaction setTransactions(List<Transactiontransactions) {
		this. = transactions;
		return this;
	}

Getter for transactions
		return this.;
	}

Returns a JSON string corresponding to object state

Returns:
JSON representation
	public String toJSON() {
		return JSONFormatter.toJSON(this);
	}
	public String toString() {
		return toJSON();
	}
New to GrepCode? Check out our FAQ X