Class AccountOrganization

java.lang.Object
com.liferay.headless.commerce.admin.account.dto.v1_0.AccountOrganization
All Implemented Interfaces:
Serializable

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

    • accountId

      protected Long accountId
    • name

      protected String name
    • organizationExternalReferenceCode

      protected String organizationExternalReferenceCode
    • organizationId

      protected Long organizationId
    • treePath

      protected String treePath
    • xClassName

      public String xClassName
  • Constructor Details

    • AccountOrganization

      public AccountOrganization()
  • Method Details

    • toDTO

      public static AccountOrganization toDTO(String json)
    • unsafeToDTO

      public static AccountOrganization unsafeToDTO(String json)
    • getAccountId

      @DecimalMin("0") public @DecimalMin("0") Long getAccountId()
    • setAccountId

      public void setAccountId(Long accountId)
    • setAccountId

      public void setAccountId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> accountIdUnsafeSupplier)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • setName

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

      public String getOrganizationExternalReferenceCode()
    • setOrganizationExternalReferenceCode

      public void setOrganizationExternalReferenceCode(String organizationExternalReferenceCode)
    • setOrganizationExternalReferenceCode

      public void setOrganizationExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> organizationExternalReferenceCodeUnsafeSupplier)
    • getOrganizationId

      @DecimalMin("0") public @DecimalMin("0") Long getOrganizationId()
    • setOrganizationId

      public void setOrganizationId(Long organizationId)
    • setOrganizationId

      public void setOrganizationId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> organizationIdUnsafeSupplier)
    • getTreePath

      public String getTreePath()
    • setTreePath

      public void setTreePath(String treePath)
    • setTreePath

      public void setTreePath(com.liferay.petra.function.UnsafeSupplier<String,Exception> treePathUnsafeSupplier)
    • 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