@ProviderType public interface CommerceAddressModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<CommerceAddress>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.commerce.model.impl.CommerceAddressModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.model.impl.CommerceAddressImpl
.
CommerceAddress
Modifier and Type | Method and Description |
---|---|
CommerceAddress |
cloneWithOriginalValues() |
java.lang.String |
getCity()
Returns the city of this commerce address.
|
java.lang.String |
getClassName()
Returns the fully qualified class name of this commerce address.
|
long |
getClassNameId()
Returns the class name ID of this commerce address.
|
long |
getClassPK()
Returns the class pk of this commerce address.
|
long |
getCommerceAddressId()
Returns the commerce address ID of this commerce address.
|
long |
getCompanyId()
Returns the company ID of this commerce address.
|
long |
getCountryId()
Returns the country ID of this commerce address.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce address.
|
boolean |
getDefaultBilling()
Returns the default billing of this commerce address.
|
boolean |
getDefaultShipping()
Returns the default shipping of this commerce address.
|
java.lang.String |
getDescription()
Returns the description of this commerce address.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce address.
|
long |
getGroupId()
Returns the group ID of this commerce address.
|
double |
getLatitude()
Returns the latitude of this commerce address.
|
double |
getLongitude()
Returns the longitude of this commerce address.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce address.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce address.
|
java.lang.String |
getName()
Returns the name of this commerce address.
|
java.lang.String |
getPhoneNumber()
Returns the phone number of this commerce address.
|
long |
getPrimaryKey()
Returns the primary key of this commerce address.
|
long |
getRegionId()
Returns the region ID of this commerce address.
|
java.lang.String |
getStreet1()
Returns the street1 of this commerce address.
|
java.lang.String |
getStreet2()
Returns the street2 of this commerce address.
|
java.lang.String |
getStreet3()
Returns the street3 of this commerce address.
|
int |
getType()
Returns the type of this commerce address.
|
long |
getUserId()
Returns the user ID of this commerce address.
|
java.lang.String |
getUserName()
Returns the user name of this commerce address.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce address.
|
java.lang.String |
getZip()
Returns the zip of this commerce address.
|
boolean |
isDefaultBilling()
Returns
true if this commerce address is default billing. |
boolean |
isDefaultShipping()
Returns
true if this commerce address is default shipping. |
void |
setCity(java.lang.String city)
Sets the city of this commerce address.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this commerce address.
|
void |
setClassPK(long classPK)
Sets the class pk of this commerce address.
|
void |
setCommerceAddressId(long commerceAddressId)
Sets the commerce address ID of this commerce address.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce address.
|
void |
setCountryId(long countryId)
Sets the country ID of this commerce address.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce address.
|
void |
setDefaultBilling(boolean defaultBilling)
Sets whether this commerce address is default billing.
|
void |
setDefaultShipping(boolean defaultShipping)
Sets whether this commerce address is default shipping.
|
void |
setDescription(java.lang.String description)
Sets the description of this commerce address.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce address.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce address.
|
void |
setLatitude(double latitude)
Sets the latitude of this commerce address.
|
void |
setLongitude(double longitude)
Sets the longitude of this commerce address.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce address.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce address.
|
void |
setName(java.lang.String name)
Sets the name of this commerce address.
|
void |
setPhoneNumber(java.lang.String phoneNumber)
Sets the phone number of this commerce address.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce address.
|
void |
setRegionId(long regionId)
Sets the region ID of this commerce address.
|
void |
setStreet1(java.lang.String street1)
Sets the street1 of this commerce address.
|
void |
setStreet2(java.lang.String street2)
Sets the street2 of this commerce address.
|
void |
setStreet3(java.lang.String street3)
Sets the street3 of this commerce address.
|
void |
setType(int type)
Sets the type of this commerce address.
|
void |
setUserId(long userId)
Sets the user ID of this commerce address.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce address.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce address.
|
void |
setZip(java.lang.String zip)
Sets the zip of this commerce address.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this commerce addresslong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce address@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode
- the external reference code of this commerce addresslong getCommerceAddressId()
void setCommerceAddressId(long commerceAddressId)
commerceAddressId
- the commerce address ID of this commerce addresslong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce addresslong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce addresslong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce addressjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce address@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce addressjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce addressjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce addressjava.lang.String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
void setClassName(java.lang.String className)
long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this commerce addresslong getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this commerce address@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this commerce address@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the description of this commerce address@AutoEscape java.lang.String getStreet1()
void setStreet1(java.lang.String street1)
street1
- the street1 of this commerce address@AutoEscape java.lang.String getStreet2()
void setStreet2(java.lang.String street2)
street2
- the street2 of this commerce address@AutoEscape java.lang.String getStreet3()
void setStreet3(java.lang.String street3)
street3
- the street3 of this commerce address@AutoEscape java.lang.String getCity()
void setCity(java.lang.String city)
city
- the city of this commerce address@AutoEscape java.lang.String getZip()
void setZip(java.lang.String zip)
zip
- the zip of this commerce addresslong getRegionId()
void setRegionId(long regionId)
regionId
- the region ID of this commerce addresslong getCountryId()
void setCountryId(long countryId)
countryId
- the country ID of this commerce addressdouble getLatitude()
void setLatitude(double latitude)
latitude
- the latitude of this commerce addressdouble getLongitude()
void setLongitude(double longitude)
longitude
- the longitude of this commerce address@AutoEscape java.lang.String getPhoneNumber()
void setPhoneNumber(java.lang.String phoneNumber)
phoneNumber
- the phone number of this commerce addressboolean getDefaultBilling()
boolean isDefaultBilling()
true
if this commerce address is default billing.true
if this commerce address is default billing; false
otherwisevoid setDefaultBilling(boolean defaultBilling)
defaultBilling
- the default billing of this commerce addressboolean getDefaultShipping()
boolean isDefaultShipping()
true
if this commerce address is default shipping.true
if this commerce address is default shipping; false
otherwisevoid setDefaultShipping(boolean defaultShipping)
defaultShipping
- the default shipping of this commerce addressint getType()
void setType(int type)
type
- the type of this commerce addressCommerceAddress cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddress>