com.paypal.api.payments
Class PaymentHistory

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

public class PaymentHistory
extends Object


Constructor Summary
PaymentHistory()
          Default Constructor
 
Method Summary
 int getCount()
          Getter for count
 String getNextId()
          Getter for nextId
 List<Payment> getPayments()
          Getter for payments
 PaymentHistory setCount(int count)
          Setter for count
 PaymentHistory setNextId(String nextId)
          Setter for nextId
 PaymentHistory setPayments(List<Payment> payments)
          Setter for payments
 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

PaymentHistory

public PaymentHistory()
Default Constructor

Method Detail

setPayments

public PaymentHistory setPayments(List<Payment> payments)
Setter for payments


getPayments

public List<Payment> getPayments()
Getter for payments


setCount

public PaymentHistory setCount(int count)
Setter for count


getCount

public int getCount()
Getter for count


setNextId

public PaymentHistory setNextId(String nextId)
Setter for nextId


getNextId

public String getNextId()
Getter for nextId


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.