using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiDingpayBillBatchqueryResponse.
///
public class OapiDingpayBillBatchqueryResponse : DingTalkResponse
{
///
/// 错误代码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误文案
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// result
///
[XmlElement("result")]
public BillBatchQueryOpenResponseDomain Result { get; set; }
///
/// 是否成功
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// DingPayBillOpenBoDomain Data Structure.
///
[Serializable]
public class DingPayBillOpenBoDomain : TopObject
{
///
/// 金额(单位:分)
///
[XmlElement("amount")]
public long Amount { get; set; }
///
/// 发起支付操作员userId
///
[XmlElement("apply_pay_operator_userid")]
public string ApplyPayOperatorUserid { get; set; }
///
/// INCOME收入、EXPENSE支出
///
[XmlElement("bill_category")]
public string BillCategory { get; set; }
///
/// 账单号
///
[XmlElement("bill_no")]
public string BillNo { 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; }
///
/// 收款方真实账号
///
[XmlElement("pay_channel_payee_real_uid")]
public string PayChannelPayeeRealUid { 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; }
///
/// 记账主体corpId或者userId
///
[XmlElement("principal_id")]
public string PrincipalId { get; set; }
///
/// 收款人账户类型
///
[XmlElement("receiptor_type")]
public string ReceiptorType { get; set; }
///
/// 来源应用ID
///
[XmlElement("source_app_id")]
public string SourceAppId { get; set; }
///
/// 状态
///
[XmlElement("status")]
public string Status { get; set; }
///
/// 中止操作员id
///
[XmlElement("termination_operator_id")]
public string TerminationOperatorId { get; set; }
///
/// 中止支付原因
///
[XmlElement("termination_reason")]
public string TerminationReason { get; set; }
///
/// 标题
///
[XmlElement("title")]
public string Title { get; set; }
}
///
/// BillBatchQueryOpenResponseDomain Data Structure.
///
[Serializable]
public class BillBatchQueryOpenResponseDomain : TopObject
{
///
/// billList
///
[XmlArray("bill_list")]
[XmlArrayItem("ding_pay_bill_open_bo")]
public List BillList { get; set; }
///
/// 当前页码
///
[XmlElement("current_page_num")]
public long CurrentPageNum { get; set; }
///
/// 如果nextKey不为空,说明还有翻页数据
///
[XmlElement("next_key")]
public string NextKey { get; set; }
///
/// 每页大小
///
[XmlElement("page_size")]
public long PageSize { get; set; }
///
/// 总记录条数
///
[XmlElement("total_count")]
public long TotalCount { get; set; }
///
/// 总页数
///
[XmlElement("total_page")]
public long TotalPage { get; set; }
}
}
}