Class CardRequest
java.lang.Object
com.broadleafcommerce.paypal.micro.gateway.domain.payments.CardRequest
- All Implemented Interfaces:
Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe billing address for this card.The card expiration year and month, in Internet date and time format.getName()
The card holder's name as it appears on the card.The primary account number (PAN) for the payment card.The three- or four-digit security code of the card.Provides additional details to process a payment using a "card" that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file).The PayPal-generated ID for the saved card payment source.void
setBillingAddress
(AddressPortable billingAddress) The billing address for this card.void
The card expiration year and month, in Internet date and time format.void
The card holder's name as it appears on the card.void
The primary account number (PAN) for the payment card.void
setSecurityCode
(String securityCode) The three- or four-digit security code of the card.void
setStoredCredential
(CardStoredCredential storedCredential) Provides additional details to process a payment using a "card" that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file).void
setVaultId
(String vaultId) The PayPal-generated ID for the saved card payment source.
-
Constructor Details
-
CardRequest
public CardRequest()
-
-
Method Details
-
setBillingAddress
The billing address for this card. Supports only the "address_line_1", "address_line_2", "admin_area_1", "admin_area_2", "postal_code", and "country_code" properties. -
setExpiry
The card expiration year and month, in Internet date and time format. -
setName
The card holder's name as it appears on the card. -
setNumber
The primary account number (PAN) for the payment card. -
setSecurityCode
The three- or four-digit security code of the card. Also known as the CVV, CVC, CVN, CVE, or CID. This parameter cannot be present in the request when "payment_initiator=MERCHANT". -
setStoredCredential
Provides additional details to process a payment using a "card" that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file). Parameter compatibility:- "payment_type=ONE_TIME" is compatible only with "payment_initiator=CUSTOMER".
- "usage=FIRST" is compatible only with "payment_initiator=CUSTOMER".
- "previous_transaction_reference" or "previous_network_transaction_reference" is compatible only with "payment_initiator=MERCHANT".
- Only one of the parameters - "previous_transaction_reference" and "previous_network_transaction_reference" - can be present in the request.
-
setVaultId
The PayPal-generated ID for the saved card payment source. Typically stored on the merchant's server. -
getBillingAddress
The billing address for this card. Supports only the "address_line_1", "address_line_2", "admin_area_1", "admin_area_2", "postal_code", and "country_code" properties. -
getExpiry
The card expiration year and month, in Internet date and time format. -
getName
The card holder's name as it appears on the card. -
getNumber
The primary account number (PAN) for the payment card. -
getSecurityCode
The three- or four-digit security code of the card. Also known as the CVV, CVC, CVN, CVE, or CID. This parameter cannot be present in the request when "payment_initiator=MERCHANT". -
getStoredCredential
Provides additional details to process a payment using a "card" that has been stored or is intended to be stored (also referred to as stored_credential or card-on-file). Parameter compatibility:- "payment_type=ONE_TIME" is compatible only with "payment_initiator=CUSTOMER".
- "usage=FIRST" is compatible only with "payment_initiator=CUSTOMER".
- "previous_transaction_reference" or "previous_network_transaction_reference" is compatible only with "payment_initiator=MERCHANT".
- Only one of the parameters - "previous_transaction_reference" and "previous_network_transaction_reference" - can be present in the request.
-
getVaultId
The PayPal-generated ID for the saved card payment source. Typically stored on the merchant's server.
-