using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
///
/// ItemQueryResponse Data Structure.
///
[Serializable]
public class ItemQueryResponse : AopObject
{
///
/// 口碑商品所属的后台类目id,后台类目数据来源:开放接口koubei.item.category.children.batchquery(查询后台类目树接口)
///
[JsonProperty("category_id")]
public string CategoryId { get; set; }
///
/// 首图
///
[JsonProperty("cover")]
public string Cover { get; set; }
///
/// 商品描述,列表类型,每一项的key,value的描述见下面两行
///
[JsonProperty("descriptions")]
public List Descriptions { get; set; }
///
/// 商品生效时间,商品状态有效并且到达生效时间后才可在客户端(消费者端)展示出来,如果商品生效时间小于当前时间,则立即生效。 说明: 商品的生效时间不能早于创建当天的0点
///
[JsonProperty("gmt_start")]
public string GmtStart { get; set; }
///
/// 当前库存
///
[JsonProperty("inventory")]
public long Inventory { get; set; }
///
/// 商品ID
///
[JsonProperty("item_id")]
public string ItemId { get; set; }
///
/// 该商品当前的状态,共有5个状态:INIT(初始状态)EFFECTIVE(生效)PAUSE(暂停)FREEZE(冻结)INVALID(失效);详见状态变更图
///
[JsonProperty("item_status")]
public string ItemStatus { get; set; }
///
/// 商品类型,交易凭证类:TRADE_VOUCHER
///
[JsonProperty("item_type")]
public string ItemType { get; set; }
///
/// 备注
///
[JsonProperty("memo")]
public string Memo { get; set; }
///
/// 标准商品为原价,必填。非标准商品请勿填写,填写无效。价格单位为元
///
[JsonProperty("original_price")]
public string OriginalPrice { get; set; }
///
/// 图片集,本商品所有图片id和URL的对应关系数组
///
[JsonProperty("pic_coll")]
public List PicColl { get; set; }
///
/// 商品详情图,多张图片以英文逗号分隔
///
[JsonProperty("picture_details")]
public string PictureDetails { get; set; }
///
/// 标准商品为现价,选填。非标准商品为最小价格(非标商品为xx元起)必填。价格单位为元。如果标准商品现价不填写,则以原价进行售卖;如果现价与原价相等时,则会以原价售卖,并且客户端只展示一个价格(原价)
///
[JsonProperty("price")]
public string Price { get; set; }
///
/// 标准商品:FIX;非标准商品:FLOAT ,根据该字段判断商品是标准商品或非标商品。
///
[JsonProperty("price_mode")]
public string PriceMode { get; set; }
///
/// 适用门店列表
///
[JsonProperty("shop_ids")]
public string ShopIds { get; set; }
///
/// 商品名称,不超过20汉字,40个字符
///
[JsonProperty("subject")]
public string Subject { get; set; }
///
/// 交易凭证类商品模板信息
///
[JsonProperty("trade_voucher_item_template")]
public KoubeiTradeVoucherItemTemplete TradeVoucherItemTemplate { get; set; }
///
/// 商品顺序权重
///
[JsonProperty("weight")]
public long Weight { get; set; }
}
}