public final class CSVatZoneContent extends CSItemContent
CSVatZone
object.
set/get
methods within CSVatZone
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSVatZone
,
Serialized FormConstructor and Description |
---|
CSVatZoneContent()
Creates an empty
CSVatZoneContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSVatZoneContent object is the same as that
contained within the one supplied. |
java.lang.Boolean |
getDefaultZone()
Gets the flag which indicates if the VAT zone is the default zone of the parent VAT scheme.
|
java.lang.String |
getDescription()
Gets the description of the VAT zone.
|
java.lang.String |
getName()
Gets the name of the VAT zone.
|
java.lang.Double |
getRate()
Gets the rate of the VAT zone.
|
java.lang.String |
getUserData()
Gets the user data of the VAT zone.
|
int |
getVatSchemeID()
Gets the parent VAT scheme ID of the VAT zone to be used as key information.
|
void |
setDefaultZone(java.lang.Boolean bDefaultZone)
Sets the flag which indicates if the VAT zone is the default zone of the parent VAT scheme.
|
void |
setDescription(java.lang.String strDescription)
Sets the description of the VAT zone.
|
void |
setName(java.lang.String strName)
Sets the name of the VAT zone.
|
void |
setRate(java.lang.Double nRate)
Sets the rate of the VAT zone.
|
void |
setUserData(java.lang.String strUserData)
Sets the user data of the VAT zone.
|
void |
setVatSchemeID(int nVatSchemeID)
Sets the parent VAT scheme ID of the VAT zone to be used as key information.
|
void |
unset()
Clear all the content details of the
CSVatZoneContent object. |
clone, getID, setID, toString
public CSVatZoneContent()
CSVatZoneContent
object.public int getVatSchemeID()
public void setVatSchemeID(int nVatSchemeID)
nVatSchemeID
- the VAT zone's parent VAT scheme ID to be used as key information.public java.lang.String getName()
public void setName(java.lang.String strName)
strName
- the VAT zone's name.public java.lang.String getDescription()
public void setDescription(java.lang.String strDescription)
strDescription
- the VAT zone's description.public java.lang.Double getRate()
public void setRate(java.lang.Double nRate)
nRate
- the VAT zone's rate.public java.lang.Boolean getDefaultZone()
public void setDefaultZone(java.lang.Boolean bDefaultZone)
bDefaultZone
- the VAT zone's flag indicating if its the default zone of the parent VAT scheme.public java.lang.String getUserData()
public void setUserData(java.lang.String strUserData)
strUserData
- the VAT zone's user data.public void unset()
CSVatZoneContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSVatZoneContent
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 CSVatZoneContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.