/** * Mule Coupa Cloud Connector * * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. * * Coupa Connector com.coupa package contains portions of code based on Coupa4j * http://code.google.com/p/coupa4j/, under a MIT license: * http://www.opensource.org/licenses/mit-license.php. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // 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: 2012.01.11 at 10:56:25 AM ART // package com.coupa.transaction; import java.math.BigDecimal; 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.XmlRootElement; 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 anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{}UnitOfMeasure"/> * <element ref="{}UnitPrice"/> * <element ref="{}InvoiceDetailItemReference"/> * <element ref="{}SubtotalAmount"/> * <element ref="{}Tax"/> * <element ref="{}Distribution"/> * </sequence> * <attribute name="invoiceLineNumber" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> * <attribute name="quantity" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "unitOfMeasure", "unitPrice", "invoiceDetailItemReference", "subtotalAmount", "tax", "distribution" }) @XmlRootElement(name = "InvoiceDetailItem") public class InvoiceDetailItem { @XmlElement(name = "UnitOfMeasure", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NCName") protected String unitOfMeasure; @XmlElement(name = "UnitPrice", required = true) protected MoneyType unitPrice; @XmlElement(name = "InvoiceDetailItemReference", required = true) protected InvoiceDetailItemReference invoiceDetailItemReference; @XmlElement(name = "SubtotalAmount", required = true) protected MoneyType subtotalAmount; @XmlElement(name = "Tax", required = true) protected Tax tax; @XmlElement(name = "Distribution", required = true) protected Distribution distribution; @XmlAttribute(required = true) protected BigInteger invoiceLineNumber; @XmlAttribute(required = true) protected BigDecimal quantity; /** * Gets the value of the unitOfMeasure property. * * @return * possible object is * {@link String } * */ public String getUnitOfMeasure() { return unitOfMeasure; } /** * Sets the value of the unitOfMeasure property. * * @param value * allowed object is * {@link String } * */ public void setUnitOfMeasure(String value) { this.unitOfMeasure = value; } /** * Gets the value of the unitPrice property. * * @return * possible object is * {@link MoneyType } * */ public MoneyType getUnitPrice() { return unitPrice; } /** * Sets the value of the unitPrice property. * * @param value * allowed object is * {@link MoneyType } * */ public void setUnitPrice(MoneyType value) { this.unitPrice = value; } /** * Gets the value of the invoiceDetailItemReference property. * * @return * possible object is * {@link InvoiceDetailItemReference } * */ public InvoiceDetailItemReference getInvoiceDetailItemReference() { return invoiceDetailItemReference; } /** * Sets the value of the invoiceDetailItemReference property. * * @param value * allowed object is * {@link InvoiceDetailItemReference } * */ public void setInvoiceDetailItemReference(InvoiceDetailItemReference value) { this.invoiceDetailItemReference = value; } /** * Gets the value of the subtotalAmount property. * * @return * possible object is * {@link MoneyType } * */ public MoneyType getSubtotalAmount() { return subtotalAmount; } /** * Sets the value of the subtotalAmount property. * * @param value * allowed object is * {@link MoneyType } * */ public void setSubtotalAmount(MoneyType value) { this.subtotalAmount = value; } /** * Gets the value of the tax property. * * @return * possible object is * {@link Tax } * */ public Tax getTax() { return tax; } /** * Sets the value of the tax property. * * @param value * allowed object is * {@link Tax } * */ public void setTax(Tax value) { this.tax = value; } /** * Gets the value of the distribution property. * * @return * possible object is * {@link Distribution } * */ public Distribution getDistribution() { return distribution; } /** * Sets the value of the distribution property. * * @param value * allowed object is * {@link Distribution } * */ public void setDistribution(Distribution value) { this.distribution = value; } /** * Gets the value of the invoiceLineNumber property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getInvoiceLineNumber() { return invoiceLineNumber; } /** * Sets the value of the invoiceLineNumber property. * * @param value * allowed object is * {@link BigInteger } * */ public void setInvoiceLineNumber(BigInteger value) { this.invoiceLineNumber = value; } /** * Gets the value of the quantity property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getQuantity() { return quantity; } /** * Sets the value of the quantity property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setQuantity(BigDecimal value) { this.quantity = value; } }