Class Card
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.domain.orders.Card
-
- All Implemented Interfaces:
Serializable
public class Card extends Object implements Serializable
The payment card to use to fund a payment. Card can be a credit or debit card.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Card()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResultgetAuthenticationResult()Results of Authentication such as 3D Secure.StringgetBrand()The card brand or network.StringgetExpiry()The card expiration year and month, in Internet date format.CardFromRequestgetFromRequest()Representation of card details as received in the request.StringgetLastDigits()The last digits of the payment card.StringgetName()The last digits of the payment card.StringgetType()The payment card type.voidsetAuthenticationResult(AuthenticationResult authenticationResult)Results of Authentication such as 3D Secure.voidsetBrand(String brand)The card brand or network.voidsetExpiry(String expiry)The card expiration year and month, in Internet date format.voidsetFromRequest(CardFromRequest fromRequest)Representation of card details as received in the request.voidsetLastDigits(String lastDigits)The last digits of the payment card.voidsetName(String name)The last digits of the payment card.voidsetType(String type)The payment card type.
-
-
-
Method Detail
-
setAuthenticationResult
public void setAuthenticationResult(AuthenticationResult authenticationResult)
Results of Authentication such as 3D Secure.
-
setBrand
public void setBrand(String brand)
The card brand or network. Typically used in the response. The possible values are:- VISA. Visa card.
- MASTERCARD. Mastecard card.
- DISCOVER. Discover card.
- AMEX. American Express card.
- SOLO. Solo debit card.
- JCB. Japan Credit Bureau card.
- STAR. Military Star card.
- DELTA. Delta Airlines card.
- SWITCH. Switch credit card.
- MAESTRO. Maestro credit card.
- CB_NATIONALE. Carte Bancaire (CB) credit card.
- CONFIGOGA. Configoga credit card.
- ELECTRON. Visa Electron credit card.
- CETELEM. Cetelem credit card.
- CHINA_UNION_PAY. China union pay credit card.
-
setExpiry
public void setExpiry(String expiry)
The card expiration year and month, in Internet date format.
-
setFromRequest
public void setFromRequest(CardFromRequest fromRequest)
Representation of card details as received in the request.
-
setLastDigits
public void setLastDigits(String lastDigits)
The last digits of the payment card.
-
setName
public void setName(String name)
The last digits of the payment card.
-
setType
public void setType(String type)
The payment card type.
-
getAuthenticationResult
public AuthenticationResult getAuthenticationResult()
Results of Authentication such as 3D Secure.
-
getBrand
public String getBrand()
The card brand or network. Typically used in the response. The possible values are:- VISA. Visa card.
- MASTERCARD. Mastecard card.
- DISCOVER. Discover card.
- AMEX. American Express card.
- SOLO. Solo debit card.
- JCB. Japan Credit Bureau card.
- STAR. Military Star card.
- DELTA. Delta Airlines card.
- SWITCH. Switch credit card.
- MAESTRO. Maestro credit card.
- CB_NATIONALE. Carte Bancaire (CB) credit card.
- CONFIGOGA. Configoga credit card.
- ELECTRON. Visa Electron credit card.
- CETELEM. Cetelem credit card.
- CHINA_UNION_PAY. China union pay credit card.
-
getExpiry
public String getExpiry()
The card expiration year and month, in Internet date format.
-
getFromRequest
public CardFromRequest getFromRequest()
Representation of card details as received in the request.
-
getLastDigits
public String getLastDigits()
The last digits of the payment card.
-
getName
public String getName()
The last digits of the payment card.
-
getType
public String getType()
The payment card type.
-
-