/** * 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 requisition-line-summary complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="requisition-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="description" type="{http://www.w3.org/2001/XMLSchema}string" 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}string" minOccurs="0"/> * <element name="order-line-id" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> * <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}float" 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="source-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="line-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="unit-price" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> * <element name="account" type="{}account-summary" minOccurs="0"/> * <element name="item" type="{}item-summary" minOccurs="0"/> * <element name="commodity" type="{}commodity-summary" minOccurs="0"/> * <element name="contract" type="{}contract-summary" minOccurs="0"/> * <element name="currency" type="{}currency-summary" minOccurs="0"/> * <element name="punchout-site" type="{}punchout-site-summary" minOccurs="0"/> * <element name="supplier" type="{}supplier-summary" minOccurs="0"/> * <element name="uom" type="{}uom-summary" minOccurs="0"/> * <element name="payment-term" type="{}payment-term-summary" minOccurs="0"/> * <element name="shipping-term" type="{}shipping-term-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="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 = "requisition-line-summary", propOrder = { "id", "createdAt", "updatedAt", "description", "lineNum", "needByDate", "orderLineId", "quantity", "sourcePartNum", "status", "subLineNum", "suppAuxPartNum", "total", "sourceType", "lineType", "unitPrice", "account", "item", "commodity", "contract", "currency", "punchoutSite", "supplier", "uom", "paymentTerm", "shippingTerm", "assetTags", "attachments", "createdBy", "updatedBy" }) public class RequisitionLineSummary { protected BigInteger id; @XmlElement(name = "created-at") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar createdAt; @XmlElement(name = "updated-at") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar updatedAt; protected String description; @XmlElement(name = "line-num") protected BigInteger lineNum; @XmlElement(name = "need-by-date") protected String needByDate; @XmlElement(name = "order-line-id") protected BigInteger orderLineId; protected Float quantity; @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; @XmlElement(name = "source-type") protected String sourceType; @XmlElement(name = "line-type") protected String lineType; @XmlElement(name = "unit-price") protected BigDecimal unitPrice; protected AccountSummary account; protected ItemSummary item; protected CommoditySummary commodity; protected ContractSummary contract; protected CurrencySummary currency; @XmlElement(name = "punchout-site") protected PunchoutSiteSummary punchoutSite; protected SupplierSummary supplier; protected UomSummary uom; @XmlElement(name = "payment-term") protected PaymentTermSummary paymentTerm; @XmlElement(name = "shipping-term") protected ShippingTermSummary shippingTerm; @XmlElement(name = "asset-tags") protected RequisitionLineSummary.AssetTags assetTags; protected RequisitionLineSummary.Attachments attachments; @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 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 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 String } * */ public String getNeedByDate() { return needByDate; } /** * Sets the value of the needByDate property. * * @param value * allowed object is * {@link String } * */ public void setNeedByDate(String value) { this.needByDate = value; } /** * Gets the value of the orderLineId property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getOrderLineId() { return orderLineId; } /** * Sets the value of the orderLineId property. * * @param value * allowed object is * {@link BigInteger } * */ public void setOrderLineId(BigInteger value) { this.orderLineId = 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 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 sourceType property. * * @return * possible object is * {@link String } * */ public String getSourceType() { return sourceType; } /** * Sets the value of the sourceType property. * * @param value * allowed object is * {@link String } * */ public void setSourceType(String value) { this.sourceType = value; } /** * Gets the value of the lineType property. * * @return * possible object is * {@link String } * */ public String getLineType() { return lineType; } /** * Sets the value of the lineType property. * * @param value * allowed object is * {@link String } * */ public void setLineType(String value) { this.lineType = value; } /** * Gets the value of the unitPrice property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getUnitPrice() { return unitPrice; } /** * Sets the value of the unitPrice property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setUnitPrice(BigDecimal value) { this.unitPrice = 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 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 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 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 punchoutSite property. * * @return * possible object is * {@link PunchoutSiteSummary } * */ public PunchoutSiteSummary getPunchoutSite() { return punchoutSite; } /** * Sets the value of the punchoutSite property. * * @param value * allowed object is * {@link PunchoutSiteSummary } * */ public void setPunchoutSite(PunchoutSiteSummary value) { this.punchoutSite = 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 paymentTerm property. * * @return * possible object is * {@link PaymentTermSummary } * */ public PaymentTermSummary getPaymentTerm() { return paymentTerm; } /** * Sets the value of the paymentTerm property. * * @param value * allowed object is * {@link PaymentTermSummary } * */ public void setPaymentTerm(PaymentTermSummary value) { this.paymentTerm = value; } /** * Gets the value of the shippingTerm property. * * @return * possible object is * {@link ShippingTermSummary } * */ public ShippingTermSummary getShippingTerm() { return shippingTerm; } /** * Sets the value of the shippingTerm property. * * @param value * allowed object is * {@link ShippingTermSummary } * */ public void setShippingTerm(ShippingTermSummary value) { this.shippingTerm = value; } /** * Gets the value of the assetTags property. * * @return * possible object is * {@link RequisitionLineSummary.AssetTags } * */ public RequisitionLineSummary.AssetTags getAssetTags() { return assetTags; } /** * Sets the value of the assetTags property. * * @param value * allowed object is * {@link RequisitionLineSummary.AssetTags } * */ public void setAssetTags(RequisitionLineSummary.AssetTags value) { this.assetTags = value; } /** * Gets the value of the attachments property. * * @return * possible object is * {@link RequisitionLineSummary.Attachments } * */ public RequisitionLineSummary.Attachments getAttachments() { return attachments; } /** * Sets the value of the attachments property. * * @param value * allowed object is * {@link RequisitionLineSummary.Attachments } * */ public void setAttachments(RequisitionLineSummary.Attachments value) { this.attachments = 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; } } }