forked from LiveCarta/PayPal-PHP-SDK
Payments API Updates
This commit is contained in:
41
lib/PayPal/Api/Billing.php
Normal file
41
lib/PayPal/Api/Billing.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Api;
|
||||
|
||||
use PayPal\Common\PayPalModel;
|
||||
|
||||
/**
|
||||
* Class Billing
|
||||
*
|
||||
* Billing instrument used to charge the payer.
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
* @property string billing_agreement_id
|
||||
*/
|
||||
class Billing extends PayPalModel
|
||||
{
|
||||
/**
|
||||
* Identifier of the instrument in PayPal Wallet
|
||||
*
|
||||
* @param string $billing_agreement_id
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBillingAgreementId($billing_agreement_id)
|
||||
{
|
||||
$this->billing_agreement_id = $billing_agreement_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Identifier of the instrument in PayPal Wallet
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBillingAgreementId()
|
||||
{
|
||||
return $this->billing_agreement_id;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user