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:
@@ -66,31 +66,6 @@ class Error extends PayPalModel
|
||||
return $this->debug_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* PayPal internal identifier used for correlation purposes.
|
||||
*
|
||||
* @deprecated Instead use setDebugId
|
||||
*
|
||||
* @param string $debug_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setDebug_id($debug_id)
|
||||
{
|
||||
$this->debug_id = $debug_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* PayPal internal identifier used for correlation purposes.
|
||||
* @deprecated Instead use getDebugId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDebug_id()
|
||||
{
|
||||
return $this->debug_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Message describing the error.
|
||||
*
|
||||
@@ -137,31 +112,6 @@ class Error extends PayPalModel
|
||||
return $this->information_link;
|
||||
}
|
||||
|
||||
/**
|
||||
* URI for detailed information related to this error for the developer.
|
||||
*
|
||||
* @deprecated Instead use setInformationLink
|
||||
*
|
||||
* @param string $information_link
|
||||
* @return $this
|
||||
*/
|
||||
public function setInformation_link($information_link)
|
||||
{
|
||||
$this->information_link = $information_link;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* URI for detailed information related to this error for the developer.
|
||||
* @deprecated Instead use getInformationLink
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getInformation_link()
|
||||
{
|
||||
return $this->information_link;
|
||||
}
|
||||
|
||||
/**
|
||||
* Additional details of the error
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user