com.bytekast.netsuite.client.PurchaseOrderItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netsuite-suitetalk Show documentation
Show all versions of netsuite-suitetalk Show documentation
Client API for NetSuite Suitetalk Web Services
The newest version!
package com.bytekast.netsuite.client;
import java.io.Serializable;
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;
/**
* Java class for PurchaseOrderItem complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PurchaseOrderItem">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="item" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="line" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="quantityOnShipments" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="vendorName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="quantityReceived" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="quantityBilled" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="quantityAvailable" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="quantityOnHand" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="taxCode" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="taxRate1" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="taxRate2" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="tax1Amt" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="grossAmt" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="units" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="inventoryDetail" type="{urn:common_2017_1.platform.webservices.netsuite.com}InventoryDetail" minOccurs="0"/>
* <element name="serialNumbers" 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="purchaseContract" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="rate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="amount" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="options" type="{urn:core_2017_1.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
* <element name="taxAmount" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
* <element name="department" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="class" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="location" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="landedCostCategory" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="customer" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="isBillable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="billVarianceStatus" type="{urn:types.purchases_2017_1.transactions.webservices.netsuite.com}TransactionBillVarianceStatus" minOccurs="0"/>
* <element name="matchBillToReceipt" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="expectedReceiptDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="isClosed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="taxDetailsReference" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="createdFrom" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
* <element name="linkedOrderList" type="{urn:core_2017_1.platform.webservices.netsuite.com}RecordRefList" minOccurs="0"/>
* <element name="customFieldList" type="{urn:core_2017_1.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PurchaseOrderItem", namespace = "urn:purchases_2017_1.transactions.webservices.netsuite.com", propOrder = {
"item",
"line",
"quantityOnShipments",
"vendorName",
"quantityReceived",
"quantityBilled",
"quantityAvailable",
"quantityOnHand",
"taxCode",
"taxRate1",
"taxRate2",
"quantity",
"tax1Amt",
"grossAmt",
"units",
"inventoryDetail",
"serialNumbers",
"description",
"purchaseContract",
"rate",
"amount",
"options",
"taxAmount",
"department",
"clazz",
"location",
"landedCostCategory",
"customer",
"isBillable",
"billVarianceStatus",
"matchBillToReceipt",
"expectedReceiptDate",
"isClosed",
"taxDetailsReference",
"createdFrom",
"linkedOrderList",
"customFieldList"
})
public class PurchaseOrderItem
implements Serializable
{
protected RecordRef item;
protected Long line;
protected Double quantityOnShipments;
protected String vendorName;
protected Double quantityReceived;
protected Double quantityBilled;
protected Double quantityAvailable;
protected Double quantityOnHand;
protected RecordRef taxCode;
protected Double taxRate1;
protected Double taxRate2;
protected Double quantity;
protected Double tax1Amt;
protected Double grossAmt;
protected RecordRef units;
protected InventoryDetail inventoryDetail;
protected String serialNumbers;
protected String description;
protected RecordRef purchaseContract;
protected String rate;
protected Double amount;
protected CustomFieldList options;
protected Double taxAmount;
protected RecordRef department;
@XmlElement(name = "class")
protected RecordRef clazz;
protected RecordRef location;
protected RecordRef landedCostCategory;
protected RecordRef customer;
protected Boolean isBillable;
@XmlSchemaType(name = "string")
protected TransactionBillVarianceStatus billVarianceStatus;
protected Boolean matchBillToReceipt;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar expectedReceiptDate;
protected Boolean isClosed;
protected String taxDetailsReference;
protected RecordRef createdFrom;
protected RecordRefList linkedOrderList;
protected CustomFieldList customFieldList;
/**
* Gets the value of the item property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getItem() {
return item;
}
/**
* Sets the value of the item property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setItem(RecordRef value) {
this.item = value;
}
/**
* Gets the value of the line property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getLine() {
return line;
}
/**
* Sets the value of the line property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setLine(Long value) {
this.line = value;
}
/**
* Gets the value of the quantityOnShipments property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getQuantityOnShipments() {
return quantityOnShipments;
}
/**
* Sets the value of the quantityOnShipments property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setQuantityOnShipments(Double value) {
this.quantityOnShipments = value;
}
/**
* Gets the value of the vendorName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVendorName() {
return vendorName;
}
/**
* Sets the value of the vendorName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVendorName(String value) {
this.vendorName = value;
}
/**
* Gets the value of the quantityReceived property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getQuantityReceived() {
return quantityReceived;
}
/**
* Sets the value of the quantityReceived property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setQuantityReceived(Double value) {
this.quantityReceived = value;
}
/**
* Gets the value of the quantityBilled property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getQuantityBilled() {
return quantityBilled;
}
/**
* Sets the value of the quantityBilled property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setQuantityBilled(Double value) {
this.quantityBilled = value;
}
/**
* Gets the value of the quantityAvailable property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getQuantityAvailable() {
return quantityAvailable;
}
/**
* Sets the value of the quantityAvailable property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setQuantityAvailable(Double value) {
this.quantityAvailable = value;
}
/**
* Gets the value of the quantityOnHand property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getQuantityOnHand() {
return quantityOnHand;
}
/**
* Sets the value of the quantityOnHand property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setQuantityOnHand(Double value) {
this.quantityOnHand = value;
}
/**
* Gets the value of the taxCode property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getTaxCode() {
return taxCode;
}
/**
* Sets the value of the taxCode property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setTaxCode(RecordRef value) {
this.taxCode = value;
}
/**
* Gets the value of the taxRate1 property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getTaxRate1() {
return taxRate1;
}
/**
* Sets the value of the taxRate1 property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setTaxRate1(Double value) {
this.taxRate1 = value;
}
/**
* Gets the value of the taxRate2 property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getTaxRate2() {
return taxRate2;
}
/**
* Sets the value of the taxRate2 property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setTaxRate2(Double value) {
this.taxRate2 = value;
}
/**
* Gets the value of the quantity property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setQuantity(Double value) {
this.quantity = value;
}
/**
* Gets the value of the tax1Amt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getTax1Amt() {
return tax1Amt;
}
/**
* Sets the value of the tax1Amt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setTax1Amt(Double value) {
this.tax1Amt = value;
}
/**
* Gets the value of the grossAmt property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getGrossAmt() {
return grossAmt;
}
/**
* Sets the value of the grossAmt property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setGrossAmt(Double value) {
this.grossAmt = value;
}
/**
* Gets the value of the units property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getUnits() {
return units;
}
/**
* Sets the value of the units property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setUnits(RecordRef value) {
this.units = value;
}
/**
* Gets the value of the inventoryDetail property.
*
* @return
* possible object is
* {@link InventoryDetail }
*
*/
public InventoryDetail getInventoryDetail() {
return inventoryDetail;
}
/**
* Sets the value of the inventoryDetail property.
*
* @param value
* allowed object is
* {@link InventoryDetail }
*
*/
public void setInventoryDetail(InventoryDetail value) {
this.inventoryDetail = value;
}
/**
* Gets the value of the serialNumbers property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSerialNumbers() {
return serialNumbers;
}
/**
* Sets the value of the serialNumbers property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSerialNumbers(String value) {
this.serialNumbers = 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 purchaseContract property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getPurchaseContract() {
return purchaseContract;
}
/**
* Sets the value of the purchaseContract property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setPurchaseContract(RecordRef value) {
this.purchaseContract = value;
}
/**
* Gets the value of the rate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRate() {
return rate;
}
/**
* Sets the value of the rate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRate(String value) {
this.rate = value;
}
/**
* Gets the value of the amount property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getAmount() {
return amount;
}
/**
* Sets the value of the amount property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setAmount(Double value) {
this.amount = value;
}
/**
* Gets the value of the options property.
*
* @return
* possible object is
* {@link CustomFieldList }
*
*/
public CustomFieldList getOptions() {
return options;
}
/**
* Sets the value of the options property.
*
* @param value
* allowed object is
* {@link CustomFieldList }
*
*/
public void setOptions(CustomFieldList value) {
this.options = value;
}
/**
* Gets the value of the taxAmount property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getTaxAmount() {
return taxAmount;
}
/**
* Sets the value of the taxAmount property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setTaxAmount(Double value) {
this.taxAmount = value;
}
/**
* Gets the value of the department property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getDepartment() {
return department;
}
/**
* Sets the value of the department property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setDepartment(RecordRef value) {
this.department = value;
}
/**
* Gets the value of the clazz property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getClazz() {
return clazz;
}
/**
* Sets the value of the clazz property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setClazz(RecordRef value) {
this.clazz = value;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setLocation(RecordRef value) {
this.location = value;
}
/**
* Gets the value of the landedCostCategory property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getLandedCostCategory() {
return landedCostCategory;
}
/**
* Sets the value of the landedCostCategory property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setLandedCostCategory(RecordRef value) {
this.landedCostCategory = value;
}
/**
* Gets the value of the customer property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getCustomer() {
return customer;
}
/**
* Sets the value of the customer property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setCustomer(RecordRef value) {
this.customer = value;
}
/**
* Gets the value of the isBillable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsBillable() {
return isBillable;
}
/**
* Sets the value of the isBillable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsBillable(Boolean value) {
this.isBillable = value;
}
/**
* Gets the value of the billVarianceStatus property.
*
* @return
* possible object is
* {@link TransactionBillVarianceStatus }
*
*/
public TransactionBillVarianceStatus getBillVarianceStatus() {
return billVarianceStatus;
}
/**
* Sets the value of the billVarianceStatus property.
*
* @param value
* allowed object is
* {@link TransactionBillVarianceStatus }
*
*/
public void setBillVarianceStatus(TransactionBillVarianceStatus value) {
this.billVarianceStatus = value;
}
/**
* Gets the value of the matchBillToReceipt property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMatchBillToReceipt() {
return matchBillToReceipt;
}
/**
* Sets the value of the matchBillToReceipt property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMatchBillToReceipt(Boolean value) {
this.matchBillToReceipt = value;
}
/**
* Gets the value of the expectedReceiptDate property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getExpectedReceiptDate() {
return expectedReceiptDate;
}
/**
* Sets the value of the expectedReceiptDate property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setExpectedReceiptDate(XMLGregorianCalendar value) {
this.expectedReceiptDate = value;
}
/**
* Gets the value of the isClosed property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsClosed() {
return isClosed;
}
/**
* Sets the value of the isClosed property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsClosed(Boolean value) {
this.isClosed = value;
}
/**
* Gets the value of the taxDetailsReference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTaxDetailsReference() {
return taxDetailsReference;
}
/**
* Sets the value of the taxDetailsReference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTaxDetailsReference(String value) {
this.taxDetailsReference = value;
}
/**
* Gets the value of the createdFrom property.
*
* @return
* possible object is
* {@link RecordRef }
*
*/
public RecordRef getCreatedFrom() {
return createdFrom;
}
/**
* Sets the value of the createdFrom property.
*
* @param value
* allowed object is
* {@link RecordRef }
*
*/
public void setCreatedFrom(RecordRef value) {
this.createdFrom = value;
}
/**
* Gets the value of the linkedOrderList property.
*
* @return
* possible object is
* {@link RecordRefList }
*
*/
public RecordRefList getLinkedOrderList() {
return linkedOrderList;
}
/**
* Sets the value of the linkedOrderList property.
*
* @param value
* allowed object is
* {@link RecordRefList }
*
*/
public void setLinkedOrderList(RecordRefList value) {
this.linkedOrderList = value;
}
/**
* Gets the value of the customFieldList property.
*
* @return
* possible object is
* {@link CustomFieldList }
*
*/
public CustomFieldList getCustomFieldList() {
return customFieldList;
}
/**
* Sets the value of the customFieldList property.
*
* @param value
* allowed object is
* {@link CustomFieldList }
*
*/
public void setCustomFieldList(CustomFieldList value) {
this.customFieldList = value;
}
}