using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiDingpayOrderSyncstatusResponse. /// public class OapiDingpayOrderSyncstatusResponse : DingTalkResponse { /// /// 钉钉错误代码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误文案 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// result /// [XmlElement("result")] public OrderSyncStatusOpenResponseDomain Result { get; set; } /// /// 是否成功 /// [XmlElement("success")] public bool Success { get; set; } /// /// OrdersDomain Data Structure. /// [Serializable] public class OrdersDomain : TopObject { /// /// 金额(单位:分) /// [XmlElement("amount")] public long Amount { get; set; } /// /// 发起支付操作员userId /// [XmlElement("apply_pay_operator_userid")] public string ApplyPayOperatorUserid { get; set; } /// /// 业务代码 /// [XmlElement("biz_code")] public string BizCode { get; set; } /// /// 创单操作员userId /// [XmlElement("create_operator_userid")] public string CreateOperatorUserid { get; set; } /// /// 扩展属性 /// [XmlElement("extension")] public string Extension { get; set; } /// /// 申请支付时间 /// [XmlElement("gmt_apply_pay")] public string GmtApplyPay { get; set; } /// /// 创单时间 /// [XmlElement("gmt_create")] public string GmtCreate { get; set; } /// /// 记录更新时间 /// [XmlElement("gmt_modified")] public string GmtModified { get; set; } /// /// 完成付款时间 /// [XmlElement("gmt_pay")] public string GmtPay { get; set; } /// /// 钉支付订单号 /// [XmlElement("order_no")] public string OrderNo { get; set; } /// /// 外部流水号 /// [XmlElement("out_biz_no")] public string OutBizNo { get; set; } /// /// 支付渠道 /// [XmlElement("pay_channel")] public string PayChannel { get; set; } /// /// 支付渠道方流水号 /// [XmlElement("pay_channel_biz_no")] public string PayChannelBizNo { get; set; } /// /// 支付渠道方付款者UID /// [XmlElement("pay_channel_payer_real_uid")] public string PayChannelPayerRealUid { get; set; } /// /// 收款方corpId或者userId /// [XmlElement("payee_id")] public string PayeeId { get; set; } /// /// 收款方类型 /// [XmlElement("payee_user_type")] public string PayeeUserType { get; set; } /// /// 付款方corpId或者userId /// [XmlElement("payer_id")] public string PayerId { get; set; } /// /// 付款方类型 /// [XmlElement("payer_user_type")] public string PayerUserType { get; set; } /// /// 来源应用ID /// [XmlElement("source_app_id")] public string SourceAppId { get; set; } /// /// 订单状态 /// [XmlElement("status")] public string Status { get; set; } /// /// 标题 /// [XmlElement("title")] public string Title { get; set; } } /// /// OrderSyncStatusOpenResponseDomain Data Structure. /// [Serializable] public class OrderSyncStatusOpenResponseDomain : TopObject { /// /// orders /// [XmlArray("orders")] [XmlArrayItem("orders")] public List Orders { get; set; } } } }