Class CardData
- java.lang.Object
-
- com.adyen.model.nexo.CardData
-
public class CardData extends Object
Definition: Information related to the payment card used for the transaction. -- Usage: Allows acquisition of the card data by the Sale System before the Payment, CardAcquisition or BalanceInquiry request to the POI. It could also be sent in the CardAcquisition response, to be processed by the Sale System. In this case, theJava class for CardData complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CardData"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ProtectedCardData" type="{}ContentInformation" minOccurs="0"/> <element name="SensitiveCardData" type="{}SensitiveCardData" minOccurs="0"/> <element name="AllowedProductCode" type="{}AllowedProductCode" maxOccurs="unbounded" minOccurs="0"/> <element name="AllowedProduct" type="{}AllowedProduct" maxOccurs="unbounded" minOccurs="0"/> <element name="PaymentToken" type="{}PaymentToken" minOccurs="0"/> <element name="CustomerOrder" type="{}CustomerOrder" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="PaymentBrand" type="{}PaymentBrand" /> <attribute name="MaskedPAN" type="{}MaskedPAN" /> <attribute name="PaymentAccountRef" type="{}PaymentAccountRef" /> <attribute name="EntryMode" type="{}EntryMode" /> <attribute name="CardCountryCode" type="{}CardCountryCode" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AllowedProduct>allowedProductThe Allowed product.protected List<String>allowedProductCodeThe Allowed product code.protected StringcardCountryCodeThe Card country code.protected List<CustomerOrder>customerOrderThe Customer order.protected List<EntryModeType>entryModeThe Entry mode.protected StringmaskedPANThe Masked pan.protected StringpaymentAccountRefThe Payment account ref.protected StringpaymentBrandThe Payment brand.protected PaymentTokenpaymentTokenThe Payment token.protected ContentInformationprotectedCardDataThe Protected card data.protected SensitiveCardDatasensitiveCardDataThe Sensitive card data.
-
Constructor Summary
Constructors Constructor Description CardData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AllowedProduct>getAllowedProduct()Gets the value of the allowedProduct property.List<String>getAllowedProductCode()Gets the value of the allowedProductCode property.StringgetCardCountryCode()Gets the value of the cardCountryCode property.List<CustomerOrder>getCustomerOrder()Gets the value of the customerOrder property.List<EntryModeType>getEntryMode()Gets the value of the entryMode property.StringgetMaskedPAN()Gets the value of the maskedPAN property.StringgetPaymentAccountRef()Gets the value of the paymentAccountRef property.StringgetPaymentBrand()Gets the value of the paymentBrand property.PaymentTokengetPaymentToken()Gets the value of the paymentToken property.ContentInformationgetProtectedCardData()Gets the value of the protectedCardData property.SensitiveCardDatagetSensitiveCardData()Gets the value of the sensitiveCardData property.voidsetCardCountryCode(String value)Sets the value of the cardCountryCode property.voidsetMaskedPAN(String value)Sets the value of the maskedPAN property.voidsetPaymentAccountRef(String value)Sets the value of the paymentAccountRef property.voidsetPaymentBrand(String value)Sets the value of the paymentBrand property.voidsetPaymentToken(PaymentToken value)Sets the value of the paymentToken property.voidsetProtectedCardData(ContentInformation value)Sets the value of the protectedCardData property.voidsetSensitiveCardData(SensitiveCardData value)Sets the value of the sensitiveCardData property.
-
-
-
Field Detail
-
protectedCardData
protected ContentInformation protectedCardData
The Protected card data.
-
sensitiveCardData
protected SensitiveCardData sensitiveCardData
The Sensitive card data.
-
allowedProduct
protected List<AllowedProduct> allowedProduct
The Allowed product.
-
paymentToken
protected PaymentToken paymentToken
The Payment token.
-
customerOrder
protected List<CustomerOrder> customerOrder
The Customer order.
-
paymentBrand
protected String paymentBrand
The Payment brand.
-
maskedPAN
protected String maskedPAN
The Masked pan.
-
paymentAccountRef
protected String paymentAccountRef
The Payment account ref.
-
entryMode
protected List<EntryModeType> entryMode
The Entry mode.
-
cardCountryCode
protected String cardCountryCode
The Card country code.
-
-
Method Detail
-
getProtectedCardData
public ContentInformation getProtectedCardData()
Gets the value of the protectedCardData property.- Returns:
- possible object is
ContentInformation
-
setProtectedCardData
public void setProtectedCardData(ContentInformation value)
Sets the value of the protectedCardData property.- Parameters:
value- allowed object isContentInformation
-
getSensitiveCardData
public SensitiveCardData getSensitiveCardData()
Gets the value of the sensitiveCardData property.- Returns:
- possible object is
SensitiveCardData
-
setSensitiveCardData
public void setSensitiveCardData(SensitiveCardData value)
Sets the value of the sensitiveCardData property.- Parameters:
value- allowed object isSensitiveCardData
-
getAllowedProductCode
public List<String> getAllowedProductCode()
Gets the value of the allowedProductCode property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the allowedProductCode property.For example, to add a new item, do as follows:
getAllowedProductCode().add(newItem);Objects of the following type(s) are allowed in the list
String- Returns:
- the allowed product code
-
getAllowedProduct
public List<AllowedProduct> getAllowedProduct()
Gets the value of the allowedProduct property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the allowedProduct property.For example, to add a new item, do as follows:
getAllowedProduct().add(newItem);Objects of the following type(s) are allowed in the list
AllowedProduct- Returns:
- the allowed product
-
getPaymentToken
public PaymentToken getPaymentToken()
Gets the value of the paymentToken property.- Returns:
- possible object is
PaymentToken
-
setPaymentToken
public void setPaymentToken(PaymentToken value)
Sets the value of the paymentToken property.- Parameters:
value- allowed object isPaymentToken
-
getCustomerOrder
public List<CustomerOrder> getCustomerOrder()
Gets the value of the customerOrder property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the customerOrder property.For example, to add a new item, do as follows:
getCustomerOrder().add(newItem);Objects of the following type(s) are allowed in the list
CustomerOrder- Returns:
- the customer order
-
getPaymentBrand
public String getPaymentBrand()
Gets the value of the paymentBrand property.- Returns:
- possible object is
String
-
setPaymentBrand
public void setPaymentBrand(String value)
Sets the value of the paymentBrand property.- Parameters:
value- allowed object isString
-
getMaskedPAN
public String getMaskedPAN()
Gets the value of the maskedPAN property.- Returns:
- possible object is
String
-
setMaskedPAN
public void setMaskedPAN(String value)
Sets the value of the maskedPAN property.- Parameters:
value- allowed object isString
-
getPaymentAccountRef
public String getPaymentAccountRef()
Gets the value of the paymentAccountRef property.- Returns:
- possible object is
String
-
setPaymentAccountRef
public void setPaymentAccountRef(String value)
Sets the value of the paymentAccountRef property.- Parameters:
value- allowed object isString
-
getEntryMode
public List<EntryModeType> getEntryMode()
Gets the value of the entryMode property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the entryMode property.For example, to add a new item, do as follows:
getEntryMode().add(newItem);Objects of the following type(s) are allowed in the list
EntryModeType- Returns:
- the entry mode
-
getCardCountryCode
public String getCardCountryCode()
Gets the value of the cardCountryCode property.- Returns:
- possible object is
String
-
-