public final class CSOrderAddressContent extends CSItemContent
CSOrderAddress
object.
set/get
methods within CSOrderAddress
provide access to this content data and so there
should not typically be any need to explicitly use the set/get
methods supplied here.
CSOrderAddress
,
Serialized FormConstructor and Description |
---|
CSOrderAddressContent()
Creates an empty
CSOrderAddressContent object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the data contained in this
CSOrderAddressContent object is the same as that
contained within the one supplied. |
java.lang.String |
getAddressType()
Gets the address type of the order address.
|
java.lang.String |
getCity()
Gets the city of the order address.
|
java.lang.String |
getCountry()
Gets the country of the order address.
|
java.lang.String |
getLine1()
Gets the first line of the order address.
|
java.lang.String |
getLine2()
Gets the second line of the order address.
|
java.lang.String |
getLine3()
Gets the third line of the order address.
|
java.lang.String |
getName()
Gets the name of the order address.
|
int |
getOrderID()
Gets the ID of the order associated with the order address.
|
java.lang.String |
getPostalCode()
Gets the postal code of the order address.
|
java.lang.String |
getRegion()
Gets the region of the order address.
|
void |
setAddressType(java.lang.String strAddressType)
Sets the address type of the order address to be used as key information.
|
void |
setCity(java.lang.String strCity)
Sets the city of the order address.
|
void |
setCountry(java.lang.String strCountry)
Sets the country of the order address.
|
void |
setLine1(java.lang.String strLine1)
Sets the first line of the order address.
|
void |
setLine2(java.lang.String strLine2)
Sets the second line of the order address.
|
void |
setLine3(java.lang.String strLine3)
Sets the third line of the order address.
|
void |
setName(java.lang.String strName)
Sets the name of the order address.
|
void |
setOrderID(int nOrderID)
Sets the ID of the order associated with the order item.
|
void |
setPostalCode(java.lang.String strPostalCode)
Sets the postal code of the order address.
|
void |
setRegion(java.lang.String strRegion)
Sets the region of the order address.
|
void |
unset()
Clear all the content details of the
CSOrderAddressContent object. |
clone, getID, setID, toString
public CSOrderAddressContent()
CSOrderAddressContent
object.public int getOrderID()
public void setOrderID(int nOrderID)
nOrderID
- the order address's associated order ID.public java.lang.String getAddressType()
public void setAddressType(java.lang.String strAddressType)
The valid address types are as follows :
DELIVERY
INVOICE
strAddressType
- the order address's address type to be used as key information.public java.lang.String getName()
public void setName(java.lang.String strName)
strName
- the order address's name.public java.lang.String getLine1()
public void setLine1(java.lang.String strLine1)
strLine1
- the order address's first line.public java.lang.String getLine2()
public void setLine2(java.lang.String strLine2)
strLine2
- the order address's second line.public java.lang.String getLine3()
public void setLine3(java.lang.String strLine3)
strLine3
- the order address's third line.public java.lang.String getCity()
public void setCity(java.lang.String strCity)
strCity
- the order address's city.public java.lang.String getRegion()
public void setRegion(java.lang.String strRegion)
strRegion
- the order address's region.public java.lang.String getPostalCode()
public void setPostalCode(java.lang.String strPostalCode)
strPostalCode
- the order address's postal code.public java.lang.String getCountry()
public void setCountry(java.lang.String strCountry)
strCountry
- the order address's country.public void unset()
CSOrderAddressContent
object.unset
in class CSItemContent
public boolean equals(java.lang.Object obj)
CSOrderAddressContent
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 CSOrderAddressContent
to be tested for equality.true
if the data matches, false
otherwise.Copyright © 2022 Goss Interactive Ltd. All Rights Reserved.