NewGaoKaoApi/PaymentSDK/AliPay/Domain/KoubeiTradeItemorderBuyMode...

75 lines
2.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// KoubeiTradeItemorderBuyModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiTradeItemorderBuyModel : AopObject
{
/// <summary>
/// 业务产品
/// </summary>
[XmlElement("biz_product")]
public string BizProduct { get; set; }
/// <summary>
/// 业务场景
/// </summary>
[XmlElement("biz_scene")]
public string BizScene { get; set; }
/// <summary>
/// 买家支付宝ID
/// </summary>
[XmlElement("buyer_id")]
public string BuyerId { get; set; }
/// <summary>
/// 购买商品信息
/// </summary>
[XmlArray("item_order_details")]
[XmlArrayItem("item_order_detail")]
public List<ItemOrderDetail> ItemOrderDetails { get; set; }
/// <summary>
/// 商户订单号,64个字符以内、只能包含字母、数字、下划线需保证在商户端不重复
/// </summary>
[XmlElement("out_order_no")]
public string OutOrderNo { get; set; }
/// <summary>
/// 商户传入营销信息具体值要和口碑约定格式为json格式
/// </summary>
[XmlElement("promo_params")]
public string PromoParams { get; set; }
/// <summary>
/// 门店ID
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
/// <summary>
/// 订单标题
/// </summary>
[XmlElement("subject")]
public string Subject { get; set; }
/// <summary>
/// 该笔订单允许的最晚付款时间,逾期将关闭交易,取值范围:1m30m(单位:分钟) 不传默认3m。
/// </summary>
[XmlElement("timeout")]
public string Timeout { get; set; }
/// <summary>
/// 订单总金额,单位为元,精确到小数点后两位,必须等于费用之和
/// </summary>
[XmlElement("total_amount")]
public string TotalAmount { get; set; }
}
}