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:
@@ -94,31 +94,6 @@ class PlanList extends PayPalModel
|
||||
return $this->total_items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of items.
|
||||
*
|
||||
* @deprecated Instead use setTotalItems
|
||||
*
|
||||
* @param string $total_items
|
||||
* @return $this
|
||||
*/
|
||||
public function setTotal_items($total_items)
|
||||
{
|
||||
$this->total_items = $total_items;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of items.
|
||||
* @deprecated Instead use getTotalItems
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTotal_items()
|
||||
{
|
||||
return $this->total_items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of pages.
|
||||
*
|
||||
@@ -142,31 +117,6 @@ class PlanList extends PayPalModel
|
||||
return $this->total_pages;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of pages.
|
||||
*
|
||||
* @deprecated Instead use setTotalPages
|
||||
*
|
||||
* @param string $total_pages
|
||||
* @return $this
|
||||
*/
|
||||
public function setTotal_pages($total_pages)
|
||||
{
|
||||
$this->total_pages = $total_pages;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of pages.
|
||||
* @deprecated Instead use getTotalPages
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTotal_pages()
|
||||
{
|
||||
return $this->total_pages;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets Links
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user