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

@@ -120,31 +120,6 @@ class CartBase extends PayPalModel
return $this->note_to_payee;
}
/**
* Note to the recipient of the funds in this transaction.
*
* @deprecated Instead use setNoteToPayee
*
* @param string $note_to_payee
* @return $this
*/
public function setNote_to_payee($note_to_payee)
{
$this->note_to_payee = $note_to_payee;
return $this;
}
/**
* Note to the recipient of the funds in this transaction.
* @deprecated Instead use getNoteToPayee
*
* @return string
*/
public function getNote_to_payee()
{
return $this->note_to_payee;
}
/**
* free-form field for the use of clients
*
@@ -193,31 +168,6 @@ class CartBase extends PayPalModel
return $this->invoice_number;
}
/**
* invoice number to track this payment
*
* @deprecated Instead use setInvoiceNumber
*
* @param string $invoice_number
* @return $this
*/
public function setInvoice_number($invoice_number)
{
$this->invoice_number = $invoice_number;
return $this;
}
/**
* invoice number to track this payment
* @deprecated Instead use getInvoiceNumber
*
* @return string
*/
public function getInvoice_number()
{
return $this->invoice_number;
}
/**
* Soft descriptor used when charging this funding source.
*
@@ -242,31 +192,6 @@ class CartBase extends PayPalModel
return $this->soft_descriptor;
}
/**
* Soft descriptor used when charging this funding source.
*
* @deprecated Instead use setSoftDescriptor
*
* @param string $soft_descriptor
* @return $this
*/
public function setSoft_descriptor($soft_descriptor)
{
$this->soft_descriptor = $soft_descriptor;
return $this;
}
/**
* Soft descriptor used when charging this funding source.
* @deprecated Instead use getSoftDescriptor
*
* @return string
*/
public function getSoft_descriptor()
{
return $this->soft_descriptor;
}
/**
* Payment options requested for this purchase unit
*
@@ -291,31 +216,6 @@ class CartBase extends PayPalModel
return $this->payment_options;
}
/**
* Payment options requested for this purchase unit
*
* @deprecated Instead use setPaymentOptions
*
* @param \PayPal\Api\PaymentOptions $payment_options
* @return $this
*/
public function setPayment_options($payment_options)
{
$this->payment_options = $payment_options;
return $this;
}
/**
* Payment options requested for this purchase unit
* @deprecated Instead use getPaymentOptions
*
* @return \PayPal\Api\PaymentOptions
*/
public function getPayment_options()
{
return $this->payment_options;
}
/**
* List of items being paid for.
*
@@ -340,29 +240,4 @@ class CartBase extends PayPalModel
return $this->item_list;
}
/**
* List of items being paid for.
*
* @deprecated Instead use setItemList
*
* @param \PayPal\Api\ItemList $item_list
* @return $this
*/
public function setItem_list($item_list)
{
$this->item_list = $item_list;
return $this;
}
/**
* List of items being paid for.
* @deprecated Instead use getItemList
*
* @return \PayPal\Api\ItemList
*/
public function getItem_list()
{
return $this->item_list;
}
}