using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiAppstoreInternalOrderGetResponse. /// public class OapiAppstoreInternalOrderGetResponse : DingTalkResponse { /// /// 服务调用成功 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 服务调用成功 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 订单信息 /// [XmlElement("result")] public InAppGoodsOrderVoDomain Result { get; set; } /// /// InAppGoodsOrderVoDomain Data Structure. /// [Serializable] public class InAppGoodsOrderVoDomain : TopObject { /// /// 内购商品订单号 /// [XmlElement("biz_order_id")] public long BizOrderId { get; set; } /// /// 购买商品的企业开放Id /// [XmlElement("corp_id")] public string CorpId { get; set; } /// /// 订单创建时间 /// [XmlElement("create_timestamp")] public long CreateTimestamp { get; set; } /// /// 订购的服务结束时间 /// [XmlElement("end_timestamp")] public long EndTimestamp { get; set; } /// /// 内购商品码 /// [XmlElement("goods_code")] public string GoodsCode { get; set; } /// /// 内购商品规格码 /// [XmlElement("item_code")] public string ItemCode { get; set; } /// /// 订单支付时间 /// [XmlElement("paid_timestamp")] public long PaidTimestamp { get; set; } /// /// 订购数量,周期型商品此字段为空 /// [XmlElement("quantity")] public long Quantity { get; set; } /// /// 订购的服务开始时间 /// [XmlElement("start_timestamp")] public long StartTimestamp { get; set; } /// /// 订单状态,0 - 订单关闭,3 - 订单支付,4 - 订单创建 /// [XmlElement("status")] public long Status { get; set; } /// /// 实际支付总金额,单位为分(RMB) /// [XmlElement("total_actual_pay_fee")] public long TotalActualPayFee { get; set; } } } }