@Generated(value="")
public class Account
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Account.Type |
Modifier and Type | Field and Description |
---|---|
protected AccountContactInformation |
accountContactInformation |
protected UserAccount[] |
accountUserAccounts |
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
actions |
protected CustomField[] |
customFields |
protected java.util.Date |
dateCreated |
protected java.util.Date |
dateModified |
protected java.lang.Long |
defaultBillingAddressId |
protected java.lang.Long |
defaultShippingAddressId |
protected java.lang.String |
description |
protected java.lang.String[] |
domains |
protected java.lang.String |
externalReferenceCode |
protected java.lang.Long |
id |
protected java.lang.Long |
logoId |
protected java.lang.String |
logoURL |
protected @NotEmpty java.lang.String |
name |
protected java.lang.Integer |
numberOfUsers |
protected java.lang.Long[] |
organizationIds |
protected java.lang.Long |
parentAccountId |
protected PostalAddress[] |
postalAddresses |
protected java.lang.Integer |
status |
protected java.lang.String |
taxId |
protected Account.Type |
type |
java.lang.String |
xClassName |
Constructor and Description |
---|
Account() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
@Valid AccountContactInformation |
getAccountContactInformation() |
@Valid UserAccount[] |
getAccountUserAccounts() |
@Valid java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getActions() |
@Valid CustomField[] |
getCustomFields() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateModified() |
java.lang.Long |
getDefaultBillingAddressId() |
java.lang.Long |
getDefaultShippingAddressId() |
java.lang.String |
getDescription() |
java.lang.String[] |
getDomains() |
java.lang.String |
getExternalReferenceCode() |
java.lang.Long |
getId() |
java.lang.Long |
getLogoId() |
java.lang.String |
getLogoURL() |
java.lang.String |
getName() |
java.lang.Integer |
getNumberOfUsers() |
java.lang.Long[] |
getOrganizationIds() |
java.lang.Long |
getParentAccountId() |
@Valid PostalAddress[] |
getPostalAddresses() |
java.lang.Integer |
getStatus() |
java.lang.String |
getTaxId() |
@Valid Account.Type |
getType() |
java.lang.String |
getTypeAsString() |
int |
hashCode() |
void |
setAccountContactInformation(AccountContactInformation accountContactInformation) |
void |
setAccountContactInformation(com.liferay.petra.function.UnsafeSupplier<AccountContactInformation,java.lang.Exception> accountContactInformationUnsafeSupplier) |
void |
setAccountUserAccounts(com.liferay.petra.function.UnsafeSupplier<UserAccount[],java.lang.Exception> accountUserAccountsUnsafeSupplier) |
void |
setAccountUserAccounts(UserAccount[] accountUserAccounts) |
void |
setActions(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions) |
void |
setActions(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>,java.lang.Exception> actionsUnsafeSupplier) |
void |
setCustomFields(CustomField[] customFields) |
void |
setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[],java.lang.Exception> customFieldsUnsafeSupplier) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDateCreated(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateCreatedUnsafeSupplier) |
void |
setDateModified(java.util.Date dateModified) |
void |
setDateModified(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateModifiedUnsafeSupplier) |
void |
setDefaultBillingAddressId(java.lang.Long defaultBillingAddressId) |
void |
setDefaultBillingAddressId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> defaultBillingAddressIdUnsafeSupplier) |
void |
setDefaultShippingAddressId(java.lang.Long defaultShippingAddressId) |
void |
setDefaultShippingAddressId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> defaultShippingAddressIdUnsafeSupplier) |
void |
setDescription(java.lang.String description) |
void |
setDescription(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> descriptionUnsafeSupplier) |
void |
setDomains(java.lang.String[] domains) |
void |
setDomains(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> domainsUnsafeSupplier) |
void |
setExternalReferenceCode(java.lang.String externalReferenceCode) |
void |
setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier) |
void |
setId(java.lang.Long id) |
void |
setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier) |
void |
setLogoId(java.lang.Long logoId) |
void |
setLogoId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> logoIdUnsafeSupplier) |
void |
setLogoURL(java.lang.String logoURL) |
void |
setLogoURL(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> logoURLUnsafeSupplier) |
void |
setName(java.lang.String name) |
void |
setName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> nameUnsafeSupplier) |
void |
setNumberOfUsers(java.lang.Integer numberOfUsers) |
void |
setNumberOfUsers(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> numberOfUsersUnsafeSupplier) |
void |
setOrganizationIds(java.lang.Long[] organizationIds) |
void |
setOrganizationIds(com.liferay.petra.function.UnsafeSupplier<java.lang.Long[],java.lang.Exception> organizationIdsUnsafeSupplier) |
void |
setParentAccountId(java.lang.Long parentAccountId) |
void |
setParentAccountId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> parentAccountIdUnsafeSupplier) |
void |
setPostalAddresses(PostalAddress[] postalAddresses) |
void |
setPostalAddresses(com.liferay.petra.function.UnsafeSupplier<PostalAddress[],java.lang.Exception> postalAddressesUnsafeSupplier) |
void |
setStatus(java.lang.Integer status) |
void |
setStatus(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> statusUnsafeSupplier) |
void |
setTaxId(java.lang.String taxId) |
void |
setTaxId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> taxIdUnsafeSupplier) |
void |
setType(Account.Type type) |
void |
setType(com.liferay.petra.function.UnsafeSupplier<Account.Type,java.lang.Exception> typeUnsafeSupplier) |
static Account |
toDTO(java.lang.String json) |
java.lang.String |
toString() |
static Account |
unsafeToDTO(java.lang.String json) |
protected AccountContactInformation accountContactInformation
protected UserAccount[] accountUserAccounts
protected java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions
protected CustomField[] customFields
protected java.util.Date dateCreated
protected java.util.Date dateModified
protected java.lang.Long defaultBillingAddressId
protected java.lang.Long defaultShippingAddressId
protected java.lang.String description
protected java.lang.String[] domains
protected java.lang.String externalReferenceCode
protected java.lang.Long id
protected java.lang.Long logoId
protected java.lang.String logoURL
@NotEmpty protected @NotEmpty java.lang.String name
protected java.lang.Integer numberOfUsers
protected java.lang.Long[] organizationIds
protected java.lang.Long parentAccountId
protected PostalAddress[] postalAddresses
protected java.lang.Integer status
protected java.lang.String taxId
protected Account.Type type
public java.lang.String xClassName
public static Account toDTO(java.lang.String json)
public static Account unsafeToDTO(java.lang.String json)
@Valid public @Valid AccountContactInformation getAccountContactInformation()
public void setAccountContactInformation(AccountContactInformation accountContactInformation)
public void setAccountContactInformation(com.liferay.petra.function.UnsafeSupplier<AccountContactInformation,java.lang.Exception> accountContactInformationUnsafeSupplier)
@Valid public @Valid UserAccount[] getAccountUserAccounts()
public void setAccountUserAccounts(UserAccount[] accountUserAccounts)
public void setAccountUserAccounts(com.liferay.petra.function.UnsafeSupplier<UserAccount[],java.lang.Exception> accountUserAccountsUnsafeSupplier)
@Valid public @Valid java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getActions()
public void setActions(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> actions)
public void setActions(com.liferay.petra.function.UnsafeSupplier<java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>,java.lang.Exception> actionsUnsafeSupplier)
@Valid public @Valid CustomField[] getCustomFields()
public void setCustomFields(CustomField[] customFields)
public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<CustomField[],java.lang.Exception> customFieldsUnsafeSupplier)
public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
public void setDateCreated(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateCreatedUnsafeSupplier)
public java.util.Date getDateModified()
public void setDateModified(java.util.Date dateModified)
public void setDateModified(com.liferay.petra.function.UnsafeSupplier<java.util.Date,java.lang.Exception> dateModifiedUnsafeSupplier)
public java.lang.Long getDefaultBillingAddressId()
public void setDefaultBillingAddressId(java.lang.Long defaultBillingAddressId)
public void setDefaultBillingAddressId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> defaultBillingAddressIdUnsafeSupplier)
public java.lang.Long getDefaultShippingAddressId()
public void setDefaultShippingAddressId(java.lang.Long defaultShippingAddressId)
public void setDefaultShippingAddressId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> defaultShippingAddressIdUnsafeSupplier)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public void setDescription(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> descriptionUnsafeSupplier)
public java.lang.String[] getDomains()
public void setDomains(java.lang.String[] domains)
public void setDomains(com.liferay.petra.function.UnsafeSupplier<java.lang.String[],java.lang.Exception> domainsUnsafeSupplier)
public java.lang.String getExternalReferenceCode()
public void setExternalReferenceCode(java.lang.String externalReferenceCode)
public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> externalReferenceCodeUnsafeSupplier)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public void setId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> idUnsafeSupplier)
public java.lang.Long getLogoId()
public void setLogoId(java.lang.Long logoId)
public void setLogoId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> logoIdUnsafeSupplier)
public java.lang.String getLogoURL()
public void setLogoURL(java.lang.String logoURL)
public void setLogoURL(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> logoURLUnsafeSupplier)
public java.lang.String getName()
public void setName(java.lang.String name)
public void setName(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> nameUnsafeSupplier)
public java.lang.Integer getNumberOfUsers()
public void setNumberOfUsers(java.lang.Integer numberOfUsers)
public void setNumberOfUsers(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> numberOfUsersUnsafeSupplier)
public java.lang.Long[] getOrganizationIds()
public void setOrganizationIds(java.lang.Long[] organizationIds)
public void setOrganizationIds(com.liferay.petra.function.UnsafeSupplier<java.lang.Long[],java.lang.Exception> organizationIdsUnsafeSupplier)
public java.lang.Long getParentAccountId()
public void setParentAccountId(java.lang.Long parentAccountId)
public void setParentAccountId(com.liferay.petra.function.UnsafeSupplier<java.lang.Long,java.lang.Exception> parentAccountIdUnsafeSupplier)
@Valid public @Valid PostalAddress[] getPostalAddresses()
public void setPostalAddresses(PostalAddress[] postalAddresses)
public void setPostalAddresses(com.liferay.petra.function.UnsafeSupplier<PostalAddress[],java.lang.Exception> postalAddressesUnsafeSupplier)
public java.lang.Integer getStatus()
public void setStatus(java.lang.Integer status)
public void setStatus(com.liferay.petra.function.UnsafeSupplier<java.lang.Integer,java.lang.Exception> statusUnsafeSupplier)
public java.lang.String getTaxId()
public void setTaxId(java.lang.String taxId)
public void setTaxId(com.liferay.petra.function.UnsafeSupplier<java.lang.String,java.lang.Exception> taxIdUnsafeSupplier)
@Valid public @Valid Account.Type getType()
public java.lang.String getTypeAsString()
public void setType(Account.Type type)
public void setType(com.liferay.petra.function.UnsafeSupplier<Account.Type,java.lang.Exception> typeUnsafeSupplier)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object