com.paypal.api.payments
Class AgreementTransaction

java.lang.Object
  extended by com.paypal.api.payments.AgreementTransaction

public class AgreementTransaction
extends Object


Constructor Summary
AgreementTransaction()
          Default Constructor
AgreementTransaction(Currency amount, Currency feeAmount, Currency netAmount)
          Parameterized Constructor
 
Method Summary
 Currency getAmount()
          Getter for amount
 Currency getFeeAmount()
          Getter for feeAmount
 Currency getNetAmount()
          Getter for netAmount
 String getPayerEmail()
          Getter for payerEmail
 String getPayerName()
          Getter for payerName
 String getStatus()
          Getter for status
 String getTimeUpdated()
          Getter for timeUpdated
 String getTimeZone()
          Getter for timeZone
 String getTransactionId()
          Getter for transactionId
 String getTransactionType()
          Getter for transactionType
 AgreementTransaction setAmount(Currency amount)
          Setter for amount
 AgreementTransaction setFeeAmount(Currency feeAmount)
          Setter for feeAmount
 AgreementTransaction setNetAmount(Currency netAmount)
          Setter for netAmount
 AgreementTransaction setPayerEmail(String payerEmail)
          Setter for payerEmail
 AgreementTransaction setPayerName(String payerName)
          Setter for payerName
 AgreementTransaction setStatus(String status)
          Setter for status
 AgreementTransaction setTimeUpdated(String timeUpdated)
          Setter for timeUpdated
 AgreementTransaction setTimeZone(String timeZone)
          Setter for timeZone
 AgreementTransaction setTransactionId(String transactionId)
          Setter for transactionId
 AgreementTransaction setTransactionType(String transactionType)
          Setter for transactionType
 String toJSON()
          Returns a JSON string corresponding to object state
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgreementTransaction

public AgreementTransaction()
Default Constructor


AgreementTransaction

public AgreementTransaction(Currency amount,
                            Currency feeAmount,
                            Currency netAmount)
Parameterized Constructor

Method Detail

setTransactionId

public AgreementTransaction setTransactionId(String transactionId)
Setter for transactionId


getTransactionId

public String getTransactionId()
Getter for transactionId


setStatus

public AgreementTransaction setStatus(String status)
Setter for status


getStatus

public String getStatus()
Getter for status


setTransactionType

public AgreementTransaction setTransactionType(String transactionType)
Setter for transactionType


getTransactionType

public String getTransactionType()
Getter for transactionType


setAmount

public AgreementTransaction setAmount(Currency amount)
Setter for amount


getAmount

public Currency getAmount()
Getter for amount


setFeeAmount

public AgreementTransaction setFeeAmount(Currency feeAmount)
Setter for feeAmount


getFeeAmount

public Currency getFeeAmount()
Getter for feeAmount


setNetAmount

public AgreementTransaction setNetAmount(Currency netAmount)
Setter for netAmount


getNetAmount

public Currency getNetAmount()
Getter for netAmount


setPayerEmail

public AgreementTransaction setPayerEmail(String payerEmail)
Setter for payerEmail


getPayerEmail

public String getPayerEmail()
Getter for payerEmail


setPayerName

public AgreementTransaction setPayerName(String payerName)
Setter for payerName


getPayerName

public String getPayerName()
Getter for payerName


setTimeUpdated

public AgreementTransaction setTimeUpdated(String timeUpdated)
Setter for timeUpdated


getTimeUpdated

public String getTimeUpdated()
Getter for timeUpdated


setTimeZone

public AgreementTransaction setTimeZone(String timeZone)
Setter for timeZone


getTimeZone

public String getTimeZone()
Getter for timeZone


toJSON

public String toJSON()
Returns a JSON string corresponding to object state

Returns:
JSON representation

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.