Class CardAcquisitionTransaction
- java.lang.Object
-
- com.adyen.model.nexo.CardAcquisitionTransaction
-
public class CardAcquisitionTransaction extends Object
Definition: Data related to the payment and loyalty card acquisition. -- Usage: Elements requested by the Sale System that are global to the payment or loyalty transaction.Java class for CardAcquisitionTransaction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CardAcquisitionTransaction"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="AllowedPaymentBrand" type="{}AllowedPaymentBrand" maxOccurs="unbounded" minOccurs="0"/> <element name="AllowedLoyaltyBrand" type="{}AllowedLoyaltyBrand" maxOccurs="unbounded" minOccurs="0"/> <element name="ForceEntryMode" type="{}ForceEntryMode" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="LoyaltyHandling" type="{}LoyaltyHandlingType" default="Allowed" /> <attribute name="CustomerLanguage" type="{}ISOLanguage2A" /> <attribute name="ForceCustomerSelectionFlag" type="{}ForceCustomerSelectionFlag" default="false" /> <attribute name="TotalAmount" type="{}SimpleAmountType" /> <attribute name="Payment" type="{}PaymentType" /> <attribute name="CashBackFlag" type="{}CashBackFlag" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>allowedLoyaltyBrandThe Allowed loyalty brand.protected List<String>allowedPaymentBrandThe Allowed payment brand.protected BooleancashBackFlagThe Cash back flag.protected StringcustomerLanguageThe Customer language.protected BooleanforceCustomerSelectionFlagThe Force customer selection flag.protected List<ForceEntryModeType>forceEntryModeThe Force entry mode.protected LoyaltyHandlingTypeloyaltyHandlingThe Loyalty handling.protected PaymentTypepaymentTypeThe Payment.protected BigDecimaltotalAmountThe Total amount.
-
Constructor Summary
Constructors Constructor Description CardAcquisitionTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllowedLoyaltyBrand()Gets the value of the allowedLoyaltyBrand property.List<String>getAllowedPaymentBrand()Gets the value of the allowedPaymentBrand property.StringgetCustomerLanguage()Gets the value of the customerLanguage property.List<ForceEntryModeType>getForceEntryMode()Gets the value of the forceEntryMode property.LoyaltyHandlingTypegetLoyaltyHandling()Gets the value of the loyaltyHandling property.PaymentTypegetPaymentType()Gets the value of the paymentType property.BigDecimalgetTotalAmount()Gets the value of the totalAmount property.BooleanisCashBackFlag()Gets the value of the cashBackFlag property.booleanisForceCustomerSelectionFlag()Gets the value of the forceCustomerSelectionFlag property.voidsetCashBackFlag(Boolean value)Sets the value of the cashBackFlag property.voidsetCustomerLanguage(String value)Sets the value of the customerLanguage property.voidsetForceCustomerSelectionFlag(Boolean value)Sets the value of the forceCustomerSelectionFlag property.voidsetLoyaltyHandling(LoyaltyHandlingType value)Sets the value of the loyaltyHandling property.voidsetPaymentType(PaymentType value)Sets the value of the paymentType property.voidsetTotalAmount(BigDecimal value)Sets the value of the totalAmount property.
-
-
-
Field Detail
-
forceEntryMode
protected List<ForceEntryModeType> forceEntryMode
The Force entry mode.
-
loyaltyHandling
protected LoyaltyHandlingType loyaltyHandling
The Loyalty handling.
-
customerLanguage
protected String customerLanguage
The Customer language.
-
forceCustomerSelectionFlag
protected Boolean forceCustomerSelectionFlag
The Force customer selection flag.
-
totalAmount
protected BigDecimal totalAmount
The Total amount.
-
paymentType
protected PaymentType paymentType
The Payment.
-
cashBackFlag
protected Boolean cashBackFlag
The Cash back flag.
-
-
Method Detail
-
getAllowedPaymentBrand
public List<String> getAllowedPaymentBrand()
Gets the value of the allowedPaymentBrand 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 allowedPaymentBrand property.For example, to add a new item, do as follows:
getAllowedPaymentBrand().add(newItem);Objects of the following type(s) are allowed in the list
String- Returns:
- the allowed payment brand
-
getAllowedLoyaltyBrand
public List<String> getAllowedLoyaltyBrand()
Gets the value of the allowedLoyaltyBrand 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 allowedLoyaltyBrand property.For example, to add a new item, do as follows:
getAllowedLoyaltyBrand().add(newItem);Objects of the following type(s) are allowed in the list
String- Returns:
- the allowed loyalty brand
-
getForceEntryMode
public List<ForceEntryModeType> getForceEntryMode()
Gets the value of the forceEntryMode 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 forceEntryMode property.For example, to add a new item, do as follows:
getForceEntryMode().add(newItem);Objects of the following type(s) are allowed in the list
ForceEntryModeType- Returns:
- the force entry mode
-
getLoyaltyHandling
public LoyaltyHandlingType getLoyaltyHandling()
Gets the value of the loyaltyHandling property.- Returns:
- possible object is
LoyaltyHandlingType
-
setLoyaltyHandling
public void setLoyaltyHandling(LoyaltyHandlingType value)
Sets the value of the loyaltyHandling property.- Parameters:
value- allowed object isLoyaltyHandlingType
-
getCustomerLanguage
public String getCustomerLanguage()
Gets the value of the customerLanguage property.- Returns:
- possible object is
String
-
setCustomerLanguage
public void setCustomerLanguage(String value)
Sets the value of the customerLanguage property.- Parameters:
value- allowed object isString
-
isForceCustomerSelectionFlag
public boolean isForceCustomerSelectionFlag()
Gets the value of the forceCustomerSelectionFlag property.- Returns:
- possible object is
Boolean
-
setForceCustomerSelectionFlag
public void setForceCustomerSelectionFlag(Boolean value)
Sets the value of the forceCustomerSelectionFlag property.- Parameters:
value- allowed object isBoolean
-
getTotalAmount
public BigDecimal getTotalAmount()
Gets the value of the totalAmount property.- Returns:
- possible object is
BigDecimal
-
setTotalAmount
public void setTotalAmount(BigDecimal value)
Sets the value of the totalAmount property.- Parameters:
value- allowed object isBigDecimal
-
getPaymentType
public PaymentType getPaymentType()
Gets the value of the paymentType property.- Returns:
- possible object is
PaymentType
-
setPaymentType
public void setPaymentType(PaymentType value)
Sets the value of the paymentType property.- Parameters:
value- allowed object isPaymentType
-
isCashBackFlag
public Boolean isCashBackFlag()
Gets the value of the cashBackFlag property.- Returns:
- possible object is
Boolean
-
-