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:
@@ -114,31 +114,6 @@ class PaymentDefinition extends PayPalModel
|
||||
return $this->frequency_interval;
|
||||
}
|
||||
|
||||
/**
|
||||
* How frequently the customer should be charged.
|
||||
*
|
||||
* @deprecated Instead use setFrequencyInterval
|
||||
*
|
||||
* @param string $frequency_interval
|
||||
* @return $this
|
||||
*/
|
||||
public function setFrequency_interval($frequency_interval)
|
||||
{
|
||||
$this->frequency_interval = $frequency_interval;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* How frequently the customer should be charged.
|
||||
* @deprecated Instead use getFrequencyInterval
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFrequency_interval()
|
||||
{
|
||||
return $this->frequency_interval;
|
||||
}
|
||||
|
||||
/**
|
||||
* Frequency of the payment definition offered. Allowed values: `WEEK`, `DAY`, `YEAR`, `MONTH`.
|
||||
*
|
||||
@@ -261,29 +236,4 @@ class PaymentDefinition extends PayPalModel
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of charge_models for this payment definition.
|
||||
*
|
||||
* @deprecated Instead use setChargeModels
|
||||
*
|
||||
* @param \PayPal\Api\ChargeModel $charge_models
|
||||
* @return $this
|
||||
*/
|
||||
public function setCharge_models($charge_models)
|
||||
{
|
||||
$this->charge_models = $charge_models;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of charge_models for this payment definition.
|
||||
* @deprecated Instead use getChargeModels
|
||||
*
|
||||
* @return \PayPal\Api\ChargeModel
|
||||
*/
|
||||
public function getCharge_models()
|
||||
{
|
||||
return $this->charge_models;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user