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

@@ -47,31 +47,6 @@ class PayoutItemDetails extends PayPalModel
return $this->payout_item_id;
}
/**
* An ID for an individual payout. Provided by PayPal, such as in the case of getting the status of a batch request. 30 characters max.
*
* @deprecated Instead use setPayoutItemId
*
* @param string $payout_item_id
* @return $this
*/
public function setPayout_item_id($payout_item_id)
{
$this->payout_item_id = $payout_item_id;
return $this;
}
/**
* An ID for an individual payout. Provided by PayPal, such as in the case of getting the status of a batch request. 30 characters max.
* @deprecated Instead use getPayoutItemId
*
* @return string
*/
public function getPayout_item_id()
{
return $this->payout_item_id;
}
/**
* Generated ID for the transaction. 30 characters max.
*
@@ -95,31 +70,6 @@ class PayoutItemDetails extends PayPalModel
return $this->transaction_id;
}
/**
* Generated ID for the transaction. 30 characters max.
*
* @deprecated Instead use setTransactionId
*
* @param string $transaction_id
* @return $this
*/
public function setTransaction_id($transaction_id)
{
$this->transaction_id = $transaction_id;
return $this;
}
/**
* Generated ID for the transaction. 30 characters max.
* @deprecated Instead use getTransactionId
*
* @return string
*/
public function getTransaction_id()
{
return $this->transaction_id;
}
/**
* Status of a transaction.
*
@@ -143,31 +93,6 @@ class PayoutItemDetails extends PayPalModel
return $this->transaction_status;
}
/**
* Status of a transaction.
*
* @deprecated Instead use setTransactionStatus
*
* @param string $transaction_status
* @return $this
*/
public function setTransaction_status($transaction_status)
{
$this->transaction_status = $transaction_status;
return $this;
}
/**
* Status of a transaction.
* @deprecated Instead use getTransactionStatus
*
* @return string
*/
public function getTransaction_status()
{
return $this->transaction_status;
}
/**
* Amount of money in U.S. dollars for fees.
*
@@ -191,31 +116,6 @@ class PayoutItemDetails extends PayPalModel
return $this->payout_item_fee;
}
/**
* Amount of money in U.S. dollars for fees.
*
* @deprecated Instead use setPayoutItemFee
*
* @param \PayPal\Api\Currency $payout_item_fee
* @return $this
*/
public function setPayout_item_fee($payout_item_fee)
{
$this->payout_item_fee = $payout_item_fee;
return $this;
}
/**
* Amount of money in U.S. dollars for fees.
* @deprecated Instead use getPayoutItemFee
*
* @return \PayPal\Api\Currency
*/
public function getPayout_item_fee()
{
return $this->payout_item_fee;
}
/**
* An ID for the batch payout. Generated by PayPal. 30 characters max.
*
@@ -239,31 +139,6 @@ class PayoutItemDetails extends PayPalModel
return $this->payout_batch_id;
}
/**
* An ID for the batch payout. Generated by PayPal. 30 characters max.
*
* @deprecated Instead use setPayoutBatchId
*
* @param string $payout_batch_id
* @return $this
*/
public function setPayout_batch_id($payout_batch_id)
{
$this->payout_batch_id = $payout_batch_id;
return $this;
}
/**
* An ID for the batch payout. Generated by PayPal. 30 characters max.
* @deprecated Instead use getPayoutBatchId
*
* @return string
*/
public function getPayout_batch_id()
{
return $this->payout_batch_id;
}
/**
* Sender-created ID for tracking the batch in an accounting system. 30 characters max.
*
@@ -287,31 +162,6 @@ class PayoutItemDetails extends PayPalModel
return $this->sender_batch_id;
}
/**
* Sender-created ID for tracking the batch in an accounting system. 30 characters max.
*
* @deprecated Instead use setSenderBatchId
*
* @param string $sender_batch_id
* @return $this
*/
public function setSender_batch_id($sender_batch_id)
{
$this->sender_batch_id = $sender_batch_id;
return $this;
}
/**
* Sender-created ID for tracking the batch in an accounting system. 30 characters max.
* @deprecated Instead use getSenderBatchId
*
* @return string
*/
public function getSender_batch_id()
{
return $this->sender_batch_id;
}
/**
* The data for a payout item that the sender initially provided.
*
@@ -335,31 +185,6 @@ class PayoutItemDetails extends PayPalModel
return $this->payout_item;
}
/**
* The data for a payout item that the sender initially provided.
*
* @deprecated Instead use setPayoutItem
*
* @param \PayPal\Api\PayoutItem $payout_item
* @return $this
*/
public function setPayout_item($payout_item)
{
$this->payout_item = $payout_item;
return $this;
}
/**
* The data for a payout item that the sender initially provided.
* @deprecated Instead use getPayoutItem
*
* @return \PayPal\Api\PayoutItem
*/
public function getPayout_item()
{
return $this->payout_item;
}
/**
* Time of the last processing for this item.
*
@@ -383,31 +208,6 @@ class PayoutItemDetails extends PayPalModel
return $this->time_processed;
}
/**
* Time of the last processing for this item.
*
* @deprecated Instead use setTimeProcessed
*
* @param string $time_processed
* @return $this
*/
public function setTime_processed($time_processed)
{
$this->time_processed = $time_processed;
return $this;
}
/**
* Time of the last processing for this item.
* @deprecated Instead use getTimeProcessed
*
* @return string
*/
public function getTime_processed()
{
return $this->time_processed;
}
/**
* Sets Error
*