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

com.adyen.model.nexo.EventNotification 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 javax.xml.datatype.XMLGregorianCalendar;


/**
 * Definition: Content of the EventNotification messageType. -- Usage: It conveys Information related to the event, and possible action (maintenance, messageType to display).
 *
 * 

Java class for EventNotification complex type. * *

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

 * <complexType name="EventNotification">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="EventDetails" type="{}EventDetails" minOccurs="0"/>
 *         <element name="RejectedMessage" type="{}RejectedMessage" minOccurs="0"/>
 *         <element name="DisplayOutput" type="{}DisplayOutput" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="TimeStamp" use="required" type="{}TimeStamp" />
 *       <attribute name="EventToNotify" use="required" type="{}EventToNotifyType" />
 *       <attribute name="MaintenanceRequiredFlag" type="{}MaintenanceRequiredFlag" default="false" />
 *       <attribute name="CustomerLanguage" type="{}ISOLanguage2A" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EventNotification", propOrder = { "eventDetails", "rejectedMessage", "displayOutput" }) public class EventNotification { /** * The Event details. */ @XmlElement(name = "EventDetails") @Schema(description = "Information about the event the POI notifies to the Sale System. --Rule: EventToNotify") protected String eventDetails; /** * The Rejected message. */ @XmlElement(name = "RejectedMessage") @Schema(description = "Message request rejected by the receiver. --Rule: Mandatory if EventToNotify is \"Reject\", absent in other cases") protected byte[] rejectedMessage; /** * The Display output. */ @XmlElement(name = "DisplayOutput") @Schema(description = "Information to display and the way to process the display. --Rule: To display an event message") protected DisplayOutput displayOutput; /** * The Time stamp. */ @XmlElement(name = "TimeStamp", required = true) @Schema(description = "Date and time of a transaction for the Sale System, the POI System or the Acquirer.") protected XMLGregorianCalendar timeStamp; /** * The Event to notify. */ @XmlElement(name = "EventToNotify", required = true) @Schema(description = "Event the POI notifies to the Sale System.") protected EventToNotifyType eventToNotify; /** * The Maintenance required flag. */ @XmlElement(name = "MaintenanceRequiredFlag") @Schema(description = "Indicates if the occurred event requires maintenance call or action.") protected Boolean maintenanceRequiredFlag; /** * The Customer language. */ @XmlElement(name = "CustomerLanguage") @Schema(description = "Language of the Customer --Rule: EventToNotify") protected String customerLanguage; /** * Gets the value of the eventDetails property. * * @return possible object is {@link String } */ public String getEventDetails() { return eventDetails; } /** * Sets the value of the eventDetails property. * * @param value allowed object is {@link String } */ public void setEventDetails(String value) { this.eventDetails = value; } /** * Gets the value of the rejectedMessage property. * * @return possible object is byte[] */ public byte[] getRejectedMessage() { return rejectedMessage; } /** * Sets the value of the rejectedMessage property. * * @param value allowed object is byte[] */ public void setRejectedMessage(byte[] value) { this.rejectedMessage = value; } /** * 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 timeStamp property. * * @return possible object is {@link XMLGregorianCalendar } */ public XMLGregorianCalendar getTimeStamp() { return timeStamp; } /** * Sets the value of the timeStamp property. * * @param value allowed object is {@link XMLGregorianCalendar } */ public void setTimeStamp(XMLGregorianCalendar value) { this.timeStamp = value; } /** * Gets the value of the eventToNotify property. * * @return possible object is {@link EventToNotifyType } */ public EventToNotifyType getEventToNotify() { return eventToNotify; } /** * Sets the value of the eventToNotify property. * * @param value allowed object is {@link EventToNotifyType } */ public void setEventToNotify(EventToNotifyType value) { this.eventToNotify = value; } /** * Gets the value of the maintenanceRequiredFlag property. * * @return possible object is {@link Boolean } */ public boolean isMaintenanceRequiredFlag() { if (maintenanceRequiredFlag == null) { return false; } else { return maintenanceRequiredFlag; } } /** * Sets the value of the maintenanceRequiredFlag property. * * @param value allowed object is {@link Boolean } */ public void setMaintenanceRequiredFlag(Boolean value) { this.maintenanceRequiredFlag = 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy