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

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

  • Constructor Details

    • AccountRole

      public AccountRole()
  • Method Details

    • toDTO

      public static AccountRole toDTO(String json)
    • unsafeToDTO

      public static AccountRole unsafeToDTO(String json)
    • getDescription

      @Valid public @Valid Map<String,String> getDescription()
    • setDescription

      public void setDescription(Map<String,String> description)
    • setDescription

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

      public String getName()
    • setName

      public void setName(String name)
    • setName

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

      @DecimalMin("0") public @DecimalMin("0") Long getRoleId()
    • setRoleId

      public void setRoleId(Long roleId)
    • setRoleId

      public void setRoleId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> roleIdUnsafeSupplier)
    • getTitle

      @Valid public @Valid Map<String,String> getTitle()
    • setTitle

      public void setTitle(Map<String,String> title)
    • setTitle

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