public final class CSProductOptionContent extends CSItemContent
CSProductOption
object.
set/get
methods within CSProductOption
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSProductOption
,
Serialized FormConstructor and Description |
---|
CSProductOptionContent()
Creates an empty
CSProductOptionContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSProductOptionContent object is the same as that
contained within the one supplied. |
CSAttributeMultiple |
getAttributeMultiple()
Get the
CSAttributeMultiple object containing the CSAttribute objects associated with this
product option. |
double |
getCountryGrossPrice()
Gets the country gross price of the product option.
|
double |
getCountryNetPrice()
Gets the country net price of the product option.
|
double |
getCountryVat()
Gets the country VAT to be applied to the product option.
|
java.lang.String |
getCustomerProductID()
Gets the customer product ID of the product option.
|
java.lang.String |
getDescription()
Gets the description of the product option.
|
int |
getDisplayOrder()
Gets the display order of the product option.
|
double |
getGrossPrice()
Gets the default country's gross price of the product option.
|
CSMediaMultiple |
getMediaMultiple()
Get the
CSMediaMultiple object containing the CSMedia objects associated with this product
option. |
double |
getNetPrice()
Gets the default country's net price of the product option.
|
java.util.Date |
getNextStockDate()
Gets the date when the product option is next due in.
|
int |
getProductTypeID()
Gets the parent product type ID of the product option.
|
java.lang.String |
getProductTypeName()
Gets the parent product type name of the product option.
|
int |
getRelatedFormID()
Gets the related form ID of the product option.
|
java.lang.String |
getShippingRate()
Gets the shipping rate to be applied to the product option.
|
int |
getShippingSchemeID()
Gets the ID of the shipping scheme to be applied to the product option.
|
java.lang.String |
getShippingSchemeName()
Gets the name of the shipping scheme to be applied to the product option.
|
int |
getStockLevel()
Gets the stock level of the product option.
|
java.lang.String |
getUserData()
Gets the user data of the product option.
|
double |
getVat()
Gets the default country's VAT to be applied to the product option.
|
double |
getVatFixed()
Gets the fixed VAT to be applied to the product option, but only if the VAT scheme requires it.
|
int |
getVatSchemeID()
Gets the ID of the VAT scheme to be applied to the product option.
|
java.lang.String |
getVatSchemeVatCode()
Gets the VAT code of the VAT scheme to be applied to the product option.
|
void |
setAttributeMultiple(CSAttributeMultiple objAttributeMultiple)
Set the
CSAttributeMultiple object containing the CSAttribute objects associated with this
product option. |
void |
setCountryGrossPrice(double nCountryGrossPrice)
Sets the country gross price of the product option.
|
void |
setCountryNetPrice(double nCountryNetPrice)
Sets the country net price of the product option.
|
void |
setCountryVat(double nCountryVat)
Sets the country VAT to be applied to the product option.
|
void |
setCustomerProductID(java.lang.String strCustomerProductID)
Sets the customer product ID of the product option.
|
void |
setDescription(java.lang.String strDescription)
Sets the description of the product option.
|
void |
setDisplayOrder(int nDisplayOrder)
Sets the display order of the product option.
|
void |
setGrossPrice(double nGrossPrice)
Sets the default country's gross price of the product option.
|
void |
setMediaMultiple(CSMediaMultiple objMediaMultiple)
Set the
CSMediaMultiple object containing the CSMedia objects associated with this product
option. |
void |
setNetPrice(double nNetPrice)
Sets the default country's net price of the product option.
|
void |
setNextStockDate(java.util.Date objNextStockDate)
Sets the date when the product option is next due in.
|
void |
setProductTypeID(int nProductTypeID)
Sets the parent product type ID of the product option.
|
void |
setProductTypeName(java.lang.String strProductTypeName)
Sets the parent product type name of the product option.
|
void |
setRelatedFormID(int id)
Sets the related form ID of the product type.
|
void |
setShippingRate(java.lang.String strShippingRate)
Sets the shipping rate to be applied to the product option.
|
void |
setShippingSchemeID(int nShippingSchemeID)
Sets the ID of the shipping scheme to be applied to the product option.
|
void |
setShippingSchemeName(java.lang.String strShippingSchemeName)
Sets the name of the shipping scheme to be applied to the product option.
|
void |
setStockLevel(int nStockLevel)
Sets the stock level of the product option.
|
void |
setUserData(java.lang.String strUserData)
Sets the user data of the product option.
|
void |
setVat(double nVat)
Sets the default country's VAT to be applied to the product option.
|
void |
setVatFixed(double nVatFixed)
Sets the fixed VAT to be applied to the product option, but only if the VAT scheme requires it.
|
void |
setVatSchemeID(int nVatSchemeID)
Sets the ID of the VAT scheme to be applied to the product option.
|
void |
setVatSchemeVatCode(java.lang.String strVatSchemeVatCode)
Sets the VAT code of the VAT scheme to be applied to the product option.
|
void |
unset()
Clear all the content details of the
CSProductOptionContent object. |
clone, getID, setID, toString
public CSProductOptionContent()
CSProductOptionContent
object.public int getProductTypeID()
public void setProductTypeID(int nProductTypeID)
nProductTypeID
- the product option's parent product type ID.public java.lang.String getProductTypeName()
public void setProductTypeName(java.lang.String strProductTypeName)
strProductTypeName
- the product option's parent product type name.public java.lang.String getCustomerProductID()
public void setCustomerProductID(java.lang.String strCustomerProductID)
strCustomerProductID
- the product option's customer product ID.public java.lang.String getDescription()
public void setDescription(java.lang.String strDescription)
strDescription
- the product option's description.public int getStockLevel()
public void setStockLevel(int nStockLevel)
nStockLevel
- the product option's stock level.public java.util.Date getNextStockDate()
public void setNextStockDate(java.util.Date objNextStockDate)
objNextStockDate
- the date when the product option is next due in.public int getDisplayOrder()
public void setDisplayOrder(int nDisplayOrder)
nDisplayOrder
- the product option's display order.public int getVatSchemeID()
public void setVatSchemeID(int nVatSchemeID)
nVatSchemeID
- the product option's VAT scheme ID.public java.lang.String getVatSchemeVatCode()
public void setVatSchemeVatCode(java.lang.String strVatSchemeVatCode)
strVatSchemeVatCode
- the product option's VAT scheme's VAT code.public double getVatFixed()
public void setVatFixed(double nVatFixed)
nVatFixed
- the product option's fixed VAT.public int getShippingSchemeID()
public void setShippingSchemeID(int nShippingSchemeID)
nShippingSchemeID
- the product option's shipping scheme ID.public java.lang.String getShippingSchemeName()
public void setShippingSchemeName(java.lang.String strShippingSchemeName)
strShippingSchemeName
- the product option's shipping scheme name.public java.lang.String getShippingRate()
public void setShippingRate(java.lang.String strShippingRate)
strShippingRate
- the product option's shipping rate.public java.lang.String getUserData()
public void setUserData(java.lang.String strUserData)
strUserData
- the product option's user data.public CSAttributeMultiple getAttributeMultiple()
CSAttributeMultiple
object containing the CSAttribute
objects associated with this
product option.
CSAttributeMultiple
populated with CSAttribute
objects which represent attributes
associated with this product option.public void setAttributeMultiple(CSAttributeMultiple objAttributeMultiple)
CSAttributeMultiple
object containing the CSAttribute
objects associated with this
product option.
objAttributeMultiple
- a CSAttributeMultiple
object populated with CSAttribute
objects each of which
represents an attribute item associated with this product option.public CSMediaMultiple getMediaMultiple()
CSMediaMultiple
object containing the CSMedia
objects associated with this product
option.
CSMediaMultiple
populated with CSMedia
objects which represent media items associated
with this product option.public void setMediaMultiple(CSMediaMultiple objMediaMultiple)
CSMediaMultiple
object containing the CSMedia
objects associated with this product
option.
objMediaMultiple
- a CSMediaMultiple
object populated with CSMedia
objects each of which represents a
media item associated with this product option.public double getCountryVat()
public void setCountryVat(double nCountryVat)
nCountryVat
- the product option's country VAT.public double getCountryNetPrice()
public void setCountryNetPrice(double nCountryNetPrice)
nCountryNetPrice
- the product option's country net price.public double getCountryGrossPrice()
public void setCountryGrossPrice(double nCountryGrossPrice)
nCountryGrossPrice
- the product option's country gross price.public double getVat()
public void setVat(double nVat)
nVat
- the default country's VAT to be applied to the product option.public double getNetPrice()
public void setNetPrice(double nNetPrice)
nNetPrice
- the default country's net price of the product option.public double getGrossPrice()
public void setGrossPrice(double nGrossPrice)
nGrossPrice
- the default country's gross price of the product option.public int getRelatedFormID()
public void setRelatedFormID(int id)
id
- the product type's related form ID.public void unset()
CSProductOptionContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSProductOptionContent
object is the same as that
contained within the one supplied. Note that the key data used for searching is not tested for equality.
equals
in class CSItemContent
obj
- the CSProductOptionContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.