// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.01.21 at 02:51:03 PM CET // package ch.fd.invoice440.response; import java.math.BigInteger; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for payloadType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="payloadType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="credit" type="{http://www.forum-datenaustausch.ch/invoice}creditType" minOccurs="0"/> * <element name="invoice" type="{http://www.forum-datenaustausch.ch/invoice}invoiceType"/> * <element name="reminder" type="{http://www.forum-datenaustausch.ch/invoice}reminderType" minOccurs="0"/> * <choice> * <element name="body" type="{http://www.forum-datenaustausch.ch/invoice}bodyType"/> * <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/> * </choice> * </sequence> * <attribute name="type" default="invoice"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> * <enumeration value="invoice"/> * <enumeration value="reminder"/> * </restriction> * </simpleType> * </attribute> * <attribute name="storno" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="copy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="credit_advice" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="response_timestamp" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedLong" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "payloadType", propOrder = { "credit", "invoice", "reminder", "body", "encryptedData" }) public class PayloadType { protected CreditType credit; @XmlElement(required = true) protected InvoiceType invoice; protected ReminderType reminder; protected BodyType body; @XmlElement(name = "EncryptedData", namespace = "http://www.w3.org/2001/04/xmlenc#") protected EncryptedDataType encryptedData; @XmlAttribute(name = "type") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type; @XmlAttribute(name = "storno") protected Boolean storno; @XmlAttribute(name = "copy") protected Boolean copy; @XmlAttribute(name = "credit_advice") protected Boolean creditAdvice; @XmlAttribute(name = "response_timestamp", required = true) @XmlSchemaType(name = "unsignedLong") protected BigInteger responseTimestamp; /** * Gets the value of the credit property. * * @return * possible object is * {@link CreditType } * */ public CreditType getCredit() { return credit; } /** * Sets the value of the credit property. * * @param value * allowed object is * {@link CreditType } * */ public void setCredit(CreditType value) { this.credit = value; } /** * Gets the value of the invoice property. * * @return * possible object is * {@link InvoiceType } * */ public InvoiceType getInvoice() { return invoice; } /** * Sets the value of the invoice property. * * @param value * allowed object is * {@link InvoiceType } * */ public void setInvoice(InvoiceType value) { this.invoice = value; } /** * Gets the value of the reminder property. * * @return * possible object is * {@link ReminderType } * */ public ReminderType getReminder() { return reminder; } /** * Sets the value of the reminder property. * * @param value * allowed object is * {@link ReminderType } * */ public void setReminder(ReminderType value) { this.reminder = value; } /** * Gets the value of the body property. * * @return * possible object is * {@link BodyType } * */ public BodyType getBody() { return body; } /** * Sets the value of the body property. * * @param value * allowed object is * {@link BodyType } * */ public void setBody(BodyType value) { this.body = value; } /** * Gets the value of the encryptedData property. * * @return * possible object is * {@link EncryptedDataType } * */ public EncryptedDataType getEncryptedData() { return encryptedData; } /** * Sets the value of the encryptedData property. * * @param value * allowed object is * {@link EncryptedDataType } * */ public void setEncryptedData(EncryptedDataType value) { this.encryptedData = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "invoice"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the storno property. * * @return * possible object is * {@link Boolean } * */ public boolean isStorno() { if (storno == null) { return false; } else { return storno; } } /** * Sets the value of the storno property. * * @param value * allowed object is * {@link Boolean } * */ public void setStorno(Boolean value) { this.storno = value; } /** * Gets the value of the copy property. * * @return * possible object is * {@link Boolean } * */ public boolean isCopy() { if (copy == null) { return false; } else { return copy; } } /** * Sets the value of the copy property. * * @param value * allowed object is * {@link Boolean } * */ public void setCopy(Boolean value) { this.copy = value; } /** * Gets the value of the creditAdvice property. * * @return * possible object is * {@link Boolean } * */ public boolean isCreditAdvice() { if (creditAdvice == null) { return false; } else { return creditAdvice; } } /** * Sets the value of the creditAdvice property. * * @param value * allowed object is * {@link Boolean } * */ public void setCreditAdvice(Boolean value) { this.creditAdvice = value; } /** * Gets the value of the responseTimestamp property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getResponseTimestamp() { return responseTimestamp; } /** * Sets the value of the responseTimestamp property. * * @param value * allowed object is * {@link BigInteger } * */ public void setResponseTimestamp(BigInteger value) { this.responseTimestamp = value; } }