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:
@@ -113,31 +113,6 @@ class InvoiceItem extends PayPalModel
|
||||
return $this->unit_price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unit price of the item. Range of -999999.99 to 999999.99.
|
||||
*
|
||||
* @deprecated Instead use setUnitPrice
|
||||
*
|
||||
* @param \PayPal\Api\Currency $unit_price
|
||||
* @return $this
|
||||
*/
|
||||
public function setUnit_price($unit_price)
|
||||
{
|
||||
$this->unit_price = $unit_price;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unit price of the item. Range of -999999.99 to 999999.99.
|
||||
* @deprecated Instead use getUnitPrice
|
||||
*
|
||||
* @return \PayPal\Api\Currency
|
||||
*/
|
||||
public function getUnit_price()
|
||||
{
|
||||
return $this->unit_price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tax associated with the item.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user