NewGaoKaoApi/PaymentSDK/AliPay/Domain/KoubeiTradeOrderConsultMode...

57 lines
2.4 KiB
C#
Raw 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>
/// KoubeiTradeOrderConsultModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiTradeOrderConsultModel : AopObject
{
/// <summary>
/// 用户设备信息,通过钱包容器提供的JSAPI接口获取 一、接口使用方法: AlipayJSBridge.call('getO2ODeviceToken', { appName: 'kb_isv_110229', appKey:'98y6VvdaDLpoqWZw' }, function (result) { } ); }); 二、result数据结构 1、调用失败 {"error":xxx,"errorMessage":"xxx"} 2、调用成功 {'appToken':'xxxssajkjkjkxdkwqkqwb'}
/// </summary>
[XmlElement("apdid_token")]
public string ApdidToken { get; set; }
/// <summary>
/// 商品明细列表。注意:单品总金额不能大于订单金额
/// </summary>
[XmlArray("goods_info")]
[XmlArrayItem("goods_info")]
public List<GoodsInfo> GoodsInfo { get; set; }
/// <summary>
/// 唯一请求id开放者请确保每次请求的唯一性
/// </summary>
[XmlElement("request_id")]
public string RequestId { get; set; }
/// <summary>
/// 支付宝门店编号
/// </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; }
}
}