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:
@@ -46,31 +46,6 @@ class PayoutBatchHeader 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated batch status.
|
||||
*
|
||||
@@ -94,31 +69,6 @@ class PayoutBatchHeader extends PayPalModel
|
||||
return $this->batch_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated batch status.
|
||||
*
|
||||
* @deprecated Instead use setBatchStatus
|
||||
*
|
||||
* @param string $batch_status
|
||||
* @return $this
|
||||
*/
|
||||
public function setBatch_status($batch_status)
|
||||
{
|
||||
$this->batch_status = $batch_status;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generated batch status.
|
||||
* @deprecated Instead use getBatchStatus
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBatch_status()
|
||||
{
|
||||
return $this->batch_status;
|
||||
}
|
||||
|
||||
/**
|
||||
* The time the batch entered processing.
|
||||
*
|
||||
@@ -142,31 +92,6 @@ class PayoutBatchHeader extends PayPalModel
|
||||
return $this->time_created;
|
||||
}
|
||||
|
||||
/**
|
||||
* The time the batch entered processing.
|
||||
*
|
||||
* @deprecated Instead use setTimeCreated
|
||||
*
|
||||
* @param string $time_created
|
||||
* @return $this
|
||||
*/
|
||||
public function setTime_created($time_created)
|
||||
{
|
||||
$this->time_created = $time_created;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The time the batch entered processing.
|
||||
* @deprecated Instead use getTimeCreated
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTime_created()
|
||||
{
|
||||
return $this->time_created;
|
||||
}
|
||||
|
||||
/**
|
||||
* The time that processing for the batch was completed.
|
||||
*
|
||||
@@ -190,31 +115,6 @@ class PayoutBatchHeader extends PayPalModel
|
||||
return $this->time_completed;
|
||||
}
|
||||
|
||||
/**
|
||||
* The time that processing for the batch was completed.
|
||||
*
|
||||
* @deprecated Instead use setTimeCompleted
|
||||
*
|
||||
* @param string $time_completed
|
||||
* @return $this
|
||||
*/
|
||||
public function setTime_completed($time_completed)
|
||||
{
|
||||
$this->time_completed = $time_completed;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The time that processing for the batch was completed.
|
||||
* @deprecated Instead use getTimeCompleted
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTime_completed()
|
||||
{
|
||||
return $this->time_completed;
|
||||
}
|
||||
|
||||
/**
|
||||
* The original batch header as provided by the payment sender.
|
||||
*
|
||||
@@ -238,31 +138,6 @@ class PayoutBatchHeader extends PayPalModel
|
||||
return $this->sender_batch_header;
|
||||
}
|
||||
|
||||
/**
|
||||
* The original batch header as provided by the payment sender.
|
||||
*
|
||||
* @deprecated Instead use setSenderBatchHeader
|
||||
*
|
||||
* @param \PayPal\Api\PayoutSenderBatchHeader $sender_batch_header
|
||||
* @return $this
|
||||
*/
|
||||
public function setSender_batch_header($sender_batch_header)
|
||||
{
|
||||
$this->sender_batch_header = $sender_batch_header;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The original batch header as provided by the payment sender.
|
||||
* @deprecated Instead use getSenderBatchHeader
|
||||
*
|
||||
* @return \PayPal\Api\PayoutSenderBatchHeader
|
||||
*/
|
||||
public function getSender_batch_header()
|
||||
{
|
||||
return $this->sender_batch_header;
|
||||
}
|
||||
|
||||
/**
|
||||
* Total amount, in U.S. dollars, requested for the applicable payouts.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user