forked from LiveCarta/PayPal-PHP-SDK
Update payments API to v1.9
This commit is contained in:
committed by
jaypatel512 and sdcoffey
parent
7c5ea8b997
commit
c2947ff409
@@ -16,6 +16,7 @@ use PayPal\Common\PayPalModel;
|
||||
* @property string funding_account_id
|
||||
* @property string display_text
|
||||
* @property \PayPal\Api\Amount amount
|
||||
* @property string funding_instruction
|
||||
*/
|
||||
class ExternalFunding extends PayPalModel
|
||||
{
|
||||
@@ -134,4 +135,27 @@ class ExternalFunding extends PayPalModel
|
||||
return $this->amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates that the Payment should be fully funded by External Funded Incentive
|
||||
* Valid Values: ["FULLY_FUNDED"]
|
||||
*
|
||||
* @param string $funding_instruction
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setFundingInstruction($funding_instruction)
|
||||
{
|
||||
$this->funding_instruction = $funding_instruction;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates that the Payment should be fully funded by External Funded Incentive
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFundingInstruction()
|
||||
{
|
||||
return $this->funding_instruction;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user