PHP Class PayPal\Api\AlternatePayment

A resource representing a alternate payment account that can be used to fund a payment.
Deprecation: Used for limited release only.
Inheritance: extends PayPal\Common\PayPalModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
getAlternatePaymentAccountId ( ) : string The unique identifier of the alternate payment account.
getAlternatePaymentProviderId ( ) : string Alternate Payment provider id. This is an optional attribute needed only for certain alternate providers e.g Ideal
getExternalCustomerId ( ) : string The unique identifier of the payer
setAlternatePaymentAccountId ( string $alternate_payment_account_id ) The unique identifier of the alternate payment account.
setAlternatePaymentProviderId ( string $alternate_payment_provider_id ) Alternate Payment provider id. This is an optional attribute needed only for certain alternate providers e.g Ideal
setExternalCustomerId ( string $external_customer_id ) The unique identifier of the payer

Method Details

getAlternatePaymentAccountId() public method

The unique identifier of the alternate payment account.

getAlternatePaymentProviderId() public method

Alternate Payment provider id. This is an optional attribute needed only for certain alternate providers e.g Ideal

getExternalCustomerId() public method

The unique identifier of the payer
public getExternalCustomerId ( ) : string
return string

setAlternatePaymentAccountId() public method

The unique identifier of the alternate payment account.
public setAlternatePaymentAccountId ( string $alternate_payment_account_id )
$alternate_payment_account_id string

setAlternatePaymentProviderId() public method

Alternate Payment provider id. This is an optional attribute needed only for certain alternate providers e.g Ideal
public setAlternatePaymentProviderId ( string $alternate_payment_provider_id )
$alternate_payment_provider_id string

setExternalCustomerId() public method

The unique identifier of the payer
public setExternalCustomerId ( string $external_customer_id )
$external_customer_id string