java.lang.Object
com.liferay.headless.commerce.delivery.catalog.dto.v1_0.Account
All Implemented Interfaces:
Serializable

@Generated("") public class Account extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • actions

      protected Map<String,Map<String,String>> actions
    • customFields

      protected com.liferay.portal.vulcan.custom.field.CustomField[] customFields
    • dateCreated

      protected Date dateCreated
    • dateModified

      protected Date dateModified
    • defaultBillingAddressId

      protected Long defaultBillingAddressId
    • defaultShippingAddressId

      protected Long defaultShippingAddressId
    • description

      protected String description
    • domains

      protected String[] domains
    • externalReferenceCode

      protected String externalReferenceCode
    • id

      protected Long id
    • logoId

      protected Long logoId
    • logoURL

      protected String logoURL
    • name

      @NotEmpty protected @NotEmpty String name
    • organizationIds

      protected Long[] organizationIds
    • status

      protected Integer status
    • taxId

      protected String taxId
    • type

      protected Account.Type type
    • xClassName

      public String xClassName
  • Constructor Details

    • Account

      public Account()
  • Method Details

    • toDTO

      public static Account toDTO(String json)
    • unsafeToDTO

      public static Account unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getCustomFields

      @Valid public @Valid com.liferay.portal.vulcan.custom.field.CustomField[] getCustomFields()
    • setCustomFields

      public void setCustomFields(com.liferay.portal.vulcan.custom.field.CustomField[] customFields)
    • setCustomFields

      public void setCustomFields(com.liferay.petra.function.UnsafeSupplier<com.liferay.portal.vulcan.custom.field.CustomField[],Exception> customFieldsUnsafeSupplier)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • setDateCreated

      public void setDateCreated(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateCreatedUnsafeSupplier)
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • setDateModified

      public void setDateModified(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateModifiedUnsafeSupplier)
    • getDefaultBillingAddressId

      @DecimalMin("0") public @DecimalMin("0") Long getDefaultBillingAddressId()
    • setDefaultBillingAddressId

      public void setDefaultBillingAddressId(Long defaultBillingAddressId)
    • setDefaultBillingAddressId

      public void setDefaultBillingAddressId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> defaultBillingAddressIdUnsafeSupplier)
    • getDefaultShippingAddressId

      @DecimalMin("0") public @DecimalMin("0") Long getDefaultShippingAddressId()
    • setDefaultShippingAddressId

      public void setDefaultShippingAddressId(Long defaultShippingAddressId)
    • setDefaultShippingAddressId

      public void setDefaultShippingAddressId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> defaultShippingAddressIdUnsafeSupplier)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • setDescription

      public void setDescription(com.liferay.petra.function.UnsafeSupplier<String,Exception> descriptionUnsafeSupplier)
    • getDomains

      public String[] getDomains()
    • setDomains

      public void setDomains(String[] domains)
    • setDomains

      public void setDomains(com.liferay.petra.function.UnsafeSupplier<String[],Exception> domainsUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getId

      @DecimalMin("0") public @DecimalMin("0") Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getLogoId

      @DecimalMin("0") public @DecimalMin("0") Long getLogoId()
    • setLogoId

      public void setLogoId(Long logoId)
    • setLogoId

      public void setLogoId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> logoIdUnsafeSupplier)
    • getLogoURL

      public String getLogoURL()
    • setLogoURL

      public void setLogoURL(String logoURL)
    • setLogoURL

      public void setLogoURL(com.liferay.petra.function.UnsafeSupplier<String,Exception> logoURLUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

      public void setName(com.liferay.petra.function.UnsafeSupplier<String,Exception> nameUnsafeSupplier)
    • getOrganizationIds

      public Long[] getOrganizationIds()
    • setOrganizationIds

      public void setOrganizationIds(Long[] organizationIds)
    • setOrganizationIds

      public void setOrganizationIds(com.liferay.petra.function.UnsafeSupplier<Long[],Exception> organizationIdsUnsafeSupplier)
    • getStatus

      public Integer getStatus()
    • setStatus

      public void setStatus(Integer status)
    • setStatus

      public void setStatus(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> statusUnsafeSupplier)
    • getTaxId

      public String getTaxId()
    • setTaxId

      public void setTaxId(String taxId)
    • setTaxId

      public void setTaxId(com.liferay.petra.function.UnsafeSupplier<String,Exception> taxIdUnsafeSupplier)
    • getType

      @Valid public @Valid Account.Type getType()
    • getTypeAsString

      public String getTypeAsString()
    • setType

      public void setType(Account.Type type)
    • setType

      public void setType(com.liferay.petra.function.UnsafeSupplier<Account.Type,Exception> typeUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object