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:
japatel
2015-01-08 22:23:58 -06:00
parent ed2a4fd41e
commit b011d17cde
150 changed files with 47 additions and 10994 deletions

View File

@@ -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;
}
}