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:
@@ -40,29 +40,4 @@ class PaymentOptions extends PayPalModel
|
||||
return $this->allowed_payment_method;
|
||||
}
|
||||
|
||||
/**
|
||||
* Payment method requested for this purchase unit
|
||||
*
|
||||
* @deprecated Instead use setAllowedPaymentMethod
|
||||
*
|
||||
* @param string $allowed_payment_method
|
||||
* @return $this
|
||||
*/
|
||||
public function setAllowed_payment_method($allowed_payment_method)
|
||||
{
|
||||
$this->allowed_payment_method = $allowed_payment_method;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Payment method requested for this purchase unit
|
||||
* @deprecated Instead use getAllowedPaymentMethod
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAllowed_payment_method()
|
||||
{
|
||||
return $this->allowed_payment_method;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user