| java.lang.Object | ||
| ↳ | com.netsuite.webservices.platform.core_2010_2.Record | |
| ↳ | com.netsuite.webservices.lists.marketing_2010_2.PromotionCode | |
Java class for PromotionCode complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PromotionCode">
<complexContent>
<extension base="{urn:core_2010_2.platform.webservices.netsuite.com}Record">
<sequence>
<element name="customForm" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
<element name="code" 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="isInactive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="discount" 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="discountType" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="applyDiscountTo" type="{urn:types.marketing_2010_2.lists.webservices.netsuite.com}PromotionCodeApplyDiscountTo" minOccurs="0"/>
<element name="freeShipMethod" type="{urn:core_2010_2.platform.webservices.netsuite.com}RecordRef" minOccurs="0"/>
<element name="minimumOrderAmount" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="endDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="isPublic" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="currencyList" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}PromotionCodeCurrencyList" minOccurs="0"/>
<element name="excludeItems" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="itemsList" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}PromotionCodeItemsList" minOccurs="0"/>
<element name="partnersList" type="{urn:marketing_2010_2.lists.webservices.netsuite.com}PromotionCodePartnersList" 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>
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| applyDiscountTo | |||||||||||
| code | |||||||||||
| currencyList | |||||||||||
| customForm | |||||||||||
| description | |||||||||||
| discount | |||||||||||
| discountType | |||||||||||
| endDate | |||||||||||
| excludeItems | |||||||||||
| externalId | |||||||||||
| freeShipMethod | |||||||||||
| internalId | |||||||||||
| isInactive | |||||||||||
| isPublic | |||||||||||
| itemsList | |||||||||||
| minimumOrderAmount | |||||||||||
| partnersList | |||||||||||
| rate | |||||||||||
| startDate | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.netsuite.webservices.platform.core_2010_2.Record
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the value of the applyDiscountTo property.
| |||||||||||
Gets the value of the code property.
| |||||||||||
Gets the value of the currencyList property.
| |||||||||||
Gets the value of the customForm property.
| |||||||||||
Gets the value of the description property.
| |||||||||||
Gets the value of the discount property.
| |||||||||||
Gets the value of the endDate property.
| |||||||||||
Gets the value of the externalId property.
| |||||||||||
Gets the value of the freeShipMethod property.
| |||||||||||
Gets the value of the internalId property.
| |||||||||||
Gets the value of the itemsList property.
| |||||||||||
Gets the value of the minimumOrderAmount property.
| |||||||||||
Gets the value of the partnersList property.
| |||||||||||
Gets the value of the rate property.
| |||||||||||
Gets the value of the startDate property.
| |||||||||||
Gets the value of the discountType property.
| |||||||||||
Gets the value of the excludeItems property.
| |||||||||||
Gets the value of the isInactive property.
| |||||||||||
Gets the value of the isPublic property.
| |||||||||||
Sets the value of the applyDiscountTo property.
| |||||||||||
Sets the value of the code property.
| |||||||||||
Sets the value of the currencyList property.
| |||||||||||
Sets the value of the customForm property.
| |||||||||||
Sets the value of the description property.
| |||||||||||
Sets the value of the discount property.
| |||||||||||
Sets the value of the discountType property.
| |||||||||||
Sets the value of the endDate property.
| |||||||||||
Sets the value of the excludeItems property.
| |||||||||||
Sets the value of the externalId property.
| |||||||||||
Sets the value of the freeShipMethod property.
| |||||||||||
Sets the value of the internalId property.
| |||||||||||
Sets the value of the isInactive property.
| |||||||||||
Sets the value of the isPublic property.
| |||||||||||
Sets the value of the itemsList property.
| |||||||||||
Sets the value of the minimumOrderAmount property.
| |||||||||||
Sets the value of the partnersList property.
| |||||||||||
Sets the value of the rate property.
| |||||||||||
Sets the value of the startDate property.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.netsuite.webservices.platform.core_2010_2.Record
| |||||||||||
From class
java.lang.Object
| |||||||||||
Gets the value of the applyDiscountTo property.
PromotionCodeApplyDiscountTo
Gets the value of the code property.
Gets the value of the currencyList property.
PromotionCodeCurrencyList
Gets the value of the customForm property.
RecordRef
Gets the value of the description property.
Gets the value of the discount property.
RecordRef
Gets the value of the endDate property.
Gets the value of the externalId property.
Gets the value of the freeShipMethod property.
RecordRef
Gets the value of the internalId property.
Gets the value of the itemsList property.
PromotionCodeItemsList
Gets the value of the minimumOrderAmount property.
Gets the value of the partnersList property.
PromotionCodePartnersList
Gets the value of the rate property.
Gets the value of the startDate property.
Gets the value of the discountType property.
Gets the value of the excludeItems property.
Gets the value of the isInactive property.
Gets the value of the isPublic property.
Sets the value of the applyDiscountTo property.
| value | Allowed object is
PromotionCodeApplyDiscountTo
|
|---|
Sets the value of the code property.
| value | Allowed object is String |
|---|
Sets the value of the currencyList property.
| value | Allowed object is
PromotionCodeCurrencyList
|
|---|
Sets the value of the customForm property.
| value | Allowed object is
RecordRef
|
|---|
Sets the value of the description property.
| value | Allowed object is String |
|---|
Sets the value of the discount property.
| value | Allowed object is
RecordRef
|
|---|
Sets the value of the discountType property.
| value | Allowed object is Boolean |
|---|
Sets the value of the endDate property.
| value | Allowed object is XMLGregorianCalendar |
|---|
Sets the value of the excludeItems property.
| value | Allowed object is Boolean |
|---|
Sets the value of the externalId property.
| value | Allowed object is String |
|---|
Sets the value of the freeShipMethod property.
| value | Allowed object is
RecordRef
|
|---|
Sets the value of the internalId property.
| value | Allowed object is String |
|---|
Sets the value of the isInactive property.
| value | Allowed object is Boolean |
|---|
Sets the value of the isPublic property.
| value | Allowed object is Boolean |
|---|
Sets the value of the itemsList property.
| value | Allowed object is
PromotionCodeItemsList
|
|---|
Sets the value of the minimumOrderAmount property.
| value | Allowed object is Double |
|---|
Sets the value of the partnersList property.
| value | Allowed object is
PromotionCodePartnersList
|
|---|
Sets the value of the rate property.
| value | Allowed object is String |
|---|
Sets the value of the startDate property.
| value | Allowed object is XMLGregorianCalendar |
|---|