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

@@ -7,7 +7,7 @@ use PayPal\Common\PayPalModel;
/**
* Class Phone
*
* Representation of a phone number.
* Information related to the Payer. In case of PayPal Wallet payment, this information will be filled in by PayPal after the user approves the payment using their PayPal Wallet.
*
* @package PayPal\Api
*
@@ -18,7 +18,7 @@ use PayPal\Common\PayPalModel;
class Phone extends PayPalModel
{
/**
* Country code (in E.164 format). Assume length is n.
* Country code (from in E.164 format)
*
* @param string $country_code
*
@@ -31,7 +31,7 @@ class Phone extends PayPalModel
}
/**
* Country code (in E.164 format). Assume length is n.
* Country code (from in E.164 format)
*
* @return string
*/
@@ -41,7 +41,7 @@ class Phone extends PayPalModel
}
/**
* In-country phone number (in E.164 format). Maximum (15 - n) digits.
* In-country phone number (from in E.164 format)
*
* @param string $national_number
*
@@ -54,7 +54,7 @@ class Phone extends PayPalModel
}
/**
* In-country phone number (in E.164 format). Maximum (15 - n) digits.
* In-country phone number (from in E.164 format)
*
* @return string
*/
@@ -66,9 +66,8 @@ class Phone extends PayPalModel
/**
* Phone extension
*
*
* @param string $extension
*
*
* @return $this
*/
public function setExtension($extension)