Package com.bytedesk.core.goods
Class GoodsInitData
java.lang.Object
com.bytedesk.core.goods.GoodsInitData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Complaint & Suggestion Goodss 投诉与建议标签static final String[]Consultation Goodss 咨询标签static final String[]Operation & Maintenance Goodss 运维标签static final String[]Service Request Goodss 服务请求标签static final String[]Technical Support Goodss 技术支持标签 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]Get all goodss as a single arraystatic StringgetParentGoods(String childGoods) Helper method to get parent goods key for a child goodsstatic booleanisParentGoods(String goods) Helper method to determine if a goods is a parent goods
-
Field Details
-
TECHNICAL_SUPPORT
Technical Support Goodss 技术支持标签 -
SERVICE_REQUEST
Service Request Goodss 服务请求标签 -
CONSULTATION
Consultation Goodss 咨询标签 -
COMPLAINT_SUGGESTION
Complaint & Suggestion Goodss 投诉与建议标签 -
OPERATION_MAINTENANCE
Operation & Maintenance Goodss 运维标签
-
-
Constructor Details
-
GoodsInitData
public GoodsInitData()
-
-
Method Details
-
isParentGoods
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
Helper method to get parent goods key for a child goods- Parameters:
childGoods- The child goods key- Returns:
- The parent goods key
-
getAllGoodss
Get all goodss as a single array- Returns:
- Array containing all goodss
-