Class Account
java.lang.Object
com.liferay.headless.commerce.admin.account.dto.v1_0.Account
- All Implemented Interfaces:
Serializable
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccountAddress[]
protected AccountMember[]
protected AccountOrganization[]
protected Boolean
protected Date
protected Date
protected Long
protected Long
protected String[]
protected @NotEmpty String
protected Long
protected Long
protected String
protected @NotEmpty String
protected Boolean
protected String
protected Integer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
@Valid AccountAddress[]
@Valid AccountMember[]
@Valid AccountOrganization[]
@DecimalMin("0") Long
@DecimalMin("0") Long
String[]
@DecimalMin("0") Long
getId()
@DecimalMin("0") Long
getName()
getRoot()
getTaxId()
@DecimalMax("2") @DecimalMin("0") Integer
getType()
int
hashCode()
void
setAccountAddresses
(AccountAddress[] accountAddresses) void
setAccountAddresses
(com.liferay.petra.function.UnsafeSupplier<AccountAddress[], Exception> accountAddressesUnsafeSupplier) void
setAccountMembers
(AccountMember[] accountMembers) void
setAccountMembers
(com.liferay.petra.function.UnsafeSupplier<AccountMember[], Exception> accountMembersUnsafeSupplier) void
setAccountOrganizations
(AccountOrganization[] accountOrganizations) void
setAccountOrganizations
(com.liferay.petra.function.UnsafeSupplier<AccountOrganization[], Exception> accountOrganizationsUnsafeSupplier) void
void
void
setCustomFields
(com.liferay.petra.function.UnsafeSupplier<Map<String, ?>, Exception> customFieldsUnsafeSupplier) void
setCustomFields
(Map<String, ?> customFields) void
setDateCreated
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateCreatedUnsafeSupplier) void
setDateCreated
(Date dateCreated) void
setDateModified
(com.liferay.petra.function.UnsafeSupplier<Date, Exception> dateModifiedUnsafeSupplier) void
setDateModified
(Date dateModified) void
setDefaultBillingAccountAddressId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> defaultBillingAccountAddressIdUnsafeSupplier) void
setDefaultBillingAccountAddressId
(Long defaultBillingAccountAddressId) void
setDefaultShippingAccountAddressId
(com.liferay.petra.function.UnsafeSupplier<Long, Exception> defaultShippingAccountAddressIdUnsafeSupplier) void
setDefaultShippingAccountAddressId
(Long defaultShippingAccountAddressId) void
setEmailAddresses
(com.liferay.petra.function.UnsafeSupplier<String[], Exception> emailAddressesUnsafeSupplier) void
setEmailAddresses
(String[] emailAddresses) void
setExternalReferenceCode
(com.liferay.petra.function.UnsafeSupplier<String, Exception> externalReferenceCodeUnsafeSupplier) void
setExternalReferenceCode
(String externalReferenceCode) void
void
void
void
void
setLogoURL
(com.liferay.petra.function.UnsafeSupplier<String, Exception> logoURLUnsafeSupplier) void
setLogoURL
(String logoURL) void
void
void
void
void
void
void
void
static Account
toString()
static Account
unsafeToDTO
(String json)
-
Field Details
-
accountAddresses
-
accountMembers
-
accountOrganizations
-
active
-
customFields
-
dateCreated
-
dateModified
-
defaultBillingAccountAddressId
-
defaultShippingAccountAddressId
-
emailAddresses
-
externalReferenceCode
-
id
-
logoId
-
logoURL
-
name
-
root
-
taxId
-
type
-
xClassName
-
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
toDTO
-
unsafeToDTO
-
getAccountAddresses
-
setAccountAddresses
-
setAccountAddresses
public void setAccountAddresses(com.liferay.petra.function.UnsafeSupplier<AccountAddress[], Exception> accountAddressesUnsafeSupplier) -
getAccountMembers
-
setAccountMembers
-
setAccountMembers
public void setAccountMembers(com.liferay.petra.function.UnsafeSupplier<AccountMember[], Exception> accountMembersUnsafeSupplier) -
getAccountOrganizations
-
setAccountOrganizations
-
setAccountOrganizations
public void setAccountOrganizations(com.liferay.petra.function.UnsafeSupplier<AccountOrganization[], Exception> accountOrganizationsUnsafeSupplier) -
getActive
-
setActive
-
setActive
-
getCustomFields
-
setCustomFields
-
setCustomFields
-
getDateCreated
-
setDateCreated
-
setDateCreated
-
getDateModified
-
setDateModified
-
setDateModified
-
getDefaultBillingAccountAddressId
-
setDefaultBillingAccountAddressId
-
setDefaultBillingAccountAddressId
-
getDefaultShippingAccountAddressId
-
setDefaultShippingAccountAddressId
-
setDefaultShippingAccountAddressId
-
getEmailAddresses
-
setEmailAddresses
-
setEmailAddresses
-
getExternalReferenceCode
-
setExternalReferenceCode
-
setExternalReferenceCode
-
getId
-
setId
-
setId
-
getLogoId
-
setLogoId
-
setLogoId
-
getLogoURL
-
setLogoURL
-
setLogoURL
-
getName
-
setName
-
setName
-
getRoot
-
setRoot
-
setRoot
-
getTaxId
-
setTaxId
-
setTaxId
-
getType
-
setType
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-