/**
* 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:43 AM ART
//
package com.coupa.resources;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for order-line-summary complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="order-line-summary">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="created-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="updated-at" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="accounting-total" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="accounting-total-currency" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="invoiced" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="line-num" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="need-by-date" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="order-header-id" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
* <element name="received" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="source-part-num" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="sub-line-num" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="supp-aux-part-num" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="total" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="savings-pct" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="reporting-total" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="supplier-order-number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="account" type="{}account-summary" minOccurs="0"/>
* <element name="contract" type="{}contract-summary" minOccurs="0"/>
* <element name="currency" type="{}currency-summary" minOccurs="0"/>
* <element name="commodity" type="{}commodity-summary" minOccurs="0"/>
* <element name="department" type="{}department-summary" minOccurs="0"/>
* <element name="item" type="{}item-summary" minOccurs="0"/>
* <element name="supplier" type="{}supplier-summary" minOccurs="0"/>
* <element name="uom" type="{}uom-summary" minOccurs="0"/>
* <element name="asset-tags" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="asset-tag" type="{}asset-tag-summary" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="attachments" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="attachment" type="{}attachment-summary" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="period" type="{}period-summary" minOccurs="0"/>
* <element name="created-by" type="{}user-summary" minOccurs="0"/>
* <element name="updated-by" type="{}user-summary" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "order-line-summary", propOrder = {
"id",
"createdAt",
"updatedAt",
"accountingTotal",
"accountingTotalCurrency",
"description",
"invoiced",
"lineNum",
"needByDate",
"orderHeaderId",
"price",
"quantity",
"received",
"sourcePartNum",
"status",
"subLineNum",
"suppAuxPartNum",
"total",
"type",
"version",
"savingsPct",
"reportingTotal",
"supplierOrderNumber",
"account",
"contract",
"currency",
"commodity",
"department",
"item",
"supplier",
"uom",
"assetTags",
"attachments",
"period",
"createdBy",
"updatedBy"
})
public class OrderLineSummary {
protected BigInteger id;
@XmlElement(name = "created-at")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar createdAt;
@XmlElement(name = "updated-at")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar updatedAt;
@XmlElement(name = "accounting-total")
protected BigDecimal accountingTotal;
@XmlElement(name = "accounting-total-currency")
protected String accountingTotalCurrency;
protected String description;
protected BigDecimal invoiced;
@XmlElement(name = "line-num")
protected BigInteger lineNum;
@XmlElement(name = "need-by-date")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar needByDate;
@XmlElement(name = "order-header-id")
protected BigInteger orderHeaderId;
protected BigDecimal price;
protected Float quantity;
protected BigDecimal received;
@XmlElement(name = "source-part-num")
protected String sourcePartNum;
protected String status;
@XmlElement(name = "sub-line-num")
protected BigInteger subLineNum;
@XmlElement(name = "supp-aux-part-num")
protected String suppAuxPartNum;
protected BigDecimal total;
protected String type;
protected BigInteger version;
@XmlElement(name = "savings-pct")
protected BigDecimal savingsPct;
@XmlElement(name = "reporting-total")
protected BigDecimal reportingTotal;
@XmlElement(name = "supplier-order-number")
protected String supplierOrderNumber;
protected AccountSummary account;
protected ContractSummary contract;
protected CurrencySummary currency;
protected CommoditySummary commodity;
protected DepartmentSummary department;
protected ItemSummary item;
protected SupplierSummary supplier;
protected UomSummary uom;
@XmlElement(name = "asset-tags")
protected OrderLineSummary.AssetTags assetTags;
protected OrderLineSummary.Attachments attachments;
protected PeriodSummary period;
@XmlElement(name = "created-by")
protected UserSummary createdBy;
@XmlElement(name = "updated-by")
protected UserSummary updatedBy;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setId(BigInteger value) {
this.id = value;
}
/**
* Gets the value of the createdAt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCreatedAt() {
return createdAt;
}
/**
* Sets the value of the createdAt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCreatedAt(XMLGregorianCalendar value) {
this.createdAt = value;
}
/**
* Gets the value of the updatedAt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getUpdatedAt() {
return updatedAt;
}
/**
* Sets the value of the updatedAt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setUpdatedAt(XMLGregorianCalendar value) {
this.updatedAt = value;
}
/**
* Gets the value of the accountingTotal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getAccountingTotal() {
return accountingTotal;
}
/**
* Sets the value of the accountingTotal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setAccountingTotal(BigDecimal value) {
this.accountingTotal = value;
}
/**
* Gets the value of the accountingTotalCurrency property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccountingTotalCurrency() {
return accountingTotalCurrency;
}
/**
* Sets the value of the accountingTotalCurrency property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccountingTotalCurrency(String value) {
this.accountingTotalCurrency = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the invoiced property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getInvoiced() {
return invoiced;
}
/**
* Sets the value of the invoiced property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setInvoiced(BigDecimal value) {
this.invoiced = value;
}
/**
* Gets the value of the lineNum property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getLineNum() {
return lineNum;
}
/**
* Sets the value of the lineNum property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setLineNum(BigInteger value) {
this.lineNum = value;
}
/**
* Gets the value of the needByDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getNeedByDate() {
return needByDate;
}
/**
* Sets the value of the needByDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setNeedByDate(XMLGregorianCalendar value) {
this.needByDate = value;
}
/**
* Gets the value of the orderHeaderId property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOrderHeaderId() {
return orderHeaderId;
}
/**
* Sets the value of the orderHeaderId property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOrderHeaderId(BigInteger value) {
this.orderHeaderId = value;
}
/**
* Gets the value of the price property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPrice() {
return price;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setPrice(BigDecimal value) {
this.price = value;
}
/**
* Gets the value of the quantity property.
*
* @return
* possible object is
* {@link Float }
*
*/
public Float getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public void setQuantity(Float value) {
this.quantity = value;
}
/**
* Gets the value of the received property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getReceived() {
return received;
}
/**
* Sets the value of the received property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setReceived(BigDecimal value) {
this.received = value;
}
/**
* Gets the value of the sourcePartNum property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourcePartNum() {
return sourcePartNum;
}
/**
* Sets the value of the sourcePartNum property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourcePartNum(String value) {
this.sourcePartNum = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the subLineNum property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSubLineNum() {
return subLineNum;
}
/**
* Sets the value of the subLineNum property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSubLineNum(BigInteger value) {
this.subLineNum = value;
}
/**
* Gets the value of the suppAuxPartNum property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSuppAuxPartNum() {
return suppAuxPartNum;
}
/**
* Sets the value of the suppAuxPartNum property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSuppAuxPartNum(String value) {
this.suppAuxPartNum = value;
}
/**
* Gets the value of the total property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getTotal() {
return total;
}
/**
* Sets the value of the total property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setTotal(BigDecimal value) {
this.total = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
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 version property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setVersion(BigInteger value) {
this.version = value;
}
/**
* Gets the value of the savingsPct property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSavingsPct() {
return savingsPct;
}
/**
* Sets the value of the savingsPct property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSavingsPct(BigDecimal value) {
this.savingsPct = value;
}
/**
* Gets the value of the reportingTotal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getReportingTotal() {
return reportingTotal;
}
/**
* Sets the value of the reportingTotal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setReportingTotal(BigDecimal value) {
this.reportingTotal = value;
}
/**
* Gets the value of the supplierOrderNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSupplierOrderNumber() {
return supplierOrderNumber;
}
/**
* Sets the value of the supplierOrderNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSupplierOrderNumber(String value) {
this.supplierOrderNumber = value;
}
/**
* Gets the value of the account property.
*
* @return
* possible object is
* {@link AccountSummary }
*
*/
public AccountSummary getAccount() {
return account;
}
/**
* Sets the value of the account property.
*
* @param value
* allowed object is
* {@link AccountSummary }
*
*/
public void setAccount(AccountSummary value) {
this.account = value;
}
/**
* Gets the value of the contract property.
*
* @return
* possible object is
* {@link ContractSummary }
*
*/
public ContractSummary getContract() {
return contract;
}
/**
* Sets the value of the contract property.
*
* @param value
* allowed object is
* {@link ContractSummary }
*
*/
public void setContract(ContractSummary value) {
this.contract = value;
}
/**
* Gets the value of the currency property.
*
* @return
* possible object is
* {@link CurrencySummary }
*
*/
public CurrencySummary getCurrency() {
return currency;
}
/**
* Sets the value of the currency property.
*
* @param value
* allowed object is
* {@link CurrencySummary }
*
*/
public void setCurrency(CurrencySummary value) {
this.currency = value;
}
/**
* Gets the value of the commodity property.
*
* @return
* possible object is
* {@link CommoditySummary }
*
*/
public CommoditySummary getCommodity() {
return commodity;
}
/**
* Sets the value of the commodity property.
*
* @param value
* allowed object is
* {@link CommoditySummary }
*
*/
public void setCommodity(CommoditySummary value) {
this.commodity = value;
}
/**
* Gets the value of the department property.
*
* @return
* possible object is
* {@link DepartmentSummary }
*
*/
public DepartmentSummary getDepartment() {
return department;
}
/**
* Sets the value of the department property.
*
* @param value
* allowed object is
* {@link DepartmentSummary }
*
*/
public void setDepartment(DepartmentSummary value) {
this.department = value;
}
/**
* Gets the value of the item property.
*
* @return
* possible object is
* {@link ItemSummary }
*
*/
public ItemSummary getItem() {
return item;
}
/**
* Sets the value of the item property.
*
* @param value
* allowed object is
* {@link ItemSummary }
*
*/
public void setItem(ItemSummary value) {
this.item = value;
}
/**
* Gets the value of the supplier property.
*
* @return
* possible object is
* {@link SupplierSummary }
*
*/
public SupplierSummary getSupplier() {
return supplier;
}
/**
* Sets the value of the supplier property.
*
* @param value
* allowed object is
* {@link SupplierSummary }
*
*/
public void setSupplier(SupplierSummary value) {
this.supplier = value;
}
/**
* Gets the value of the uom property.
*
* @return
* possible object is
* {@link UomSummary }
*
*/
public UomSummary getUom() {
return uom;
}
/**
* Sets the value of the uom property.
*
* @param value
* allowed object is
* {@link UomSummary }
*
*/
public void setUom(UomSummary value) {
this.uom = value;
}
/**
* Gets the value of the assetTags property.
*
* @return
* possible object is
* {@link OrderLineSummary.AssetTags }
*
*/
public OrderLineSummary.AssetTags getAssetTags() {
return assetTags;
}
/**
* Sets the value of the assetTags property.
*
* @param value
* allowed object is
* {@link OrderLineSummary.AssetTags }
*
*/
public void setAssetTags(OrderLineSummary.AssetTags value) {
this.assetTags = value;
}
/**
* Gets the value of the attachments property.
*
* @return
* possible object is
* {@link OrderLineSummary.Attachments }
*
*/
public OrderLineSummary.Attachments getAttachments() {
return attachments;
}
/**
* Sets the value of the attachments property.
*
* @param value
* allowed object is
* {@link OrderLineSummary.Attachments }
*
*/
public void setAttachments(OrderLineSummary.Attachments value) {
this.attachments = value;
}
/**
* Gets the value of the period property.
*
* @return
* possible object is
* {@link PeriodSummary }
*
*/
public PeriodSummary getPeriod() {
return period;
}
/**
* Sets the value of the period property.
*
* @param value
* allowed object is
* {@link PeriodSummary }
*
*/
public void setPeriod(PeriodSummary value) {
this.period = value;
}
/**
* Gets the value of the createdBy property.
*
* @return
* possible object is
* {@link UserSummary }
*
*/
public UserSummary getCreatedBy() {
return createdBy;
}
/**
* Sets the value of the createdBy property.
*
* @param value
* allowed object is
* {@link UserSummary }
*
*/
public void setCreatedBy(UserSummary value) {
this.createdBy = value;
}
/**
* Gets the value of the updatedBy property.
*
* @return
* possible object is
* {@link UserSummary }
*
*/
public UserSummary getUpdatedBy() {
return updatedBy;
}
/**
* Sets the value of the updatedBy property.
*
* @param value
* allowed object is
* {@link UserSummary }
*
*/
public void setUpdatedBy(UserSummary value) {
this.updatedBy = value;
}
/**
* <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 name="asset-tag" type="{}asset-tag-summary" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"assetTag"
})
public static class AssetTags {
@XmlElement(name = "asset-tag")
protected List<AssetTagSummary> assetTag;
/**
* Gets the value of the assetTag property.
*
* <p>
* 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 <CODE>set</CODE> method for the assetTag property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAssetTag().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AssetTagSummary }
*
*
*/
public List<AssetTagSummary> getAssetTag() {
if (assetTag == null) {
assetTag = new ArrayList<AssetTagSummary>();
}
return this.assetTag;
}
}
/**
* <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 name="attachment" type="{}attachment-summary" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"attachment"
})
public static class Attachments {
protected List<AttachmentSummary> attachment;
/**
* Gets the value of the attachment property.
*
* <p>
* 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 <CODE>set</CODE> method for the attachment property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAttachment().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AttachmentSummary }
*
*
*/
public List<AttachmentSummary> getAttachment() {
if (attachment == null) {
attachment = new ArrayList<AttachmentSummary>();
}
return this.attachment;
}
}
}