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

@@ -19,7 +19,7 @@ use PayPal\Transport\PayPalRestCall;
* @property string type
* @property int expire_month
* @property int expire_year
* @property int cvv2
* @property string cvv2
* @property string first_name
* @property string last_name
* @property \PayPal\Api\Address billing_address
@@ -149,7 +149,7 @@ class CreditCard extends PayPalResourceModel
/**
* Card validation code. Only supported when making a Payment but not when saving a credit card for future use.
*
* @param int $cvv2
* @param string $cvv2
*
* @return $this
*/
@@ -162,7 +162,7 @@ class CreditCard extends PayPalResourceModel
/**
* Card validation code. Only supported when making a Payment but not when saving a credit card for future use.
*
* @return int
* @return string
*/
public function getCvv2()
{
@@ -312,7 +312,7 @@ class CreditCard extends PayPalResourceModel
* Time the resource was created in UTC ISO8601 format.
*
* @param string $create_time
*
*
* @return $this
*/
public function setCreateTime($create_time)
@@ -335,7 +335,7 @@ class CreditCard extends PayPalResourceModel
* Time the resource was created in UTC ISO8601 format.
*
* @param string $update_time
*
*
* @return $this
*/
public function setUpdateTime($update_time)