// // 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 javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.Duration; /** * <p>Java class for balanceType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="balanceType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="currency" type="{http://www.w3.org/2001/XMLSchema}string" fixed="CHF" /> * <attribute name="amount_due" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> * <attribute name="vat" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> * <attribute name="vat_number" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_15" /> * <attribute name="payment_period" type="{http://www.w3.org/2001/XMLSchema}duration" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "balanceType") public class BalanceType { @XmlAttribute(name = "currency") protected String currency; @XmlAttribute(name = "amount_due", required = true) protected double amountDue; @XmlAttribute(name = "vat", required = true) protected double vat; @XmlAttribute(name = "vat_number") protected String vatNumber; @XmlAttribute(name = "payment_period") protected Duration paymentPeriod; /** * Gets the value of the currency property. * * @return * possible object is * {@link String } * */ public String getCurrency() { if (currency == null) { return "CHF"; } else { return currency; } } /** * Sets the value of the currency property. * * @param value * allowed object is * {@link String } * */ public void setCurrency(String value) { this.currency = value; } /** * Gets the value of the amountDue property. * */ public double getAmountDue() { return amountDue; } /** * Sets the value of the amountDue property. * */ public void setAmountDue(double value) { this.amountDue = value; } /** * Gets the value of the vat property. * */ public double getVat() { return vat; } /** * Sets the value of the vat property. * */ public void setVat(double value) { this.vat = value; } /** * Gets the value of the vatNumber property. * * @return * possible object is * {@link String } * */ public String getVatNumber() { return vatNumber; } /** * Sets the value of the vatNumber property. * * @param value * allowed object is * {@link String } * */ public void setVatNumber(String value) { this.vatNumber = value; } /** * Gets the value of the paymentPeriod property. * * @return * possible object is * {@link Duration } * */ public Duration getPaymentPeriod() { return paymentPeriod; } /** * Sets the value of the paymentPeriod property. * * @param value * allowed object is * {@link Duration } * */ public void setPaymentPeriod(Duration value) { this.paymentPeriod = value; } }