using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// KoubeiTradeOrderEnterpriseSettleModel Data Structure.
///
[Serializable]
public class KoubeiTradeOrderEnterpriseSettleModel : AopObject
{
///
/// 业务产品
///
[XmlElement("biz_product")]
public string BizProduct { get; set; }
///
/// 业务场景
///
[XmlElement("biz_scene")]
public string BizScene { get; set; }
///
/// 买家支付金额,单位为元,精确到小数点后两位
///
[XmlElement("buyer_amount")]
public string BuyerAmount { get; set; }
///
/// 买家个人账户id
///
[XmlElement("buyer_id")]
public string BuyerId { get; set; }
///
/// 买家个人账户类型,buyer_type=alipay时,buyer_id代表买家的支付宝uid,会对buyer_id做合法性校验 alipay 支付宝账号 mobile 手机号 outUser 外部用户账号
///
[XmlElement("buyer_type")]
public string BuyerType { get; set; }
///
/// 第三方企业支付的金额,单位为元,精确到小数点后两位
///
[XmlElement("enterprise_amount")]
public string EnterpriseAmount { get; set; }
///
/// 额外的业务信息,以json串的格式传入,传入企业信息(enterpriseInfo),是否支持开票(supportInvoice),可开票金额(invoiceAmount)等信息
///
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
///
/// 商家补贴金额,单位为元,精确到小数点后两位
///
[XmlElement("mdiscount_amount")]
public string MdiscountAmount { get; set; }
///
/// 商户订单号,64个字符以内、只能包含字母、数字、下划线;需保证在商户端不重复
///
[XmlElement("out_order_no")]
public string OutOrderNo { get; set; }
///
/// 商户和支付宝交互时,用于代表支付宝分配给商户ID
///
[XmlElement("partner_id")]
public string PartnerId { get; set; }
///
/// 外部平台补贴的金额,单位为元,精确到小数点后两位
///
[XmlElement("platform_discount_amount")]
public string PlatformDiscountAmount { get; set; }
///
/// 商家实收金额,单位为元,精确到小数点后两位 商家实收金额 = 平台优惠金额+企业支付金额+买家支付金额
///
[XmlElement("real_amount")]
public string RealAmount { get; set; }
///
/// 门店id
///
[XmlElement("shop_id")]
public string ShopId { get; set; }
///
/// 订单总金额,单位为元,精确到小数点后两位。 订单总金额=商家实收金额+商家优惠金额
///
[XmlElement("total_amount")]
public string TotalAmount { get; set; }
///
/// 该笔订单交易关闭超时时间,逾期将关闭交易,取值范围:3m~60m(单位:分钟) 不传默认3m。
///
[XmlElement("trade_close_timeout")]
public string TradeCloseTimeout { get; set; }
///
/// 该笔订单的交易完结超时时间,从结算成功开始计算,逾期将把交易状态推进到完结,完结后不允许退款,取值范围:1m~3000m(单位:分钟) 不传默认2880m(48小时)。
///
[XmlElement("trade_finish_timeout")]
public string TradeFinishTimeout { get; set; }
}
}