All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adyen.model.nexo.TransactionConditions Maven / Gradle / Ivy

There is a newer version: 28.4.0
Show newest version
package com.adyen.model.nexo;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * Definition: Conditions on which the transaction must be processed.
 *
 * 

Java class for TransactionConditions complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TransactionConditions">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="AllowedPaymentBrand" type="{}AllowedPaymentBrand" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="AcquirerID" type="{}AcquirerID" 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="DebitPreferredFlag" type="{}DebitPreferredFlag" default="false" />
 *       <attribute name="LoyaltyHandling" type="{}LoyaltyHandlingType" default="Forbidden" />
 *       <attribute name="CustomerLanguage" type="{}ISOLanguage2A" />
 *       <attribute name="ForceOnlineFlag" type="{}ForceOnlineFlag" default="false" />
 *       <attribute name="MerchantCategoryCode" type="{}MerchantCategoryCode" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TransactionConditions", propOrder = { "allowedPaymentBrand", "acquirerID", "allowedLoyaltyBrand", "forceEntryMode" }) public class TransactionConditions { /** * The Allowed payment brand. */ @XmlElement(name = "AllowedPaymentBrand") protected List allowedPaymentBrand; /** * The Acquirer id. */ @XmlElement(name = "AcquirerID") protected List acquirerID; /** * The Allowed loyalty brand. */ @XmlElement(name = "AllowedLoyaltyBrand") protected List allowedLoyaltyBrand; /** * The Force entry mode. */ @XmlElementRef(name = "ForceEntryMode", type = JAXBElement.class, required = false) protected List>> forceEntryMode; /** * The Debit preferred flag. */ @XmlAttribute(name = "DebitPreferredFlag") protected Boolean debitPreferredFlag; /** * The Loyalty handling. */ @XmlAttribute(name = "LoyaltyHandling") protected LoyaltyHandlingType loyaltyHandling; /** * The Customer language. */ @XmlAttribute(name = "CustomerLanguage") protected String customerLanguage; /** * The Force online flag. */ @XmlAttribute(name = "ForceOnlineFlag") protected Boolean forceOnlineFlag; /** * The Merchant category code. */ @XmlAttribute(name = "MerchantCategoryCode") protected String merchantCategoryCode; /** * 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 set method 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 * {@link String } * * @return the allowed payment brand */ public List getAllowedPaymentBrand() { if (allowedPaymentBrand == null) { allowedPaymentBrand = new ArrayList(); } return this.allowedPaymentBrand; } /** * Gets the value of the acquirerID 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 set method for the acquirerID property. * * * For example, to add a new item, do as follows: *
     *    getAcquirerID().add(newItem);
     * 
* * * * Objects of the following type(s) are allowed in the list * {@link String } * * @return the acquirer id */ public List getAcquirerID() { if (acquirerID == null) { acquirerID = new ArrayList(); } return this.acquirerID; } /** * 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 set method 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 * {@link String } * * @return the allowed loyalty brand */ public List getAllowedLoyaltyBrand() { if (allowedLoyaltyBrand == null) { allowedLoyaltyBrand = new ArrayList(); } return this.allowedLoyaltyBrand; } /** * 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 set method 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 * {@link JAXBElement }{@code <}{@link List }{@code <}{@link ForceEntryModeType }{@code >}{@code >} * * @return the force entry mode */ public List>> getForceEntryMode() { if (forceEntryMode == null) { forceEntryMode = new ArrayList>>(); } return this.forceEntryMode; } /** * Gets the value of the debitPreferredFlag property. * * @return possible object is {@link Boolean } */ public boolean isDebitPreferredFlag() { if (debitPreferredFlag == null) { return false; } else { return debitPreferredFlag; } } /** * Sets the value of the debitPreferredFlag property. * * @param value allowed object is {@link Boolean } */ public void setDebitPreferredFlag(Boolean value) { this.debitPreferredFlag = value; } /** * Gets the value of the loyaltyHandling property. * * @return possible object is {@link LoyaltyHandlingType } */ public LoyaltyHandlingType getLoyaltyHandling() { if (loyaltyHandling == null) { return LoyaltyHandlingType.FORBIDDEN; } else { return loyaltyHandling; } } /** * Sets the value of the loyaltyHandling property. * * @param value allowed object is {@link LoyaltyHandlingType } */ public void setLoyaltyHandling(LoyaltyHandlingType value) { this.loyaltyHandling = value; } /** * Gets the value of the customerLanguage property. * * @return possible object is {@link String } */ public String getCustomerLanguage() { return customerLanguage; } /** * Sets the value of the customerLanguage property. * * @param value allowed object is {@link String } */ public void setCustomerLanguage(String value) { this.customerLanguage = value; } /** * Gets the value of the forceOnlineFlag property. * * @return possible object is {@link Boolean } */ public boolean isForceOnlineFlag() { if (forceOnlineFlag == null) { return false; } else { return forceOnlineFlag; } } /** * Sets the value of the forceOnlineFlag property. * * @param value allowed object is {@link Boolean } */ public void setForceOnlineFlag(Boolean value) { this.forceOnlineFlag = value; } /** * Gets the value of the merchantCategoryCode property. * * @return possible object is {@link String } */ public String getMerchantCategoryCode() { return merchantCategoryCode; } /** * Sets the value of the merchantCategoryCode property. * * @param value allowed object is {@link String } */ public void setMerchantCategoryCode(String value) { this.merchantCategoryCode = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy