StoreProductsData

@Serializable
data class StoreProductsData(val user: StoreUser? = null, val isOwner: Boolean? = null, val isMerchantVerified: Boolean? = null, val products: List<StoreProduct>)

用户商店商品数据,包含 VDS 返回的商品列表。

Parameters

user

商店所属用户

isOwner

当前用户是否为资料所有者

isMerchantVerified

是否已认证商家

products

商品列表

Constructors

Link copied to clipboard
constructor(user: StoreUser? = null, isOwner: Boolean? = null, isMerchantVerified: Boolean? = null, products: List<StoreProduct>)

Properties

Link copied to clipboard
@SerialName(value = "is_merchant_verified")
val isMerchantVerified: Boolean?
Link copied to clipboard
@SerialName(value = "is_owner")
val isOwner: Boolean?
Link copied to clipboard
@SerialName(value = "products")
val products: List<StoreProduct>
Link copied to clipboard
@SerialName(value = "user")
val user: StoreUser?