public final class CSShippingZoneContent extends CSItemContent
CSShippingZone
object.
set/get
methods within CSShippingZone
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSShippingZone
,
Serialized FormConstructor and Description |
---|
CSShippingZoneContent()
Creates an empty
CSShippingZoneContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSShippingZoneContent object is the same as that
contained within the one supplied. |
java.lang.Boolean |
getDefaultZone()
Gets the flag which indicates if the shipping zone is the default zone of the parent shipping scheme.
|
java.lang.String |
getDeliveryTypes()
Gets the delivery types of the shipping zone.
|
java.lang.String |
getDescription()
Gets the description of the shipping zone.
|
java.lang.String |
getName()
Gets the name of the shipping zone.
|
java.lang.String |
getPrices()
Gets the prices of the shipping zone.
|
java.lang.String |
getRates()
Gets the rates of the shipping zone.
|
int |
getShippingSchemeID()
Gets the parent shipping scheme ID of the shipping zone.
|
java.lang.String |
getUserData()
Gets the user data of the shipping zone.
|
void |
setDefaultZone(java.lang.Boolean bDefaultZone)
Sets the flag which indicates if the shipping zone is the default zone of the parent shipping scheme.
|
void |
setDeliveryTypes(java.lang.String strDeliveryTypes)
Sets the delivery types of the shipping zone.
|
void |
setDescription(java.lang.String strDescription)
Sets the description of the shipping zone.
|
void |
setName(java.lang.String strName)
Sets the name of the shipping zone.
|
void |
setPrices(java.lang.String strPrices)
Sets the prices of the shipping zone.
|
void |
setRates(java.lang.String strRates)
Sets the rates of the shipping zone.
|
void |
setShippingSchemeID(int nShippingSchemeID)
Sets the parent shipping scheme ID of the shipping zone.
|
void |
setUserData(java.lang.String strUserData)
Sets the user data of the shipping zone.
|
void |
unset()
Clear all the content details of the
CSShippingZoneContent object. |
clone, getID, setID, toString
public CSShippingZoneContent()
CSShippingZoneContent
object.public int getShippingSchemeID()
public void setShippingSchemeID(int nShippingSchemeID)
nShippingSchemeID
- the shipping zone's parent shipping scheme ID.public java.lang.String getName()
public void setName(java.lang.String strName)
strName
- the shipping zone's name.public java.lang.String getDescription()
public void setDescription(java.lang.String strDescription)
strDescription
- the shipping zone's description.public java.lang.String getRates()
For each Rate
there will be an associated DeliveryType
and Price
which can be found be calling getDeliveryTypes
and getPrices
respectively.
public void setRates(java.lang.String strRates)
For each Rate
there will be an associated DeliveryType
and Price
which can be found be calling getDeliveryTypes
and getPrices
respectively.
strRates
- the shipping zone's comma-separated list of rates.public java.lang.String getDeliveryTypes()
For each DeliveryType
there will be an associated Rate
and Price
which can be found be calling getRates
and getPrices
respectively.
public void setDeliveryTypes(java.lang.String strDeliveryTypes)
For each DeliveryType
there will be an associated Rate
and Price
which can be found be calling getRates
and getPrices
respectively.
strDeliveryTypes
- the shipping zone's comma-separated list of delivery types.public java.lang.String getPrices()
For each Price
there will be an associated DeliveryType
and Rates
which can be found be calling getDeliveryTypes
and getRates
respectively.
public void setPrices(java.lang.String strPrices)
For each Price
there will be an associated DeliveryType
and Rates
which can be found be calling getDeliveryTypes
and getRates
respectively.
strPrices
- the shipping zone's comma-separated list of prices.public java.lang.Boolean getDefaultZone()
public void setDefaultZone(java.lang.Boolean bDefaultZone)
bDefaultZone
- the shipping zone's flag indicating if its the default zone of the parent shipping scheme.public java.lang.String getUserData()
public void setUserData(java.lang.String strUserData)
strUserData
- the shipping zone's user data.public void unset()
CSShippingZoneContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSShippingZoneContent
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 CSShippingZoneContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.