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

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

package com.adyen.model.nexo;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;


/**
 * Definition: Content of the Card Reader Init Request messageType. -- Usage: It contains possible restrictions for the type of card reader to use, and a possible invitation messageType to display on the CashierInterface or the CustomerInterface.
 *
 * 

Java class for CardReaderInitRequest complex type. * *

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

 * <complexType name="CardReaderInitRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ForceEntryMode" type="{}ForceEntryMode" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="DisplayOutput" type="{}DisplayOutput" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="WarmResetFlag" type="{}WarmResetFlag" />
 *       <attribute name="LeaveCardFlag" type="{}LeaveCardFlag" default="true" />
 *       <attribute name="MaxWaitingTime" type="{}MaxWaitingTime" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CardReaderInitRequest", propOrder = { "forceEntryMode", "displayOutput" }) public class CardReaderInitRequest { /** * The Force entry mode. */ @XmlElement(name = "ForceEntryMode") @Schema(description = "Payment instrument entry mode requested by the Sale System.") protected List forceEntryMode; /** * The Display output. */ @XmlElement(name = "DisplayOutput") @Schema(description = "Information to display and the way to process the display.") protected DisplayOutput displayOutput; /** * The Warm reset flag. */ @XmlElement(name = "WarmResetFlag") @Schema(description = "Flag to request a warm reset on a chip.") protected Boolean warmResetFlag; /** * The Leave card flag. */ @XmlElement(name = "LeaveCardFlag") @Schema(description = "Indicates if the POI has to keep the card in the reader for a smart card.") protected Boolean leaveCardFlag; /** * The Max waiting time. */ @XmlElement(name = "MaxWaitingTime") @Schema(description = "Maximum time to wait for the request processing in seconds.") protected BigInteger maxWaitingTime; /** * 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 ForceEntryModeType } * * @return the force entry mode */ public List getForceEntryMode() { if (forceEntryMode == null) { forceEntryMode = new ArrayList<>(); } return this.forceEntryMode; } /** * Gets the value of the displayOutput property. * * @return possible object is {@link DisplayOutput } */ public DisplayOutput getDisplayOutput() { return displayOutput; } /** * Sets the value of the displayOutput property. * * @param value allowed object is {@link DisplayOutput } */ public void setDisplayOutput(DisplayOutput value) { this.displayOutput = value; } /** * Gets the value of the warmResetFlag property. * * @return possible object is {@link Boolean } */ public Boolean isWarmResetFlag() { return warmResetFlag; } /** * Sets the value of the warmResetFlag property. * * @param value allowed object is {@link Boolean } */ public void setWarmResetFlag(Boolean value) { this.warmResetFlag = value; } /** * Gets the value of the leaveCardFlag property. * * @return possible object is {@link Boolean } */ public boolean isLeaveCardFlag() { if (leaveCardFlag == null) { return true; } else { return leaveCardFlag; } } /** * Sets the value of the leaveCardFlag property. * * @param value allowed object is {@link Boolean } */ public void setLeaveCardFlag(Boolean value) { this.leaveCardFlag = value; } /** * Gets the value of the maxWaitingTime property. * * @return possible object is {@link BigInteger } */ public BigInteger getMaxWaitingTime() { return maxWaitingTime; } /** * Sets the value of the maxWaitingTime property. * * @param value allowed object is {@link BigInteger } */ public void setMaxWaitingTime(BigInteger value) { this.maxWaitingTime = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy