PHP Class PayPal\Api\ExternalFunding

A resource representing an external funding object.
Inheritance: extends PayPal\Common\PayPalModel
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode Description
getAmount ( ) : Amount Amount being funded by the external funding account
getCode ( ) : string Generic identifier for the external funding
getDisplayText ( ) : string Description of the external funding being applied
getFundingAccountId ( ) : string Encrypted PayPal Account identifier for the funding account
getFundingInstruction ( ) : string Indicates that the Payment should be fully funded by External Funded Incentive
getReferenceId ( ) : string Unique identifier for the external funding
setAmount ( Amount $amount ) Amount being funded by the external funding account
setCode ( string $code ) Generic identifier for the external funding
setDisplayText ( string $display_text ) Description of the external funding being applied
setFundingAccountId ( string $funding_account_id ) Encrypted PayPal Account identifier for the funding account
setFundingInstruction ( string $funding_instruction ) Indicates that the Payment should be fully funded by External Funded Incentive Valid Values: ["FULLY_FUNDED"]
setReferenceId ( string $reference_id ) Unique identifier for the external funding

Method Details

getAmount() public méthode

Amount being funded by the external funding account
public getAmount ( ) : Amount
Résultat Amount

getCode() public méthode

Generic identifier for the external funding
public getCode ( ) : string
Résultat string

getDisplayText() public méthode

Description of the external funding being applied
public getDisplayText ( ) : string
Résultat string

getFundingAccountId() public méthode

Encrypted PayPal Account identifier for the funding account
public getFundingAccountId ( ) : string
Résultat string

getFundingInstruction() public méthode

Indicates that the Payment should be fully funded by External Funded Incentive
public getFundingInstruction ( ) : string
Résultat string

getReferenceId() public méthode

Unique identifier for the external funding
public getReferenceId ( ) : string
Résultat string

setAmount() public méthode

Amount being funded by the external funding account
public setAmount ( Amount $amount )
$amount Amount

setCode() public méthode

Generic identifier for the external funding
public setCode ( string $code )
$code string

setDisplayText() public méthode

Description of the external funding being applied
public setDisplayText ( string $display_text )
$display_text string

setFundingAccountId() public méthode

Encrypted PayPal Account identifier for the funding account
public setFundingAccountId ( string $funding_account_id )
$funding_account_id string

setFundingInstruction() public méthode

Indicates that the Payment should be fully funded by External Funded Incentive Valid Values: ["FULLY_FUNDED"]
public setFundingInstruction ( string $funding_instruction )
$funding_instruction string

setReferenceId() public méthode

Unique identifier for the external funding
public setReferenceId ( string $reference_id )
$reference_id string