Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.paypal.api.payments;
  
  
  
  public class AgreementTransaction  extends PayPalModel {

Id corresponding to this transaction.
 
 	private String transactionId;

State of the subscription at this time.
 
 	private String status;

Type of transaction, usually Recurring Payment.
 
 	private String transactionType;

Amount for this transaction.
 
 	private Currency amount;

Fee amount for this transaction.
 
 	private Currency feeAmount;

Net amount for this transaction.
 
 	private Currency netAmount;

Email id of payer.
 
 	private String payerEmail;

Business name of payer.
 
 	private String payerName;

Time at which this transaction happened.
 
 	private String timeUpdated;

Time zone of time_updated field.
 
 	private String timeZone;

Default Constructor
 
 	public AgreementTransaction() {
 	}

Parameterized Constructor
 
 	public AgreementTransaction(Currency amountCurrency feeAmountCurrency netAmount) {
 		this. = amount;
 		this. = feeAmount;
 		this. = netAmount;
 	}


Setter for transactionId
 
 	public AgreementTransaction setTransactionId(String transactionId) {
 		this. = transactionId;
 		return this;
 	}

Getter for transactionId
 
 	public String getTransactionId() {
 		return this.;
 	}


Setter for status
 
 	public AgreementTransaction setStatus(String status) {
 		this. = status;
 		return this;
 	}

Getter for status
	public String getStatus() {
		return this.;
	}


Setter for transactionType
	public AgreementTransaction setTransactionType(String transactionType) {
		this. = transactionType;
		return this;
	}

Getter for transactionType
		return this.;
	}


Setter for amount
		this. = amount;
		return this;
	}

Getter for amount
	public Currency getAmount() {
		return this.;
	}


Setter for feeAmount
		this. = feeAmount;
		return this;
	}

Getter for feeAmount
	public Currency getFeeAmount() {
		return this.;
	}


Setter for netAmount
		this. = netAmount;
		return this;
	}

Getter for netAmount
	public Currency getNetAmount() {
		return this.;
	}


Setter for payerEmail
	public AgreementTransaction setPayerEmail(String payerEmail) {
		this. = payerEmail;
		return this;
	}

Getter for payerEmail
	public String getPayerEmail() {
		return this.;
	}


Setter for payerName
		this. = payerName;
		return this;
	}

Getter for payerName
	public String getPayerName() {
		return this.;
	}


Setter for timeUpdated
	public AgreementTransaction setTimeUpdated(String timeUpdated) {
		this. = timeUpdated;
		return this;
	}

Getter for timeUpdated
	public String getTimeUpdated() {
		return this.;
	}


Setter for timeZone
		this. = timeZone;
		return this;
	}

Getter for timeZone
	public String getTimeZone() {
		return this.;
	}
New to GrepCode? Check out our FAQ X