com.paypal.api.payments
Class RelatedResources

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

public class RelatedResources
extends Object


Constructor Summary
RelatedResources()
          Default Constructor
 
Method Summary
 Authorization getAuthorization()
          Getter for authorization
 Capture getCapture()
          Getter for capture
 Refund getRefund()
          Getter for refund
 Sale getSale()
          Getter for sale
 RelatedResources setAuthorization(Authorization authorization)
          Setter for authorization
 RelatedResources setCapture(Capture capture)
          Setter for capture
 RelatedResources setRefund(Refund refund)
          Setter for refund
 RelatedResources setSale(Sale sale)
          Setter for sale
 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

RelatedResources

public RelatedResources()
Default Constructor

Method Detail

setSale

public RelatedResources setSale(Sale sale)
Setter for sale


getSale

public Sale getSale()
Getter for sale


setAuthorization

public RelatedResources setAuthorization(Authorization authorization)
Setter for authorization


getAuthorization

public Authorization getAuthorization()
Getter for authorization


setCapture

public RelatedResources setCapture(Capture capture)
Setter for capture


getCapture

public Capture getCapture()
Getter for capture


setRefund

public RelatedResources setRefund(Refund refund)
Setter for refund


getRefund

public Refund getRefund()
Getter for refund


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.