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 PayoutItem extends PayPalResourceModel
|
||||
return $this->recipient_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* The type of identification for the payment receiver. If this field is provided, the payout items without a `recipient_type` will use the provided value. If this field is not provided, each payout item must include a value for the `recipient_type`.
|
||||
*
|
||||
* @deprecated Instead use setRecipientType
|
||||
*
|
||||
* @param string $recipient_type
|
||||
* @return $this
|
||||
*/
|
||||
public function setRecipient_type($recipient_type)
|
||||
{
|
||||
$this->recipient_type = $recipient_type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The type of identification for the payment receiver. If this field is provided, the payout items without a `recipient_type` will use the provided value. If this field is not provided, each payout item must include a value for the `recipient_type`.
|
||||
* @deprecated Instead use getRecipientType
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRecipient_type()
|
||||
{
|
||||
return $this->recipient_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* The amount of money to pay a receiver.
|
||||
*
|
||||
@@ -162,31 +137,6 @@ class PayoutItem extends PayPalResourceModel
|
||||
return $this->sender_item_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* A sender-specific ID number, used in an accounting system for tracking purposes. 30 characters max.
|
||||
*
|
||||
* @deprecated Instead use setSenderItemId
|
||||
*
|
||||
* @param string $sender_item_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setSender_item_id($sender_item_id)
|
||||
{
|
||||
$this->sender_item_id = $sender_item_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A sender-specific ID number, used in an accounting system for tracking purposes. 30 characters max.
|
||||
* @deprecated Instead use getSenderItemId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSender_item_id()
|
||||
{
|
||||
return $this->sender_item_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Obtain the status of a payout item by passing the item ID to the request URI.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user