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

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

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

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.XmlType;
import java.util.ArrayList;
import java.util.List;


/**
 * Definition: Content to display or print. -- Usage: This is a sequence of elements if they have different formats.
 *
 * 

Java class for OutputContent complex type. * *

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

 * <complexType name="OutputContent">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="PredefinedContent" type="{}PredefinedContent" minOccurs="0"/>
 *         <element name="OutputText" type="{}OutputText" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="OutputXHTML" type="{}OutputXHTML" minOccurs="0"/>
 *         <element name="OutputBarcode" type="{}OutputBarcode" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="OutputFormat" use="required" type="{}OutputFormatType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OutputContent", propOrder = { "predefinedContent", "outputText", "outputXHTML", "outputBarcode" }) public class OutputContent { /** * The Predefined content. */ @XmlElement(name = "PredefinedContent") protected PredefinedContent predefinedContent; /** * The Output text. */ @XmlElement(name = "OutputText") protected List outputText; /** * The Output xhtml. */ @XmlElement(name = "OutputXHTML") protected byte[] outputXHTML; /** * The Output barcode. */ @XmlElement(name = "OutputBarcode") protected OutputBarcode outputBarcode; /** * The Output format. */ @XmlAttribute(name = "OutputFormat", required = true) protected OutputFormatType outputFormat; /** * Gets the value of the predefinedContent property. * * @return possible object is {@link PredefinedContent } */ public PredefinedContent getPredefinedContent() { return predefinedContent; } /** * Sets the value of the predefinedContent property. * * @param value allowed object is {@link PredefinedContent } */ public void setPredefinedContent(PredefinedContent value) { this.predefinedContent = value; } /** * Gets the value of the outputText 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 outputText property. * * * For example, to add a new item, do as follows: *
     *    getOutputText().add(newItem);
     * 
* * * * Objects of the following type(s) are allowed in the list * {@link OutputText } * * @return the output text */ public List getOutputText() { if (outputText == null) { outputText = new ArrayList(); } return this.outputText; } /** * Gets the value of the outputXHTML property. * * @return possible object is byte[] */ public byte[] getOutputXHTML() { return outputXHTML; } /** * Sets the value of the outputXHTML property. * * @param value allowed object is byte[] */ public void setOutputXHTML(byte[] value) { this.outputXHTML = value; } /** * Gets the value of the outputBarcode property. * * @return possible object is {@link OutputBarcode } */ public OutputBarcode getOutputBarcode() { return outputBarcode; } /** * Sets the value of the outputBarcode property. * * @param value allowed object is {@link OutputBarcode } */ public void setOutputBarcode(OutputBarcode value) { this.outputBarcode = value; } /** * Gets the value of the outputFormat property. * * @return possible object is {@link OutputFormatType } */ public OutputFormatType getOutputFormat() { return outputFormat; } /** * Sets the value of the outputFormat property. * * @param value allowed object is {@link OutputFormatType } */ public void setOutputFormat(OutputFormatType value) { this.outputFormat = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy