forked from LiveCarta/PayPal-PHP-SDK
Update payments API to v1.9
This commit is contained in:
committed by
jaypatel512 and sdcoffey
parent
7c5ea8b997
commit
c2947ff409
@@ -15,8 +15,8 @@ use PayPal\Common\PayPalModel;
|
||||
* @property string payer_id
|
||||
* @property string last4
|
||||
* @property string type
|
||||
* @property int expire_month
|
||||
* @property int expire_year
|
||||
* @property int expire_month
|
||||
* @property int expire_year
|
||||
*/
|
||||
class CreditCardToken extends PayPalModel
|
||||
{
|
||||
@@ -24,7 +24,7 @@ class CreditCardToken extends PayPalModel
|
||||
* ID of credit card previously stored using `/vault/credit-card`.
|
||||
*
|
||||
* @param string $credit_card_id
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setCreditCardId($credit_card_id)
|
||||
@@ -47,7 +47,7 @@ class CreditCardToken extends PayPalModel
|
||||
* A unique identifier that you can assign and track when storing a credit card or using a stored credit card. This ID can help to avoid unintentional use or misuse of credit cards. This ID can be any value you would like to associate with the saved card, such as a UUID, username, or email address. **Required when using a stored credit card if a payer_id was originally provided when storing the credit card in vault.**
|
||||
*
|
||||
* @param string $payer_id
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPayerId($payer_id)
|
||||
@@ -70,7 +70,7 @@ class CreditCardToken extends PayPalModel
|
||||
* Last four digits of the stored credit card number.
|
||||
*
|
||||
* @param string $last4
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setLast4($last4)
|
||||
@@ -93,7 +93,7 @@ class CreditCardToken extends PayPalModel
|
||||
* Credit card type. Valid types are: `visa`, `mastercard`, `discover`, `amex`. Values are presented in lowercase and not should not be used for display.
|
||||
*
|
||||
* @param string $type
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setType($type)
|
||||
@@ -116,7 +116,7 @@ class CreditCardToken extends PayPalModel
|
||||
* Expiration month with no leading zero. Acceptable values are 1 through 12.
|
||||
*
|
||||
* @param int $expire_month
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setExpireMonth($expire_month)
|
||||
@@ -139,7 +139,7 @@ class CreditCardToken extends PayPalModel
|
||||
* 4-digit expiration year.
|
||||
*
|
||||
* @param int $expire_year
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setExpireYear($expire_year)
|
||||
|
||||
Reference in New Issue
Block a user