com.paypal.api.payments
Class MerchantPreferences

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

public class MerchantPreferences
extends Object


Constructor Summary
MerchantPreferences()
          Default Constructor
MerchantPreferences(String cancelUrl, String returnUrl)
          Parameterized Constructor
 
Method Summary
 String getAcceptedPaymentType()
          Getter for acceptedPaymentType
 String getAutoBillAmount()
          Getter for autoBillAmount
 String getCancelUrl()
          Getter for cancelUrl
 String getCharSet()
          Getter for charSet
 String getId()
          Getter for id
 String getInitialFailAmountAction()
          Getter for initialFailAmountAction
 String getMaxFailAttempts()
          Getter for maxFailAttempts
 String getNotifyUrl()
          Getter for notifyUrl
 String getReturnUrl()
          Getter for returnUrl
 Currency getSetupFee()
          Getter for setupFee
 MerchantPreferences setAcceptedPaymentType(String acceptedPaymentType)
          Setter for acceptedPaymentType
 MerchantPreferences setAutoBillAmount(String autoBillAmount)
          Setter for autoBillAmount
 MerchantPreferences setCancelUrl(String cancelUrl)
          Setter for cancelUrl
 MerchantPreferences setCharSet(String charSet)
          Setter for charSet
 MerchantPreferences setId(String id)
          Setter for id
 MerchantPreferences setInitialFailAmountAction(String initialFailAmountAction)
          Setter for initialFailAmountAction
 MerchantPreferences setMaxFailAttempts(String maxFailAttempts)
          Setter for maxFailAttempts
 MerchantPreferences setNotifyUrl(String notifyUrl)
          Setter for notifyUrl
 MerchantPreferences setReturnUrl(String returnUrl)
          Setter for returnUrl
 MerchantPreferences setSetupFee(Currency setupFee)
          Setter for setupFee
 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

MerchantPreferences

public MerchantPreferences()
Default Constructor


MerchantPreferences

public MerchantPreferences(String cancelUrl,
                           String returnUrl)
Parameterized Constructor

Method Detail

setId

public MerchantPreferences setId(String id)
Setter for id


getId

public String getId()
Getter for id


setSetupFee

public MerchantPreferences setSetupFee(Currency setupFee)
Setter for setupFee


getSetupFee

public Currency getSetupFee()
Getter for setupFee


setCancelUrl

public MerchantPreferences setCancelUrl(String cancelUrl)
Setter for cancelUrl


getCancelUrl

public String getCancelUrl()
Getter for cancelUrl


setReturnUrl

public MerchantPreferences setReturnUrl(String returnUrl)
Setter for returnUrl


getReturnUrl

public String getReturnUrl()
Getter for returnUrl


setNotifyUrl

public MerchantPreferences setNotifyUrl(String notifyUrl)
Setter for notifyUrl


getNotifyUrl

public String getNotifyUrl()
Getter for notifyUrl


setMaxFailAttempts

public MerchantPreferences setMaxFailAttempts(String maxFailAttempts)
Setter for maxFailAttempts


getMaxFailAttempts

public String getMaxFailAttempts()
Getter for maxFailAttempts


setAutoBillAmount

public MerchantPreferences setAutoBillAmount(String autoBillAmount)
Setter for autoBillAmount


getAutoBillAmount

public String getAutoBillAmount()
Getter for autoBillAmount


setInitialFailAmountAction

public MerchantPreferences setInitialFailAmountAction(String initialFailAmountAction)
Setter for initialFailAmountAction


getInitialFailAmountAction

public String getInitialFailAmountAction()
Getter for initialFailAmountAction


setAcceptedPaymentType

public MerchantPreferences setAcceptedPaymentType(String acceptedPaymentType)
Setter for acceptedPaymentType


getAcceptedPaymentType

public String getAcceptedPaymentType()
Getter for acceptedPaymentType


setCharSet

public MerchantPreferences setCharSet(String charSet)
Setter for charSet


getCharSet

public String getCharSet()
Getter for charSet


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.