GiftCategory

data class GiftCategory(val categoryID: String = "", val name: String = "", val desc: String = "", val extensionInfo: Map<String, String> = emptyMap(), val giftList: List<Gift> = emptyList())

Gift category.

Overview

Contains gift category ID, name, description, and the gift list under this category.

PropertyTypeDescription
categoryIDStringCategory unique identifier ID
nameStringCategory display name
descStringCategory description information
extensionInfoMap<String, String>Category extension information
giftListList<Gift>All gifts under the current category

Constructors

Link copied to clipboard
constructor(categoryID: String = "", name: String = "", desc: String = "", extensionInfo: Map<String, String> = emptyMap(), giftList: List<Gift> = emptyList())

Properties

Link copied to clipboard

Category unique identifier ID, used to distinguish different gift categories.

Link copied to clipboard

Category description information, used to explain the characteristics of this category.

Link copied to clipboard

Category extension information, containing custom fields (such as sorting weight, display style, etc.).

Link copied to clipboard

All gifts under the current category.

Link copied to clipboard

Category display name, used for UI category display (such as "Popular Gifts", "Premium Gifts").