public class

OpportunityItem

extends Object
java.lang.Object
   ↳ com.netsuite.webservices.transactions.sales_2010_2.OpportunityItem

Class Overview

Java class for OpportunityItem complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="OpportunityItem">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="job" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="item" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="line" type="{http://www.w3.org/2001/XMLSchema}long" 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="quantity" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="units" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="price" type="{urn:core_2010_2.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="altSalesAmt" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="revRecTermInMonths" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="options" type="{urn:core_2010_2.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
         <element name="fromJob" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="department" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="isEstimate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="location" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="class" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="costEstimateType" type="{urn:types.common_2010_2.platform.webservices.netsuite.com}ItemCostEstimateType" minOccurs="0"/>
         <element name="costEstimate" 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="tax1Amt" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="taxCode" type="{urn:core_2010_2.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="customFieldList" type="{urn:core_2010_2.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected Double altSalesAmt
protected Double amount
protected RecordRef clazz
protected Double costEstimate
protected ItemCostEstimateType costEstimateType
protected CustomFieldList customFieldList
protected RecordRef department
protected String description
protected Boolean fromJob
protected Double grossAmt
protected Boolean isEstimate
protected RecordRef item
protected RecordRef job
protected Long line
protected RecordRef location
protected CustomFieldList options
protected RecordRef price
protected Double quantity
protected Double quantityAvailable
protected Double quantityOnHand
protected String rate
protected Long revRecTermInMonths
protected Double tax1Amt
protected RecordRef taxCode
protected Double taxRate1
protected Double taxRate2
protected RecordRef units
Public Constructors
OpportunityItem()
Public Methods
Double getAltSalesAmt()
Gets the value of the altSalesAmt property.
Double getAmount()
Gets the value of the amount property.
RecordRef getClazz()
Gets the value of the clazz property.
Double getCostEstimate()
Gets the value of the costEstimate property.
ItemCostEstimateType getCostEstimateType()
Gets the value of the costEstimateType property.
CustomFieldList getCustomFieldList()
Gets the value of the customFieldList property.
RecordRef getDepartment()
Gets the value of the department property.
String getDescription()
Gets the value of the description property.
Double getGrossAmt()
Gets the value of the grossAmt property.
RecordRef getItem()
Gets the value of the item property.
RecordRef getJob()
Gets the value of the job property.
Long getLine()
Gets the value of the line property.
RecordRef getLocation()
Gets the value of the location property.
CustomFieldList getOptions()
Gets the value of the options property.
RecordRef getPrice()
Gets the value of the price property.
Double getQuantity()
Gets the value of the quantity property.
Double getQuantityAvailable()
Gets the value of the quantityAvailable property.
Double getQuantityOnHand()
Gets the value of the quantityOnHand property.
String getRate()
Gets the value of the rate property.
Long getRevRecTermInMonths()
Gets the value of the revRecTermInMonths property.
Double getTax1Amt()
Gets the value of the tax1Amt property.
RecordRef getTaxCode()
Gets the value of the taxCode property.
Double getTaxRate1()
Gets the value of the taxRate1 property.
Double getTaxRate2()
Gets the value of the taxRate2 property.
RecordRef getUnits()
Gets the value of the units property.
Boolean isFromJob()
Gets the value of the fromJob property.
Boolean isIsEstimate()
Gets the value of the isEstimate property.
void setAltSalesAmt(Double value)
Sets the value of the altSalesAmt property.
void setAmount(Double value)
Sets the value of the amount property.
void setClazz(RecordRef value)
Sets the value of the clazz property.
void setCostEstimate(Double value)
Sets the value of the costEstimate property.
void setCostEstimateType(ItemCostEstimateType value)
Sets the value of the costEstimateType property.
void setCustomFieldList(CustomFieldList value)
Sets the value of the customFieldList property.
void setDepartment(RecordRef value)
Sets the value of the department property.
void setDescription(String value)
Sets the value of the description property.
void setFromJob(Boolean value)
Sets the value of the fromJob property.
void setGrossAmt(Double value)
Sets the value of the grossAmt property.
void setIsEstimate(Boolean value)
Sets the value of the isEstimate property.
void setItem(RecordRef value)
Sets the value of the item property.
void setJob(RecordRef value)
Sets the value of the job property.
void setLine(Long value)
Sets the value of the line property.
void setLocation(RecordRef value)
Sets the value of the location property.
void setOptions(CustomFieldList value)
Sets the value of the options property.
void setPrice(RecordRef value)
Sets the value of the price property.
void setQuantity(Double value)
Sets the value of the quantity property.
void setQuantityAvailable(Double value)
Sets the value of the quantityAvailable property.
void setQuantityOnHand(Double value)
Sets the value of the quantityOnHand property.
void setRate(String value)
Sets the value of the rate property.
void setRevRecTermInMonths(Long value)
Sets the value of the revRecTermInMonths property.
void setTax1Amt(Double value)
Sets the value of the tax1Amt property.
void setTaxCode(RecordRef value)
Sets the value of the taxCode property.
void setTaxRate1(Double value)
Sets the value of the taxRate1 property.
void setTaxRate2(Double value)
Sets the value of the taxRate2 property.
void setUnits(RecordRef value)
Sets the value of the units property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected Double altSalesAmt

protected Double amount

protected RecordRef clazz

protected Double costEstimate

protected ItemCostEstimateType costEstimateType

protected CustomFieldList customFieldList

protected RecordRef department

protected String description

protected Boolean fromJob

protected Double grossAmt

protected Boolean isEstimate

protected RecordRef item

protected RecordRef job

protected Long line

protected RecordRef location

protected CustomFieldList options

protected RecordRef price

protected Double quantity

protected Double quantityAvailable

protected Double quantityOnHand

protected String rate

protected Long revRecTermInMonths

protected Double tax1Amt

protected RecordRef taxCode

protected Double taxRate1

protected Double taxRate2

protected RecordRef units

Public Constructors

public OpportunityItem ()

Public Methods

public Double getAltSalesAmt ()

Gets the value of the altSalesAmt property.

Returns
  • possible object is Double

public Double getAmount ()

Gets the value of the amount property.

Returns
  • possible object is Double

public RecordRef getClazz ()

Gets the value of the clazz property.

Returns

public Double getCostEstimate ()

Gets the value of the costEstimate property.

Returns
  • possible object is Double

public ItemCostEstimateType getCostEstimateType ()

Gets the value of the costEstimateType property.

Returns

public CustomFieldList getCustomFieldList ()

Gets the value of the customFieldList property.

Returns

public RecordRef getDepartment ()

Gets the value of the department property.

Returns

public String getDescription ()

Gets the value of the description property.

Returns
  • possible object is String

public Double getGrossAmt ()

Gets the value of the grossAmt property.

Returns
  • possible object is Double

public RecordRef getItem ()

Gets the value of the item property.

Returns

public RecordRef getJob ()

Gets the value of the job property.

Returns

public Long getLine ()

Gets the value of the line property.

Returns
  • possible object is Long

public RecordRef getLocation ()

Gets the value of the location property.

Returns

public CustomFieldList getOptions ()

Gets the value of the options property.

Returns

public RecordRef getPrice ()

Gets the value of the price property.

Returns

public Double getQuantity ()

Gets the value of the quantity property.

Returns
  • possible object is Double

public Double getQuantityAvailable ()

Gets the value of the quantityAvailable property.

Returns
  • possible object is Double

public Double getQuantityOnHand ()

Gets the value of the quantityOnHand property.

Returns
  • possible object is Double

public String getRate ()

Gets the value of the rate property.

Returns
  • possible object is String

public Long getRevRecTermInMonths ()

Gets the value of the revRecTermInMonths property.

Returns
  • possible object is Long

public Double getTax1Amt ()

Gets the value of the tax1Amt property.

Returns
  • possible object is Double

public RecordRef getTaxCode ()

Gets the value of the taxCode property.

Returns

public Double getTaxRate1 ()

Gets the value of the taxRate1 property.

Returns
  • possible object is Double

public Double getTaxRate2 ()

Gets the value of the taxRate2 property.

Returns
  • possible object is Double

public RecordRef getUnits ()

Gets the value of the units property.

Returns

public Boolean isFromJob ()

Gets the value of the fromJob property.

Returns
  • possible object is Boolean

public Boolean isIsEstimate ()

Gets the value of the isEstimate property.

Returns
  • possible object is Boolean

public void setAltSalesAmt (Double value)

Sets the value of the altSalesAmt property.

Parameters
value Allowed object is Double

public void setAmount (Double value)

Sets the value of the amount property.

Parameters
value Allowed object is Double

public void setClazz (RecordRef value)

Sets the value of the clazz property.

Parameters
value Allowed object is RecordRef

public void setCostEstimate (Double value)

Sets the value of the costEstimate property.

Parameters
value Allowed object is Double

public void setCostEstimateType (ItemCostEstimateType value)

Sets the value of the costEstimateType property.

Parameters
value Allowed object is ItemCostEstimateType

public void setCustomFieldList (CustomFieldList value)

Sets the value of the customFieldList property.

Parameters
value Allowed object is CustomFieldList

public void setDepartment (RecordRef value)

Sets the value of the department property.

Parameters
value Allowed object is RecordRef

public void setDescription (String value)

Sets the value of the description property.

Parameters
value Allowed object is String

public void setFromJob (Boolean value)

Sets the value of the fromJob property.

Parameters
value Allowed object is Boolean

public void setGrossAmt (Double value)

Sets the value of the grossAmt property.

Parameters
value Allowed object is Double

public void setIsEstimate (Boolean value)

Sets the value of the isEstimate property.

Parameters
value Allowed object is Boolean

public void setItem (RecordRef value)

Sets the value of the item property.

Parameters
value Allowed object is RecordRef

public void setJob (RecordRef value)

Sets the value of the job property.

Parameters
value Allowed object is RecordRef

public void setLine (Long value)

Sets the value of the line property.

Parameters
value Allowed object is Long

public void setLocation (RecordRef value)

Sets the value of the location property.

Parameters
value Allowed object is RecordRef

public void setOptions (CustomFieldList value)

Sets the value of the options property.

Parameters
value Allowed object is CustomFieldList

public void setPrice (RecordRef value)

Sets the value of the price property.

Parameters
value Allowed object is RecordRef

public void setQuantity (Double value)

Sets the value of the quantity property.

Parameters
value Allowed object is Double

public void setQuantityAvailable (Double value)

Sets the value of the quantityAvailable property.

Parameters
value Allowed object is Double

public void setQuantityOnHand (Double value)

Sets the value of the quantityOnHand property.

Parameters
value Allowed object is Double

public void setRate (String value)

Sets the value of the rate property.

Parameters
value Allowed object is String

public void setRevRecTermInMonths (Long value)

Sets the value of the revRecTermInMonths property.

Parameters
value Allowed object is Long

public void setTax1Amt (Double value)

Sets the value of the tax1Amt property.

Parameters
value Allowed object is Double

public void setTaxCode (RecordRef value)

Sets the value of the taxCode property.

Parameters
value Allowed object is RecordRef

public void setTaxRate1 (Double value)

Sets the value of the taxRate1 property.

Parameters
value Allowed object is Double

public void setTaxRate2 (Double value)

Sets the value of the taxRate2 property.

Parameters
value Allowed object is Double

public void setUnits (RecordRef value)

Sets the value of the units property.

Parameters
value Allowed object is RecordRef