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:
@@ -79,31 +79,6 @@ class Search extends PayPalModel
|
||||
return $this->recipient_first_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's first name.
|
||||
*
|
||||
* @deprecated Instead use setRecipientFirstName
|
||||
*
|
||||
* @param string $recipient_first_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecipient_first_name($recipient_first_name)
|
||||
{
|
||||
$this->recipient_first_name = $recipient_first_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's first name.
|
||||
* @deprecated Instead use getRecipientFirstName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRecipient_first_name()
|
||||
{
|
||||
return $this->recipient_first_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's last name.
|
||||
*
|
||||
@@ -127,31 +102,6 @@ class Search extends PayPalModel
|
||||
return $this->recipient_last_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's last name.
|
||||
*
|
||||
* @deprecated Instead use setRecipientLastName
|
||||
*
|
||||
* @param string $recipient_last_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecipient_last_name($recipient_last_name)
|
||||
{
|
||||
$this->recipient_last_name = $recipient_last_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's last name.
|
||||
* @deprecated Instead use getRecipientLastName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRecipient_last_name()
|
||||
{
|
||||
return $this->recipient_last_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's business name.
|
||||
*
|
||||
@@ -175,31 +125,6 @@ class Search extends PayPalModel
|
||||
return $this->recipient_business_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's business name.
|
||||
*
|
||||
* @deprecated Instead use setRecipientBusinessName
|
||||
*
|
||||
* @param string $recipient_business_name
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecipient_business_name($recipient_business_name)
|
||||
{
|
||||
$this->recipient_business_name = $recipient_business_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initial letters of the recipient's business name.
|
||||
* @deprecated Instead use getRecipientBusinessName
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRecipient_business_name()
|
||||
{
|
||||
return $this->recipient_business_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* The invoice number that appears on the invoice.
|
||||
*
|
||||
@@ -270,31 +195,6 @@ class Search extends PayPalModel
|
||||
return $this->lower_total_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lower limit of total amount.
|
||||
*
|
||||
* @deprecated Instead use setLowerTotalAmount
|
||||
*
|
||||
* @param \PayPal\Api\Currency $lower_total_amount
|
||||
* @return $this
|
||||
*/
|
||||
public function setLower_total_amount($lower_total_amount)
|
||||
{
|
||||
$this->lower_total_amount = $lower_total_amount;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lower limit of total amount.
|
||||
* @deprecated Instead use getLowerTotalAmount
|
||||
*
|
||||
* @return \PayPal\Api\Currency
|
||||
*/
|
||||
public function getLower_total_amount()
|
||||
{
|
||||
return $this->lower_total_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Upper limit of total amount.
|
||||
*
|
||||
@@ -318,31 +218,6 @@ class Search extends PayPalModel
|
||||
return $this->upper_total_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Upper limit of total amount.
|
||||
*
|
||||
* @deprecated Instead use setUpperTotalAmount
|
||||
*
|
||||
* @param \PayPal\Api\Currency $upper_total_amount
|
||||
* @return $this
|
||||
*/
|
||||
public function setUpper_total_amount($upper_total_amount)
|
||||
{
|
||||
$this->upper_total_amount = $upper_total_amount;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Upper limit of total amount.
|
||||
* @deprecated Instead use getUpperTotalAmount
|
||||
*
|
||||
* @return \PayPal\Api\Currency
|
||||
*/
|
||||
public function getUpper_total_amount()
|
||||
{
|
||||
return $this->upper_total_amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -366,31 +241,6 @@ class Search extends PayPalModel
|
||||
return $this->start_invoice_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setStartInvoiceDate
|
||||
*
|
||||
* @param string $start_invoice_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setStart_invoice_date($start_invoice_date)
|
||||
{
|
||||
$this->start_invoice_date = $start_invoice_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getStartInvoiceDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStart_invoice_date()
|
||||
{
|
||||
return $this->start_invoice_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -414,31 +264,6 @@ class Search extends PayPalModel
|
||||
return $this->end_invoice_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setEndInvoiceDate
|
||||
*
|
||||
* @param string $end_invoice_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setEnd_invoice_date($end_invoice_date)
|
||||
{
|
||||
$this->end_invoice_date = $end_invoice_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getEndInvoiceDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEnd_invoice_date()
|
||||
{
|
||||
return $this->end_invoice_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -462,31 +287,6 @@ class Search extends PayPalModel
|
||||
return $this->start_due_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setStartDueDate
|
||||
*
|
||||
* @param string $start_due_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setStart_due_date($start_due_date)
|
||||
{
|
||||
$this->start_due_date = $start_due_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getStartDueDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStart_due_date()
|
||||
{
|
||||
return $this->start_due_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -510,31 +310,6 @@ class Search extends PayPalModel
|
||||
return $this->end_due_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setEndDueDate
|
||||
*
|
||||
* @param string $end_due_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setEnd_due_date($end_due_date)
|
||||
{
|
||||
$this->end_due_date = $end_due_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice due date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getEndDueDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEnd_due_date()
|
||||
{
|
||||
return $this->end_due_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -558,31 +333,6 @@ class Search extends PayPalModel
|
||||
return $this->start_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setStartPaymentDate
|
||||
*
|
||||
* @param string $start_payment_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setStart_payment_date($start_payment_date)
|
||||
{
|
||||
$this->start_payment_date = $start_payment_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getStartPaymentDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStart_payment_date()
|
||||
{
|
||||
return $this->start_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -606,31 +356,6 @@ class Search extends PayPalModel
|
||||
return $this->end_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setEndPaymentDate
|
||||
*
|
||||
* @param string $end_payment_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setEnd_payment_date($end_payment_date)
|
||||
{
|
||||
$this->end_payment_date = $end_payment_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice payment date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getEndPaymentDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEnd_payment_date()
|
||||
{
|
||||
return $this->end_payment_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -654,31 +379,6 @@ class Search extends PayPalModel
|
||||
return $this->start_creation_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setStartCreationDate
|
||||
*
|
||||
* @param string $start_creation_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setStart_creation_date($start_creation_date)
|
||||
{
|
||||
$this->start_creation_date = $start_creation_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getStartCreationDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStart_creation_date()
|
||||
{
|
||||
return $this->start_creation_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
@@ -702,31 +402,6 @@ class Search extends PayPalModel
|
||||
return $this->end_creation_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
*
|
||||
* @deprecated Instead use setEndCreationDate
|
||||
*
|
||||
* @param string $end_creation_date
|
||||
* @return $this
|
||||
*/
|
||||
public function setEnd_creation_date($end_creation_date)
|
||||
{
|
||||
$this->end_creation_date = $end_creation_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* End invoice creation date. Date format yyyy-MM-dd z, as defined in [ISO8601](http://tools.ietf.org/html/rfc3339#section-5.6).
|
||||
* @deprecated Instead use getEndCreationDate
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEnd_creation_date()
|
||||
{
|
||||
return $this->end_creation_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Offset of the search results.
|
||||
*
|
||||
@@ -773,31 +448,6 @@ class Search extends PayPalModel
|
||||
return $this->page_size;
|
||||
}
|
||||
|
||||
/**
|
||||
* Page size of the search results.
|
||||
*
|
||||
* @deprecated Instead use setPageSize
|
||||
*
|
||||
* @param \PayPal\Api\number $page_size
|
||||
* @return $this
|
||||
*/
|
||||
public function setPage_size($page_size)
|
||||
{
|
||||
$this->page_size = $page_size;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Page size of the search results.
|
||||
* @deprecated Instead use getPageSize
|
||||
*
|
||||
* @return \PayPal\Api\number
|
||||
*/
|
||||
public function getPage_size()
|
||||
{
|
||||
return $this->page_size;
|
||||
}
|
||||
|
||||
/**
|
||||
* A flag indicating whether total count is required in the response.
|
||||
*
|
||||
@@ -821,29 +471,4 @@ class Search extends PayPalModel
|
||||
return $this->total_count_required;
|
||||
}
|
||||
|
||||
/**
|
||||
* A flag indicating whether total count is required in the response.
|
||||
*
|
||||
* @deprecated Instead use setTotalCountRequired
|
||||
*
|
||||
* @param bool $total_count_required
|
||||
* @return $this
|
||||
*/
|
||||
public function setTotal_count_required($total_count_required)
|
||||
{
|
||||
$this->total_count_required = $total_count_required;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A flag indicating whether total count is required in the response.
|
||||
* @deprecated Instead use getTotalCountRequired
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getTotal_count_required()
|
||||
{
|
||||
return $this->total_count_required;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user