PayPal\Api\CarrierAccountToken::getExternalCustomerId PHP Method

getExternalCustomerId() public method

The unique identifier of the payer used when saving this carrier account instrument.
public getExternalCustomerId ( ) : string
return string
    public function getExternalCustomerId()
    {
        return $this->external_customer_id;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param CarrierAccountToken $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getCarrierAccountId(), "TestSample");
     $this->assertEquals($obj->getExternalCustomerId(), "TestSample");
 }