Class GoodsInitData

java.lang.Object
com.bytedesk.core.goods.GoodsInitData

public class GoodsInitData extends Object
  • Field Details

    • TECHNICAL_SUPPORT

      public static final String[] TECHNICAL_SUPPORT
      Technical Support Goodss 技术支持标签
    • SERVICE_REQUEST

      public static final String[] SERVICE_REQUEST
      Service Request Goodss 服务请求标签
    • CONSULTATION

      public static final String[] CONSULTATION
      Consultation Goodss 咨询标签
    • COMPLAINT_SUGGESTION

      public static final String[] COMPLAINT_SUGGESTION
      Complaint & Suggestion Goodss 投诉与建议标签
    • OPERATION_MAINTENANCE

      public static final String[] OPERATION_MAINTENANCE
      Operation & Maintenance Goodss 运维标签
  • Constructor Details

    • GoodsInitData

      public GoodsInitData()
  • Method Details

    • isParentGoods

      public static boolean isParentGoods(String goods)
      Helper method to determine if a goods is a parent goods
      Parameters:
      goods - The goods key to check
      Returns:
      true if it's a parent goods
    • getParentGoods

      public static String getParentGoods(String childGoods)
      Helper method to get parent goods key for a child goods
      Parameters:
      childGoods - The child goods key
      Returns:
      The parent goods key
    • getAllGoodss

      public static String[] getAllGoodss()
      Get all goodss as a single array
      Returns:
      Array containing all goodss