NewGaoKaoApi/PaymentSDK/AliPay/Domain/KoubeiMallScanpurchaseTrade...

57 lines
2.0 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>
/// KoubeiMallScanpurchaseTradeConsultModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiMallScanpurchaseTradeConsultModel : AopObject
{
/// <summary>
/// 商品明细列表。注意:单品总金额不能大于订单金额
/// </summary>
[XmlArray("goods_detail")]
[XmlArrayItem("mall_goods_detail")]
public List<MallGoodsDetail> GoodsDetail { get; set; }
/// <summary>
/// 用于代表支付宝分配给商户ID
/// </summary>
[XmlElement("partner_id")]
public string PartnerId { get; set; }
/// <summary>
/// 唯一请求id开放者请确保每次请求的唯一性
/// </summary>
[XmlElement("request_id")]
public string RequestId { get; set; }
/// <summary>
/// 门店id
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
/// <summary>
/// 订单总金额,单位元,精确到小数点后两位,取值范围[0.01,999999999] 如果同时传入了【不可打折金额】,【订单总金额】两者,则必须满足【不可打折金额】<=【订单总金额】
/// </summary>
[XmlElement("total_amount")]
public string TotalAmount { get; set; }
/// <summary>
/// 不可打折金额,单位为元,精确到小数点后两位,取值范围[0,999999999] 如果同时传入了【不可打折金额】、【订单总金额】,则必须满足【不可打折金额】<=【订单总金额】
/// </summary>
[XmlElement("undiscountable_amount")]
public string UndiscountableAmount { get; set; }
/// <summary>
/// 支付宝用户Id
/// </summary>
[XmlElement("user_id")]
public string UserId { get; set; }
}
}