PayPal\Api\PaymentExecution::getCarrierAccountId PHP Method

getCarrierAccountId() public method

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
Deprecation: Not publicly available
public getCarrierAccountId ( ) : string
return string
    public function getCarrierAccountId()
    {
        return $this->carrier_account_id;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param PaymentExecution $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPayerId(), "TestSample");
     $this->assertEquals($obj->getCarrierAccountId(), "TestSample");
     $this->assertEquals($obj->getTransactions(), array(TransactionTest::getObject()));
 }