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:
@@ -156,31 +156,6 @@ class Details extends PayPalModel
|
||||
return $this->shipping_discount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as shipping discount.
|
||||
*
|
||||
* @deprecated Instead use setShippingDiscount
|
||||
*
|
||||
* @param string $shipping_discount
|
||||
* @return $this
|
||||
*/
|
||||
public function setShipping_discount($shipping_discount)
|
||||
{
|
||||
$this->shipping_discount = $shipping_discount;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as shipping discount.
|
||||
* @deprecated Instead use getShippingDiscount
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getShipping_discount()
|
||||
{
|
||||
return $this->shipping_discount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as insurance.
|
||||
*
|
||||
@@ -233,31 +208,6 @@ class Details extends PayPalModel
|
||||
return $this->handling_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as handling fee.
|
||||
*
|
||||
* @deprecated Instead use setHandlingFee
|
||||
*
|
||||
* @param string $handling_fee
|
||||
* @return $this
|
||||
*/
|
||||
public function setHandling_fee($handling_fee)
|
||||
{
|
||||
$this->handling_fee = $handling_fee;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as handling fee.
|
||||
* @deprecated Instead use getHandlingFee
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getHandling_fee()
|
||||
{
|
||||
return $this->handling_fee;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as gift wrap fee.
|
||||
*
|
||||
@@ -283,29 +233,4 @@ class Details extends PayPalModel
|
||||
return $this->gift_wrap;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as gift wrap fee.
|
||||
*
|
||||
* @deprecated Instead use setGiftWrap
|
||||
*
|
||||
* @param string $gift_wrap
|
||||
* @return $this
|
||||
*/
|
||||
public function setGift_wrap($gift_wrap)
|
||||
{
|
||||
$this->gift_wrap = $gift_wrap;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Amount being charged as gift wrap fee.
|
||||
* @deprecated Instead use getGiftWrap
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getGift_wrap()
|
||||
{
|
||||
return $this->gift_wrap;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user