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:
@@ -40,31 +40,6 @@ class PayoutSenderBatchHeader extends PayPalModel
|
||||
return $this->sender_batch_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sender-created ID for tracking the batch payout 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 payout in an accounting system. 30 characters max.
|
||||
* @deprecated Instead use getSenderBatchId
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSender_batch_id()
|
||||
{
|
||||
return $this->sender_batch_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* The subject line text for the email that PayPal sends when a payout item is completed. (The subject line is the same for all recipients.) Maximum of 255 single-byte alphanumeric characters.
|
||||
*
|
||||
@@ -88,31 +63,6 @@ class PayoutSenderBatchHeader extends PayPalModel
|
||||
return $this->email_subject;
|
||||
}
|
||||
|
||||
/**
|
||||
* The subject line text for the email that PayPal sends when a payout item is completed. (The subject line is the same for all recipients.) Maximum of 255 single-byte alphanumeric characters.
|
||||
*
|
||||
* @deprecated Instead use setEmailSubject
|
||||
*
|
||||
* @param string $email_subject
|
||||
* @return $this
|
||||
*/
|
||||
public function setEmail_subject($email_subject)
|
||||
{
|
||||
$this->email_subject = $email_subject;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The subject line text for the email that PayPal sends when a payout item is completed. (The subject line is the same for all recipients.) Maximum of 255 single-byte alphanumeric characters.
|
||||
* @deprecated Instead use getEmailSubject
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getEmail_subject()
|
||||
{
|
||||
return $this->email_subject;
|
||||
}
|
||||
|
||||
/**
|
||||
* The type of ID for a 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`.
|
||||
*
|
||||
@@ -136,29 +86,4 @@ class PayoutSenderBatchHeader extends PayPalModel
|
||||
return $this->recipient_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* The type of ID for a 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 ID for a 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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user