Updated Payment APIs

- Updated SDK Models to latest Payment APIs
- Updated Unit Tests
This commit is contained in:
Jay Patel
2015-02-26 15:03:59 -06:00
parent 241d80cd17
commit 3e43f93f9b
93 changed files with 6079 additions and 1735 deletions

View File

@@ -0,0 +1,65 @@
<?php
namespace PayPal\Api;
use PayPal\Common\PayPalModel;
/**
* Class FundingDetail
*
* Additional detail of the funding.
*
* @package PayPal\Api
*
* @property string clearing_time
* @property string payment_hold_date
*/
class FundingDetail extends PayPalModel
{
/**
* Expected clearing time
*
* @param string $clearing_time
*
* @return $this
*/
public function setClearingTime($clearing_time)
{
$this->clearing_time = $clearing_time;
return $this;
}
/**
* Expected clearing time
*
* @return string
*/
public function getClearingTime()
{
return $this->clearing_time;
}
/**
* Hold-off duration of the payment
*
* @param string $payment_hold_date
*
* @return $this
*/
public function setPaymentHoldDate($payment_hold_date)
{
$this->payment_hold_date = $payment_hold_date;
return $this;
}
/**
* Hold-off duration of the payment
*
* @return string
*/
public function getPaymentHoldDate()
{
return $this->payment_hold_date;
}
}