public class PaymentRequestCardAccount extends Object
| Constructor and Description |
|---|
PaymentRequestCardAccount() |
| Modifier and Type | Method and Description |
|---|---|
PaymentRequestCardAccount |
billingAddress(BillingAddress billingAddress) |
PaymentRequestCardAccount |
card(PaymentRequestCard card) |
PaymentRequestCardAccount |
encryptedCardData(String encryptedCardData) |
void |
setBillingAddress(BillingAddress billingAddress) |
void |
setCard(PaymentRequestCard card) |
void |
setEncryptedCardData(String encryptedCardData) |
void |
setToken(String token) |
PaymentRequestCardAccount |
token(String token) |
String |
toString() |
public void setBillingAddress(BillingAddress billingAddress)
public PaymentRequestCardAccount billingAddress(BillingAddress billingAddress)
billingAddress - Billing Addresspublic void setCard(PaymentRequestCard card)
public PaymentRequestCardAccount card(PaymentRequestCard card)
card - Represents a payment card data. Card section shouldn't be present if element 'token' was presented. Shouldn't be used in Payment Page mode. For recurring: all card elements should presented only for first recurring payment.public void setEncryptedCardData(String encryptedCardData)
public PaymentRequestCardAccount encryptedCardData(String encryptedCardData)
encryptedCardData - Encrypted card data. The field includes: pan, security_code, expiration. Only for Gateway mode.public void setToken(String token)
public PaymentRequestCardAccount token(String token)
token - Card token value used instead of card information, except 'card.security_code' (it's mandatory). For payment: see PaymentRequestPaymentData for token generation. For recurring: this attribute is valid only for first recurring payment. It isn't valid for continue recurring payments (with filing id), see RecurringRequestRecurringData for token generation.Copyright © 2022. All rights reserved.