public class AgreementTransaction extends PayPalModel
| Constructor and Description |
|---|
AgreementTransaction()
Default Constructor
|
AgreementTransaction(Currency amount,
Currency feeAmount,
Currency netAmount)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Currency |
getAmount()
Amount for this transaction.
|
Currency |
getFeeAmount()
Fee amount for this transaction.
|
Currency |
getNetAmount()
Net amount for this transaction.
|
java.lang.String |
getPayerEmail()
Email id of payer.
|
java.lang.String |
getPayerName()
Business name of payer.
|
java.lang.String |
getStatus()
State of the subscription at this time.
|
java.lang.String |
getTimeStamp()
Time at which this transaction happened.
|
java.lang.String |
getTimeUpdated()
Deprecated.
use getTimeStamp instead.
Getter for timeUpdated
|
java.lang.String |
getTimeZone()
Time zone of time_updated field.
|
java.lang.String |
getTransactionId()
Id corresponding to this transaction.
|
java.lang.String |
getTransactionType()
Type of transaction, usually Recurring Payment.
|
int |
hashCode() |
AgreementTransaction |
setAmount(Currency amount)
Amount for this transaction.
|
AgreementTransaction |
setFeeAmount(Currency feeAmount)
Fee amount for this transaction.
|
AgreementTransaction |
setNetAmount(Currency netAmount)
Net amount for this transaction.
|
AgreementTransaction |
setPayerEmail(java.lang.String payerEmail)
Email id of payer.
|
AgreementTransaction |
setPayerName(java.lang.String payerName)
Business name of payer.
|
AgreementTransaction |
setStatus(java.lang.String status)
State of the subscription at this time.
|
AgreementTransaction |
setTimeStamp(java.lang.String timeStamp)
Time at which this transaction happened.
|
AgreementTransaction |
setTimeUpdated(java.lang.String timeUpdated)
Deprecated.
use setTimeStamp instead.
Setter for timeUpdated
|
AgreementTransaction |
setTimeZone(java.lang.String timeZone)
Time zone of time_updated field.
|
AgreementTransaction |
setTransactionId(java.lang.String transactionId)
Id corresponding to this transaction.
|
AgreementTransaction |
setTransactionType(java.lang.String transactionType)
Type of transaction, usually Recurring Payment.
|
toJSON, toStringpublic AgreementTransaction setTimeUpdated(java.lang.String timeUpdated)
public java.lang.String getTimeUpdated()
public java.lang.String getTransactionId()
public java.lang.String getStatus()
public java.lang.String getTransactionType()
public Currency getAmount()
public Currency getFeeAmount()
public Currency getNetAmount()
public java.lang.String getPayerEmail()
public java.lang.String getPayerName()
public java.lang.String getTimeZone()
public java.lang.String getTimeStamp()
public AgreementTransaction setTransactionId(java.lang.String transactionId)
public AgreementTransaction setStatus(java.lang.String status)
public AgreementTransaction setTransactionType(java.lang.String transactionType)
public AgreementTransaction setAmount(Currency amount)
public AgreementTransaction setFeeAmount(Currency feeAmount)
public AgreementTransaction setNetAmount(Currency netAmount)
public AgreementTransaction setPayerEmail(java.lang.String payerEmail)
public AgreementTransaction setPayerName(java.lang.String payerName)
public AgreementTransaction setTimeZone(java.lang.String timeZone)
public AgreementTransaction setTimeStamp(java.lang.String timeStamp)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel