PHP Class PayPal\Api\ExternalFunding

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

Public Methods

Method 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 method

Amount being funded by the external funding account
public getAmount ( ) : Amount
return Amount

getCode() public method

Generic identifier for the external funding
public getCode ( ) : string
return string

getDisplayText() public method

Description of the external funding being applied
public getDisplayText ( ) : string
return string

getFundingAccountId() public method

Encrypted PayPal Account identifier for the funding account
public getFundingAccountId ( ) : string
return string

getFundingInstruction() public method

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

getReferenceId() public method

Unique identifier for the external funding
public getReferenceId ( ) : string
return string

setAmount() public method

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

setCode() public method

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

setDisplayText() public method

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

setFundingAccountId() public method

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

setFundingInstruction() public method

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 method

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