Class BOAccountType

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.accounts.bl.account.type.BOAccountType
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

@EntityRef(AccountTypeEntity.class) public class BOAccountType extends DynO
Business object representing an account type.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOAccountType

      public BOAccountType()
  • Method Details

    • getId

      public Long getId()
      Returns the account type's id.
      Returns:
      the account type's id
    • setId

      public void setId(Long id)
      Sets the account type's id.
      Parameters:
      id - the account type's id
    • getDescription

      public LocalizedString getDescription()
      Returns the account type's description.
      Returns:
      the description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the account type's description.
      Parameters:
      description - the description
    • getCode

      public String getCode()
      Returns the account type's code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets the account type's code.
      Parameters:
      code - the code
    • getExternalCode

      public String getExternalCode()
      Returns the account type's external code.
      Returns:
      the external code
    • setExternalCode

      public void setExternalCode(String externalCode)
      Sets the account type's external code.
      Parameters:
      externalCode - the external code
    • getColor

      public String getColor()
      Returns the account type's color.
      Returns:
      the color
    • setColor

      public void setColor(String color)
      Sets the account type's color.
      Parameters:
      color - the color
    • getOrder

      public Long getOrder()
      Returns the account type's order.
      Returns:
      the order id
    • setOrder

      public void setOrder(Long order)
      Sets the account type's order.
      Parameters:
      order - the order id
    • isActive

      public Boolean isActive()
      Checks if account type is active.
      Returns:
      true, if is active
    • setActive

      public void setActive(Boolean active)
      Sets the account type active.
      Parameters:
      active - true if the type must be active, false otherwise
    • getVisibleFromMobile

      public Boolean getVisibleFromMobile()
      Checks if account is visible from mobile.
      Returns:
      true if is visible from mobile
    • setVisibleFromMobile

      public void setVisibleFromMobile(Boolean visibleFromMobile)
      Sets the account visibility from mobile.
      Parameters:
      visibleFromMobile - the mobile visibility