PayPal\Api\CountryCode::getCountryCode PHP Метод

getCountryCode() публичный Метод

ISO country code based on 2-character IS0-3166-1 codes.
public getCountryCode ( ) : string
Результат string
    public function getCountryCode()
    {
        return $this->country_code;
    }

Usage Example

Пример #1
0
 /**
  * @depends testSerializationDeserialization
  * @param CountryCode $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getCountryCode(), "TestSample");
 }