Class MerchantPreferences
Class MerchantPreferences
Resource representing merchant preferences like max failed attempts, set up fee and others for a plan.
- PayPal\Common\PayPalModel
- PayPal\Api\MerchantPreferences
Methods summary
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
#
setCancelUrl( string $cancel_url )
Redirect URL on cancellation of agreement request. 1000 characters max. |
public
string
|
|
public
|
#
setReturnUrl( string $return_url )
Redirect URL on creation of agreement request. 1000 characters max. |
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setMaxFailAttempts( string $max_fail_attempts )
Total number of failed attempts allowed. Default is 0, representing an infinite number of failed attempts. |
public
string
|
#
getMaxFailAttempts( )
Total number of failed attempts allowed. Default is 0, representing an infinite number of failed attempts. |
public
|
#
setAutoBillAmount( string $auto_bill_amount )
Allow auto billing for the outstanding amount of the agreement in the next cycle. Allowed values: |
public
string
|
#
getAutoBillAmount( )
Allow auto billing for the outstanding amount of the agreement in the next cycle. Allowed values: |
public
|
#
setInitialFailAmountAction( string $initial_fail_amount_action )
Action to take if a failure occurs during initial payment. Allowed values: |
public
string
|
#
getInitialFailAmountAction( )
Action to take if a failure occurs during initial payment. Allowed values: |
public
|
#
setAcceptedPaymentType( string $accepted_payment_type )
Payment types that are accepted for this plan. |
public
string
|
|
public
|
|
public
string
|
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()