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:
@@ -275,31 +275,6 @@ class Item extends PayPalModel
|
||||
return $this->supplementary_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set of optional data used for PayPal risk determination.
|
||||
*
|
||||
* @deprecated Instead use setSupplementaryData
|
||||
*
|
||||
* @param \PayPal\Api\NameValuePair $supplementary_data
|
||||
* @return $this
|
||||
*/
|
||||
public function setSupplementary_data($supplementary_data)
|
||||
{
|
||||
$this->supplementary_data = $supplementary_data;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set of optional data used for PayPal risk determination.
|
||||
* @deprecated Instead use getSupplementaryData
|
||||
*
|
||||
* @return \PayPal\Api\NameValuePair
|
||||
*/
|
||||
public function getSupplementary_data()
|
||||
{
|
||||
return $this->supplementary_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set of optional data used for PayPal post-transaction notifications.
|
||||
*
|
||||
@@ -324,29 +299,4 @@ class Item extends PayPalModel
|
||||
return $this->postback_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set of optional data used for PayPal post-transaction notifications.
|
||||
*
|
||||
* @deprecated Instead use setPostbackData
|
||||
*
|
||||
* @param \PayPal\Api\NameValuePair $postback_data
|
||||
* @return $this
|
||||
*/
|
||||
public function setPostback_data($postback_data)
|
||||
{
|
||||
$this->postback_data = $postback_data;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set of optional data used for PayPal post-transaction notifications.
|
||||
* @deprecated Instead use getPostbackData
|
||||
*
|
||||
* @return \PayPal\Api\NameValuePair
|
||||
*/
|
||||
public function getPostback_data()
|
||||
{
|
||||
return $this->postback_data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user