public final class CSVatSchemeContent extends CSItemContent
CSVatScheme
object.
set/get
methods within CSVatScheme
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSVatScheme
,
Serialized FormConstructor and Description |
---|
CSVatSchemeContent()
Creates an empty
CSVatSchemeContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSVatSchemeContent object is the same as that
contained within the one supplied. |
java.lang.Boolean |
getAddVat()
Gets the flag which indicates if VAT is to be added to the item price for the VAT scheme.
|
java.lang.String |
getDescription()
Gets the description of the VAT scheme.
|
int |
getDisplayOrder()
Gets the display order of the VAT scheme.
|
java.lang.String |
getUserData()
Gets the user data of the VAT scheme.
|
java.lang.String |
getVatCode()
Gets the VAT code of the VAT scheme to be used as key information.
|
void |
setAddVat(java.lang.Boolean bAddVat)
Sets the flag which indicates if VAT is to be added to the item price for the VAT scheme.
|
void |
setDescription(java.lang.String strDescription)
Sets the description of the VAT scheme.
|
void |
setDisplayOrder(int nDisplayOrder)
Sets the display order of the VAT scheme.
|
void |
setUserData(java.lang.String strUserData)
Sets the user data of the VAT scheme.
|
void |
setVatCode(java.lang.String strVatCode)
Sets the VAT code of the VAT scheme to be used as key information.
|
void |
unset()
Clear all the content details of the
CSVatSchemeContent object. |
clone, getID, setID, toString
public CSVatSchemeContent()
CSVatSchemeContent
object.public java.lang.String getVatCode()
public void setVatCode(java.lang.String strVatCode)
strVatCode
- the VAT scheme's VAT code to be used as key information.public java.lang.String getDescription()
public void setDescription(java.lang.String strDescription)
strDescription
- the VAT scheme's description.public java.lang.Boolean getAddVat()
public void setAddVat(java.lang.Boolean bAddVat)
bAddVat
- the VAT scheme's flag to indicate if VAT is to be added to the item price.public int getDisplayOrder()
public void setDisplayOrder(int nDisplayOrder)
nDisplayOrder
- the VAT scheme's display order.public java.lang.String getUserData()
public void setUserData(java.lang.String strUserData)
strUserData
- the VAT scheme's user data.public void unset()
CSVatSchemeContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSVatSchemeContent
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 CSVatSchemeContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.