forked from LiveCarta/PayPal-PHP-SDK
Payments API Updates
This commit is contained in:
@@ -13,6 +13,8 @@ use PayPal\Common\PayPalModel;
|
||||
*
|
||||
* @property string clearing_time
|
||||
* @property string payment_hold_date
|
||||
* @property string payment_debit_date
|
||||
* @property string processing_type
|
||||
*/
|
||||
class FundingDetail extends PayPalModel
|
||||
{
|
||||
@@ -20,7 +22,7 @@ class FundingDetail extends PayPalModel
|
||||
* Expected clearing time
|
||||
*
|
||||
* @param string $clearing_time
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setClearingTime($clearing_time)
|
||||
@@ -40,10 +42,10 @@ class FundingDetail extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Hold-off duration of the payment
|
||||
* [DEPRECATED] Hold-off duration of the payment. payment_debit_date should be used instead.
|
||||
*
|
||||
* @param string $payment_hold_date
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPaymentHoldDate($payment_hold_date)
|
||||
@@ -53,7 +55,7 @@ class FundingDetail extends PayPalModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Hold-off duration of the payment
|
||||
* @deprecated [DEPRECATED] Hold-off duration of the payment. payment_debit_date should be used instead.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -62,4 +64,51 @@ class FundingDetail extends PayPalModel
|
||||
return $this->payment_hold_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Date when funds will be debited from the payer's account
|
||||
*
|
||||
* @param string $payment_debit_date
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPaymentDebitDate($payment_debit_date)
|
||||
{
|
||||
$this->payment_debit_date = $payment_debit_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Date when funds will be debited from the payer's account
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPaymentDebitDate()
|
||||
{
|
||||
return $this->payment_debit_date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Processing type of the payment card
|
||||
* Valid Values: ["PINLESS_DEBIT"]
|
||||
*
|
||||
* @param string $processing_type
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setProcessingType($processing_type)
|
||||
{
|
||||
$this->processing_type = $processing_type;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Processing type of the payment card
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getProcessingType()
|
||||
{
|
||||
return $this->processing_type;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user