public class

DiscountItem

extends Record
java.lang.Object
   ↳ com.netsuite.webservices.platform.core_2010_2.Record
     ↳ com.netsuite.webservices.lists.accounting_2010_2.DiscountItem

Class Overview

Java class for DiscountItem complex type.

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

 <complexType name="DiscountItem">
   <complexContent>
     <extension base="{urn:core_2010_2.platform.webservices.netsuite.com}Record">
       <sequence>
         <element name="createdDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="lastModifiedDate" 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="nonPosting" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="account" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="includeChildren" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="rate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="isPreTax" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="customForm" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="itemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="issueProduct" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="upcCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="vendorName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="parent" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="isInactive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="availableToPartners" 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="class" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="location" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="subsidiaryList" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRefList" minOccurs="0"/>
         <element name="taxSchedule" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="deferredRevenueAccount" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="expenseAccount" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="incomeAccount" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="revRecSchedule" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="salesTaxCode" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
         <element name="translationsList" type="{urn:accounting_2010_2.lists.webservices.netsuite.com}TranslationList" minOccurs="0"/>
         <element name="customFieldList" type="{urn:core_2010_2.platform.webservices.netsuite.com}CustomFieldList" minOccurs="0"/>
       </sequence>
       <attribute name="internalId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="externalId" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 

Summary

Fields
protected RecordRef account
protected Boolean availableToPartners
protected RecordRef clazz
protected XMLGregorianCalendar createdDate
protected CustomFieldList customFieldList
protected RecordRef customForm
protected RecordRef deferredRevenueAccount
protected RecordRef department
protected String description
protected String displayName
protected RecordRef expenseAccount
protected String externalId
protected Boolean includeChildren
protected RecordRef incomeAccount
protected String internalId
protected Boolean isInactive
protected Boolean isPreTax
protected RecordRef issueProduct
protected String itemId
protected XMLGregorianCalendar lastModifiedDate
protected RecordRef location
protected Boolean nonPosting
protected RecordRef parent
protected String rate
protected RecordRef revRecSchedule
protected RecordRef salesTaxCode
protected RecordRefList subsidiaryList
protected RecordRef taxSchedule
protected TranslationList translationsList
protected String upcCode
protected String vendorName
[Expand]
Inherited Fields
From class com.netsuite.webservices.platform.core_2010_2.Record
Public Constructors
DiscountItem()
Public Methods
RecordRef getAccount()
Gets the value of the account property.
RecordRef getClazz()
Gets the value of the clazz property.
XMLGregorianCalendar getCreatedDate()
Gets the value of the createdDate property.
CustomFieldList getCustomFieldList()
Gets the value of the customFieldList property.
RecordRef getCustomForm()
Gets the value of the customForm property.
RecordRef getDeferredRevenueAccount()
Gets the value of the deferredRevenueAccount property.
RecordRef getDepartment()
Gets the value of the department property.
String getDescription()
Gets the value of the description property.
String getDisplayName()
Gets the value of the displayName property.
RecordRef getExpenseAccount()
Gets the value of the expenseAccount property.
String getExternalId()
Gets the value of the externalId property.
RecordRef getIncomeAccount()
Gets the value of the incomeAccount property.
String getInternalId()
Gets the value of the internalId property.
RecordRef getIssueProduct()
Gets the value of the issueProduct property.
String getItemId()
Gets the value of the itemId property.
XMLGregorianCalendar getLastModifiedDate()
Gets the value of the lastModifiedDate property.
RecordRef getLocation()
Gets the value of the location property.
RecordRef getParent()
Gets the value of the parent property.
String getRate()
Gets the value of the rate property.
RecordRef getRevRecSchedule()
Gets the value of the revRecSchedule property.
RecordRef getSalesTaxCode()
Gets the value of the salesTaxCode property.
RecordRefList getSubsidiaryList()
Gets the value of the subsidiaryList property.
RecordRef getTaxSchedule()
Gets the value of the taxSchedule property.
TranslationList getTranslationsList()
Gets the value of the translationsList property.
String getUpcCode()
Gets the value of the upcCode property.
String getVendorName()
Gets the value of the vendorName property.
Boolean isAvailableToPartners()
Gets the value of the availableToPartners property.
Boolean isIncludeChildren()
Gets the value of the includeChildren property.
Boolean isIsInactive()
Gets the value of the isInactive property.
Boolean isIsPreTax()
Gets the value of the isPreTax property.
Boolean isNonPosting()
Gets the value of the nonPosting property.
void setAccount(RecordRef value)
Sets the value of the account property.
void setAvailableToPartners(Boolean value)
Sets the value of the availableToPartners property.
void setClazz(RecordRef value)
Sets the value of the clazz property.
void setCreatedDate(XMLGregorianCalendar value)
Sets the value of the createdDate property.
void setCustomFieldList(CustomFieldList value)
Sets the value of the customFieldList property.
void setCustomForm(RecordRef value)
Sets the value of the customForm property.
void setDeferredRevenueAccount(RecordRef value)
Sets the value of the deferredRevenueAccount property.
void setDepartment(RecordRef value)
Sets the value of the department property.
void setDescription(String value)
Sets the value of the description property.
void setDisplayName(String value)
Sets the value of the displayName property.
void setExpenseAccount(RecordRef value)
Sets the value of the expenseAccount property.
void setExternalId(String value)
Sets the value of the externalId property.
void setIncludeChildren(Boolean value)
Sets the value of the includeChildren property.
void setIncomeAccount(RecordRef value)
Sets the value of the incomeAccount property.
void setInternalId(String value)
Sets the value of the internalId property.
void setIsInactive(Boolean value)
Sets the value of the isInactive property.
void setIsPreTax(Boolean value)
Sets the value of the isPreTax property.
void setIssueProduct(RecordRef value)
Sets the value of the issueProduct property.
void setItemId(String value)
Sets the value of the itemId property.
void setLastModifiedDate(XMLGregorianCalendar value)
Sets the value of the lastModifiedDate property.
void setLocation(RecordRef value)
Sets the value of the location property.
void setNonPosting(Boolean value)
Sets the value of the nonPosting property.
void setParent(RecordRef value)
Sets the value of the parent property.
void setRate(String value)
Sets the value of the rate property.
void setRevRecSchedule(RecordRef value)
Sets the value of the revRecSchedule property.
void setSalesTaxCode(RecordRef value)
Sets the value of the salesTaxCode property.
void setSubsidiaryList(RecordRefList value)
Sets the value of the subsidiaryList property.
void setTaxSchedule(RecordRef value)
Sets the value of the taxSchedule property.
void setTranslationsList(TranslationList value)
Sets the value of the translationsList property.
void setUpcCode(String value)
Sets the value of the upcCode property.
void setVendorName(String value)
Sets the value of the vendorName property.
[Expand]
Inherited Methods
From class com.netsuite.webservices.platform.core_2010_2.Record
From class java.lang.Object

Fields

protected RecordRef account

protected Boolean availableToPartners

protected RecordRef clazz

protected XMLGregorianCalendar createdDate

protected CustomFieldList customFieldList

protected RecordRef customForm

protected RecordRef deferredRevenueAccount

protected RecordRef department

protected String description

protected String displayName

protected RecordRef expenseAccount

protected String externalId

protected Boolean includeChildren

protected RecordRef incomeAccount

protected String internalId

protected Boolean isInactive

protected Boolean isPreTax

protected RecordRef issueProduct

protected String itemId

protected XMLGregorianCalendar lastModifiedDate

protected RecordRef location

protected Boolean nonPosting

protected RecordRef parent

protected String rate

protected RecordRef revRecSchedule

protected RecordRef salesTaxCode

protected RecordRefList subsidiaryList

protected RecordRef taxSchedule

protected TranslationList translationsList

protected String upcCode

protected String vendorName

Public Constructors

public DiscountItem ()

Public Methods

public RecordRef getAccount ()

Gets the value of the account property.

Returns

public RecordRef getClazz ()

Gets the value of the clazz property.

Returns

public XMLGregorianCalendar getCreatedDate ()

Gets the value of the createdDate property.

Returns
  • possible object is XMLGregorianCalendar

public CustomFieldList getCustomFieldList ()

Gets the value of the customFieldList property.

Returns

public RecordRef getCustomForm ()

Gets the value of the customForm property.

Returns

public RecordRef getDeferredRevenueAccount ()

Gets the value of the deferredRevenueAccount 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 String getDisplayName ()

Gets the value of the displayName property.

Returns
  • possible object is String

public RecordRef getExpenseAccount ()

Gets the value of the expenseAccount property.

Returns

public String getExternalId ()

Gets the value of the externalId property.

Returns
  • possible object is String

public RecordRef getIncomeAccount ()

Gets the value of the incomeAccount property.

Returns

public String getInternalId ()

Gets the value of the internalId property.

Returns
  • possible object is String

public RecordRef getIssueProduct ()

Gets the value of the issueProduct property.

Returns

public String getItemId ()

Gets the value of the itemId property.

Returns
  • possible object is String

public XMLGregorianCalendar getLastModifiedDate ()

Gets the value of the lastModifiedDate property.

Returns
  • possible object is XMLGregorianCalendar

public RecordRef getLocation ()

Gets the value of the location property.

Returns

public RecordRef getParent ()

Gets the value of the parent property.

Returns

public String getRate ()

Gets the value of the rate property.

Returns
  • possible object is String

public RecordRef getRevRecSchedule ()

Gets the value of the revRecSchedule property.

Returns

public RecordRef getSalesTaxCode ()

Gets the value of the salesTaxCode property.

Returns

public RecordRefList getSubsidiaryList ()

Gets the value of the subsidiaryList property.

Returns

public RecordRef getTaxSchedule ()

Gets the value of the taxSchedule property.

Returns

public TranslationList getTranslationsList ()

Gets the value of the translationsList property.

Returns

public String getUpcCode ()

Gets the value of the upcCode property.

Returns
  • possible object is String

public String getVendorName ()

Gets the value of the vendorName property.

Returns
  • possible object is String

public Boolean isAvailableToPartners ()

Gets the value of the availableToPartners property.

Returns
  • possible object is Boolean

public Boolean isIncludeChildren ()

Gets the value of the includeChildren property.

Returns
  • possible object is Boolean

public Boolean isIsInactive ()

Gets the value of the isInactive property.

Returns
  • possible object is Boolean

public Boolean isIsPreTax ()

Gets the value of the isPreTax property.

Returns
  • possible object is Boolean

public Boolean isNonPosting ()

Gets the value of the nonPosting property.

Returns
  • possible object is Boolean

public void setAccount (RecordRef value)

Sets the value of the account property.

Parameters
value Allowed object is RecordRef

public void setAvailableToPartners (Boolean value)

Sets the value of the availableToPartners property.

Parameters
value Allowed object is Boolean

public void setClazz (RecordRef value)

Sets the value of the clazz property.

Parameters
value Allowed object is RecordRef

public void setCreatedDate (XMLGregorianCalendar value)

Sets the value of the createdDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setCustomFieldList (CustomFieldList value)

Sets the value of the customFieldList property.

Parameters
value Allowed object is CustomFieldList

public void setCustomForm (RecordRef value)

Sets the value of the customForm property.

Parameters
value Allowed object is RecordRef

public void setDeferredRevenueAccount (RecordRef value)

Sets the value of the deferredRevenueAccount property.

Parameters
value Allowed object is RecordRef

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 setDisplayName (String value)

Sets the value of the displayName property.

Parameters
value Allowed object is String

public void setExpenseAccount (RecordRef value)

Sets the value of the expenseAccount property.

Parameters
value Allowed object is RecordRef

public void setExternalId (String value)

Sets the value of the externalId property.

Parameters
value Allowed object is String

public void setIncludeChildren (Boolean value)

Sets the value of the includeChildren property.

Parameters
value Allowed object is Boolean

public void setIncomeAccount (RecordRef value)

Sets the value of the incomeAccount property.

Parameters
value Allowed object is RecordRef

public void setInternalId (String value)

Sets the value of the internalId property.

Parameters
value Allowed object is String

public void setIsInactive (Boolean value)

Sets the value of the isInactive property.

Parameters
value Allowed object is Boolean

public void setIsPreTax (Boolean value)

Sets the value of the isPreTax property.

Parameters
value Allowed object is Boolean

public void setIssueProduct (RecordRef value)

Sets the value of the issueProduct property.

Parameters
value Allowed object is RecordRef

public void setItemId (String value)

Sets the value of the itemId property.

Parameters
value Allowed object is String

public void setLastModifiedDate (XMLGregorianCalendar value)

Sets the value of the lastModifiedDate property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setLocation (RecordRef value)

Sets the value of the location property.

Parameters
value Allowed object is RecordRef

public void setNonPosting (Boolean value)

Sets the value of the nonPosting property.

Parameters
value Allowed object is Boolean

public void setParent (RecordRef value)

Sets the value of the parent property.

Parameters
value Allowed object is RecordRef

public void setRate (String value)

Sets the value of the rate property.

Parameters
value Allowed object is String

public void setRevRecSchedule (RecordRef value)

Sets the value of the revRecSchedule property.

Parameters
value Allowed object is RecordRef

public void setSalesTaxCode (RecordRef value)

Sets the value of the salesTaxCode property.

Parameters
value Allowed object is RecordRef

public void setSubsidiaryList (RecordRefList value)

Sets the value of the subsidiaryList property.

Parameters
value Allowed object is RecordRefList

public void setTaxSchedule (RecordRef value)

Sets the value of the taxSchedule property.

Parameters
value Allowed object is RecordRef

public void setTranslationsList (TranslationList value)

Sets the value of the translationsList property.

Parameters
value Allowed object is TranslationList

public void setUpcCode (String value)

Sets the value of the upcCode property.

Parameters
value Allowed object is String

public void setVendorName (String value)

Sets the value of the vendorName property.

Parameters
value Allowed object is String