com.paypal.api.payments
Class PaymentOptions

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

public class PaymentOptions
extends Object


Constructor Summary
PaymentOptions()
          Default Constructor
 
Method Summary
 String getAllowedPaymentMethod()
          Getter for allowedPaymentMethod
 PaymentOptions setAllowedPaymentMethod(String allowedPaymentMethod)
          Setter for allowedPaymentMethod
 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

PaymentOptions

public PaymentOptions()
Default Constructor

Method Detail

setAllowedPaymentMethod

public PaymentOptions setAllowedPaymentMethod(String allowedPaymentMethod)
Setter for allowedPaymentMethod


getAllowedPaymentMethod

public String getAllowedPaymentMethod()
Getter for allowedPaymentMethod


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.