Class CreditCardToken
Class CreditCardToken
A resource representing a credit card that can be used to fund a payment.
- PayPal\Common\PayPalModel
- PayPal\Api\CreditCardToken
Methods summary
public
|
#
setCreditCardId( string $credit_card_id )
ID of credit card previously stored using |
public
string
|
|
public
|
#
setPayerId( string $payer_id )
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. |
public
string
|
#
getPayerId( )
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. |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setExpireMonth( integer $expire_month )
Expiration month with no leading zero. Acceptable values are 1 through 12. |
public
integer
|
|
public
|
|
public
integer
|
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()