@ProviderType public interface CommerceAddressModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<CommerceAddress>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, 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.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this commerce addresslong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce address@AutoEscape java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelvoid setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelexternalReferenceCode - 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.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce addresslong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce addresslong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce addressjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce address@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce addressjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce addressjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce addressjava.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelvoid setClassName(java.lang.String className)
long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this commerce addresslong getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelvoid setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - 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>default java.lang.String toXmlString()