PayPal\Api\Billing::getBillingAgreementId PHP Method

getBillingAgreementId() public method

Identifier of the instrument in PayPal Wallet
public getBillingAgreementId ( ) : string
return string
    public function getBillingAgreementId()
    {
        return $this->billing_agreement_id;
    }

Usage Example

Example #1
0
 /**
  * @depends testSerializationDeserialization
  * @param Billing $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getBillingAgreementId(), "TestSample");
 }