public function getData()
    {
        return [
            self::POSTCODE_ATTR => $this->postcode,
            self::COUNTRY_ATTR => $this->country->getCode(),
        ];
    }
public function getData()
    {
        return [
            self::POSTCODE_ATTR => $this->postcode,
            self::COUNTRY_ATTR => $this->country->getCode(),
        ];
    }
public function getData ( ) { return [ self :: POSTCODE_ATTR => $ this -> postcode , self :: COUNTRY_ATTR => $ this -> country -> getCode ( ) , ] ; }
Get address data.

@return array
Get address data .