using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// ItemOrderInfo Data Structure. /// [Serializable] public class ItemOrderInfo : AopObject { /// /// 扩展信息,请参见产品文档。小程序订单助手业务中,扩展参数必须传递素材id;其他业务场景参见对应的产品文档。 /// [XmlArray("ext_info")] [XmlArrayItem("order_ext_info")] public List ExtInfo { get; set; } /// /// 商品 id /// [XmlElement("item_id")] public string ItemId { get; set; } /// /// 商品名称 /// [XmlElement("item_name")] public string ItemName { get; set; } /// /// 商品数量(单位:自拟)。 小程序订单助手业务中,为必传;其他业务场景参见对应的产品文档。 /// [XmlElement("quantity")] public long Quantity { get; set; } /// /// 商品 sku id /// [XmlElement("sku_id")] public string SkuId { get; set; } /// /// 商品单价(单位:元)。 小程序订单助手业务中,为必传;其他业务场景参见对应的产品文档。 /// [XmlElement("unit_price")] public string UnitPrice { get; set; } } }