Update payments API to v1.9

This commit is contained in:
mrak and sdcoffey
2016-10-25 17:29:48 -05:00
committed by jaypatel512 and sdcoffey
parent 7c5ea8b997
commit c2947ff409
92 changed files with 1583 additions and 973 deletions

View File

@@ -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;
}
}