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:
@@ -41,31 +41,6 @@ class Presentation extends PayPalModel
|
||||
return $this->brand_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* A label that overrides the business name in the PayPal account on the PayPal pages.
|
||||
*
|
||||
* @deprecated Instead use setBrandName
|
||||
*
|
||||
* @param string $brand_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setBrand_name($brand_name)
|
||||
{
|
||||
$this->brand_name = $brand_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A label that overrides the business name in the PayPal account on the PayPal pages.
|
||||
* @deprecated Instead use getBrandName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBrand_name()
|
||||
{
|
||||
return $this->brand_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* A URL to logo image. Allowed vaues: `.gif`, `.jpg`, or `.png`.
|
||||
*
|
||||
@@ -90,31 +65,6 @@ class Presentation extends PayPalModel
|
||||
return $this->logo_image;
|
||||
}
|
||||
|
||||
/**
|
||||
* A URL to logo image. Allowed vaues: `.gif`, `.jpg`, or `.png`.
|
||||
*
|
||||
* @deprecated Instead use setLogoImage
|
||||
*
|
||||
* @param string $logo_image
|
||||
* @return $this
|
||||
*/
|
||||
public function setLogo_image($logo_image)
|
||||
{
|
||||
$this->logo_image = $logo_image;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A URL to logo image. Allowed vaues: `.gif`, `.jpg`, or `.png`.
|
||||
* @deprecated Instead use getLogoImage
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLogo_image()
|
||||
{
|
||||
return $this->logo_image;
|
||||
}
|
||||
|
||||
/**
|
||||
* Locale of pages displayed by PayPal payment experience.
|
||||
*
|
||||
@@ -139,29 +89,4 @@ class Presentation extends PayPalModel
|
||||
return $this->locale_code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Locale of pages displayed by PayPal payment experience.
|
||||
*
|
||||
* @deprecated Instead use setLocaleCode
|
||||
*
|
||||
* @param string $locale_code
|
||||
* @return $this
|
||||
*/
|
||||
public function setLocale_code($locale_code)
|
||||
{
|
||||
$this->locale_code = $locale_code;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Locale of pages displayed by PayPal payment experience.
|
||||
* @deprecated Instead use getLocaleCode
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLocale_code()
|
||||
{
|
||||
return $this->locale_code;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user