PHP Class PayPal\Api\PaymentOptions

Payment options requested for this purchase unit
Inheritance: extends PayPal\Common\PayPalModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getAllowedPaymentMethod ( ) : string Payment method requested for this purchase unit
getRecurringFlag ( ) : boolean Indicator if this payment request is a recurring payment. Only supported when the payment_method is set to credit_card
getSkipFmf ( ) : boolean Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the payment_method is set to credit_card
setAllowedPaymentMethod ( string $allowed_payment_method ) Payment method requested for this purchase unit Valid Values: ["UNRESTRICTED", "INSTANT_FUNDING_SOURCE", "IMMEDIATE_PAY"]
setRecurringFlag ( boolean $recurring_flag ) Indicator if this payment request is a recurring payment. Only supported when the payment_method is set to credit_card
setSkipFmf ( boolean $skip_fmf ) Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the payment_method is set to credit_card

Method Details

getAllowedPaymentMethod() public method

Payment method requested for this purchase unit
public getAllowedPaymentMethod ( ) : string
return string

getRecurringFlag() public method

Indicator if this payment request is a recurring payment. Only supported when the payment_method is set to credit_card
Deprecation: Not publicly available
public getRecurringFlag ( ) : boolean
return boolean

getSkipFmf() public method

Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the payment_method is set to credit_card
Deprecation: Not publicly available
public getSkipFmf ( ) : boolean
return boolean

setAllowedPaymentMethod() public method

Payment method requested for this purchase unit Valid Values: ["UNRESTRICTED", "INSTANT_FUNDING_SOURCE", "IMMEDIATE_PAY"]
public setAllowedPaymentMethod ( string $allowed_payment_method )
$allowed_payment_method string

setRecurringFlag() public method

Indicator if this payment request is a recurring payment. Only supported when the payment_method is set to credit_card
Deprecation: Not publicly available
public setRecurringFlag ( boolean $recurring_flag )
$recurring_flag boolean

setSkipFmf() public method

Indicator if fraud management filters (fmf) should be skipped for this transaction. Only supported when the payment_method is set to credit_card
Deprecation: Not publicly available
public setSkipFmf ( boolean $skip_fmf )
$skip_fmf boolean