PayPal\Api\CarrierAccount::getExternalCustomerId PHP Method

getExternalCustomerId() public method

The ID of the customer, as created by the merchant.
public getExternalCustomerId ( ) : string
return string
    public function getExternalCustomerId()
    {
        return $this->external_customer_id;
    }

Usage Example

示例#1
0
 /**
  * @depends testSerializationDeserialization
  * @param CarrierAccount $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getPhoneNumber(), "TestSample");
     $this->assertEquals($obj->getExternalCustomerId(), "TestSample");
     $this->assertEquals($obj->getPhoneSource(), "TestSample");
     $this->assertEquals($obj->getCountryCode(), CountryCodeTest::getObject());
 }