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:
@@ -45,31 +45,6 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->outstanding_balance;
|
||||
}
|
||||
|
||||
/**
|
||||
* The outstanding balance for this agreement.
|
||||
*
|
||||
* @deprecated Instead use setOutstandingBalance
|
||||
*
|
||||
* @param \PayPal\Api\Currency $outstanding_balance
|
||||
* @return $this
|
||||
*/
|
||||
public function setOutstanding_balance($outstanding_balance)
|
||||
{
|
||||
$this->outstanding_balance = $outstanding_balance;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The outstanding balance for this agreement.
|
||||
* @deprecated Instead use getOutstandingBalance
|
||||
*
|
||||
* @return \PayPal\Api\Currency
|
||||
*/
|
||||
public function getOutstanding_balance()
|
||||
{
|
||||
return $this->outstanding_balance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of cycles remaining for this agreement.
|
||||
*
|
||||
@@ -93,31 +68,6 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->cycles_remaining;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of cycles remaining for this agreement.
|
||||
*
|
||||
* @deprecated Instead use setCyclesRemaining
|
||||
*
|
||||
* @param string $cycles_remaining
|
||||
* @return $this
|
||||
*/
|
||||
public function setCycles_remaining($cycles_remaining)
|
||||
{
|
||||
$this->cycles_remaining = $cycles_remaining;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of cycles remaining for this agreement.
|
||||
* @deprecated Instead use getCyclesRemaining
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCycles_remaining()
|
||||
{
|
||||
return $this->cycles_remaining;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of cycles completed for this agreement.
|
||||
*
|
||||
@@ -141,31 +91,6 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->cycles_completed;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of cycles completed for this agreement.
|
||||
*
|
||||
* @deprecated Instead use setCyclesCompleted
|
||||
*
|
||||
* @param string $cycles_completed
|
||||
* @return $this
|
||||
*/
|
||||
public function setCycles_completed($cycles_completed)
|
||||
{
|
||||
$this->cycles_completed = $cycles_completed;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of cycles completed for this agreement.
|
||||
* @deprecated Instead use getCyclesCompleted
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCycles_completed()
|
||||
{
|
||||
return $this->cycles_completed;
|
||||
}
|
||||
|
||||
/**
|
||||
* The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
|
||||
*
|
||||
@@ -189,31 +114,6 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->next_billing_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
|
||||
*
|
||||
* @deprecated Instead use setNextBillingDate
|
||||
*
|
||||
* @param string $next_billing_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setNext_billing_date($next_billing_date)
|
||||
{
|
||||
$this->next_billing_date = $next_billing_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The next billing date for this agreement, represented as 2014-02-19T10:00:00Z format.
|
||||
* @deprecated Instead use getNextBillingDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNext_billing_date()
|
||||
{
|
||||
return $this->next_billing_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
|
||||
*
|
||||
@@ -237,31 +137,6 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->last_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
|
||||
*
|
||||
* @deprecated Instead use setLastPaymentDate
|
||||
*
|
||||
* @param string $last_payment_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setLast_payment_date($last_payment_date)
|
||||
{
|
||||
$this->last_payment_date = $last_payment_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment date for this agreement, represented as 2014-06-09T09:42:31Z format.
|
||||
* @deprecated Instead use getLastPaymentDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLast_payment_date()
|
||||
{
|
||||
return $this->last_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment amount for this agreement.
|
||||
*
|
||||
@@ -285,31 +160,6 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->last_payment_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment amount for this agreement.
|
||||
*
|
||||
* @deprecated Instead use setLastPaymentAmount
|
||||
*
|
||||
* @param \PayPal\Api\Currency $last_payment_amount
|
||||
* @return $this
|
||||
*/
|
||||
public function setLast_payment_amount($last_payment_amount)
|
||||
{
|
||||
$this->last_payment_amount = $last_payment_amount;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment amount for this agreement.
|
||||
* @deprecated Instead use getLastPaymentAmount
|
||||
*
|
||||
* @return \PayPal\Api\Currency
|
||||
*/
|
||||
public function getLast_payment_amount()
|
||||
{
|
||||
return $this->last_payment_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
|
||||
*
|
||||
@@ -333,31 +183,6 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->final_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
|
||||
*
|
||||
* @deprecated Instead use setFinalPaymentDate
|
||||
*
|
||||
* @param string $final_payment_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setFinal_payment_date($final_payment_date)
|
||||
{
|
||||
$this->final_payment_date = $final_payment_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Last payment date for this agreement, represented as 2015-02-19T10:00:00Z format.
|
||||
* @deprecated Instead use getFinalPaymentDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFinal_payment_date()
|
||||
{
|
||||
return $this->final_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of failed payments for this agreement.
|
||||
*
|
||||
@@ -381,29 +206,4 @@ class AgreementDetails extends PayPalModel
|
||||
return $this->failed_payment_count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of failed payments for this agreement.
|
||||
*
|
||||
* @deprecated Instead use setFailedPaymentCount
|
||||
*
|
||||
* @param string $failed_payment_count
|
||||
* @return $this
|
||||
*/
|
||||
public function setFailed_payment_count($failed_payment_count)
|
||||
{
|
||||
$this->failed_payment_count = $failed_payment_count;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total number of failed payments for this agreement.
|
||||
* @deprecated Instead use getFailedPaymentCount
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFailed_payment_count()
|
||||
{
|
||||
return $this->failed_payment_count;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user