PayPal\Api\CountryCode::getCountryCode PHP Method

getCountryCode() public method

ISO country code based on 2-character IS0-3166-1 codes.
public getCountryCode ( ) : string
return string
    public function getCountryCode()
    {
        return $this->country_code;
    }

Usage Example

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