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