using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// ServiceOrderInfo Data Structure. /// [Serializable] public class ServiceOrderInfo : AopObject { /// /// 服务总金额,单位为元 /// [XmlElement("amount")] public string Amount { get; set; } /// /// 商品服务所在类目的id /// [XmlElement("category_code")] public string CategoryCode { get; set; } /// /// 订单创建时间,格式为 yyyy-MM-dd HH:mm:ss /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 订单修改时间,格式为 yyyy-MM-dd HH:mm:ss /// [XmlElement("gmt_modified")] public string GmtModified { get; set; } /// /// 订单最后支付时间,格式: yyyy-MM-dd HH:mm:ss /// [XmlElement("gmt_payment")] public string GmtPayment { get; set; } /// /// 订单最后退款时间,格式: yyyy-MM-dd HH:mm:ss /// [XmlElement("gmt_refund")] public string GmtRefund { get; set; } /// /// 消费者标注订单备注 /// [XmlElement("memo")] public string Memo { get; set; } /// /// 第三方服务id /// [XmlElement("out_service_id")] public string OutServiceId { get; set; } /// /// 商品的商家端端SKU ID /// [XmlElement("out_sku_id")] public string OutSkuId { get; set; } /// /// 第三方服务者id列表,例子: [“2323”,…],如果没有服务者,则为[] /// [XmlArray("out_sp_id")] [XmlArrayItem("string")] public List OutSpId { get; set; } /// /// 服务已付金额,单位为元 /// [XmlElement("payment_amount")] public string PaymentAmount { get; set; } /// /// 单价,单位为元 /// [XmlElement("price")] public string Price { get; set; } /// /// 份数 /// [XmlElement("quantity")] public long Quantity { get; set; } /// /// 服务实际金额,单位为元 /// [XmlElement("real_amount")] public string RealAmount { get; set; } /// /// 订单退款金额,单位为元 /// [XmlElement("refund_amount")] public string RefundAmount { get; set; } /// /// 到位的服务id /// [XmlElement("service_id")] public string ServiceId { get; set; } /// /// 服务订单号 /// [XmlElement("service_order_no")] public string ServiceOrderNo { get; set; } /// /// 商品的内部SKU ID /// [XmlElement("sku_id")] public string SkuId { get; set; } /// /// 支付宝交易号 /// [XmlElement("trade_no")] public string TradeNo { get; set; } /// /// 商品价格单位 /// [XmlElement("unit")] public string Unit { get; set; } } }