forked from LiveCarta/PayPal-PHP-SDK
Removed Deprecated Getter and Setters
- Removed Deprecated Getter Setters from all Model Classes - All Camelcase getters and setters are removed. Please use first letter uppercase syntax - E.g. instead of using get_notify_url(), use getNotifyUrl() instead
This commit is contained in:
@@ -112,31 +112,6 @@ class BaseAddress extends PayPalModel
|
||||
return $this->country_code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 2 letter country code.
|
||||
*
|
||||
* @deprecated Instead use setCountryCode
|
||||
*
|
||||
* @param string $country_code
|
||||
* @return $this
|
||||
*/
|
||||
public function setCountry_code($country_code)
|
||||
{
|
||||
$this->country_code = $country_code;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 2 letter country code.
|
||||
* @deprecated Instead use getCountryCode
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCountry_code()
|
||||
{
|
||||
return $this->country_code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Zip code or equivalent is usually required for countries that have them. For list of countries that do not have postal codes please refer to http://en.wikipedia.org/wiki/Postal_code.
|
||||
*
|
||||
@@ -160,31 +135,6 @@ class BaseAddress extends PayPalModel
|
||||
return $this->postal_code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Zip code or equivalent is usually required for countries that have them. For list of countries that do not have postal codes please refer to http://en.wikipedia.org/wiki/Postal_code.
|
||||
*
|
||||
* @deprecated Instead use setPostalCode
|
||||
*
|
||||
* @param string $postal_code
|
||||
* @return $this
|
||||
*/
|
||||
public function setPostal_code($postal_code)
|
||||
{
|
||||
$this->postal_code = $postal_code;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Zip code or equivalent is usually required for countries that have them. For list of countries that do not have postal codes please refer to http://en.wikipedia.org/wiki/Postal_code.
|
||||
* @deprecated Instead use getPostalCode
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPostal_code()
|
||||
{
|
||||
return $this->postal_code;
|
||||
}
|
||||
|
||||
/**
|
||||
* 2 letter code for US states, and the equivalent for other countries.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user