com.paypal.api.payments
Class Transactions

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

public class Transactions
extends Object


Constructor Summary
Transactions()
          Default Constructor
Transactions(Amount amount)
          Parameterized Constructor
 
Method Summary
 Amount getAmount()
          Getter for amount
 Transactions setAmount(Amount amount)
          Setter for amount
 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

Transactions

public Transactions()
Default Constructor


Transactions

public Transactions(Amount amount)
Parameterized Constructor

Method Detail

setAmount

public Transactions setAmount(Amount amount)
Setter for amount


getAmount

public Amount getAmount()
Getter for amount


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.