using System; using Newtonsoft.Json; namespace Alipay.AopSdk.Core.Domain { /// /// AlipayTradeWapPayModel Data Structure. /// [Serializable] public class AlipayTradeWapPayModel : AopObject { /// /// 针对用户授权接口,获取用户相关数据时,用于标识用户授权关系 /// [JsonProperty("auth_token")] public string AuthToken { get; set; } /// /// Iphone6 16G /// [JsonProperty("body")] public string Body { get; set; } /// /// 禁用渠道,用户不可用指定渠道支付 当有多个渠道时用“,”分隔 注,与enable_pay_channels互斥 /// [JsonProperty("disable_pay_channels")] public string DisablePayChannels { get; set; } /// /// 可用渠道,用户只能在指定渠道范围内支付 当有多个渠道时用“,”分隔 注,与disable_pay_channels互斥 /// [JsonProperty("enable_pay_channels")] public string EnablePayChannels { get; set; } /// /// 业务扩展参数 /// [JsonProperty("extend_params")] public ExtendParams ExtendParams { get; set; } /// /// 商品主类型 :0-虚拟类商品,1-实物类商品 /// [JsonProperty("goods_type")] public string GoodsType { get; set; } /// /// 开票信息 /// [JsonProperty("invoice_info")] public InvoiceInfo InvoiceInfo { get; set; } /// /// 商户网站唯一订单号 /// [JsonProperty("out_trade_no")] public string OutTradeNo { get; set; } /// /// 公用回传参数,如果请求时传递了该参数,则返回给商户时会回传该参数。支付宝只会在同步返回(包括跳转回商户网站)和异步通知时将该参数原样返回。本参数必须进行UrlEncode之后才可以发送给支付宝。 /// [JsonProperty("passback_params")] public string PassbackParams { get; set; } /// /// 销售产品码,商家和支付宝签约的产品码 /// [JsonProperty("product_code")] public string ProductCode { get; set; } /// /// 优惠参数 注:仅与支付宝协商后可用 /// [JsonProperty("promo_params")] public string PromoParams { get; set; } /// /// 用户付款中途退出返回商户网站的地址 /// [JsonProperty("quit_url")] public string QuitUrl { get; set; } /// /// 描述分账信息,Json格式,详见分账参数说明 /// [JsonProperty("royalty_info")] public RoyaltyInfo RoyaltyInfo { get; set; } /// /// 收款支付宝用户ID。 如果该值为空,则默认为商户签约账号对应的支付宝用户ID /// [JsonProperty("seller_id")] public string SellerId { get; set; } /// /// 指定渠道,目前仅支持传入pcredit 若由于用户原因渠道不可用,用户可选择是否用其他渠道支付。 注:该参数不可与花呗分期参数同时传入 /// [JsonProperty("specified_channel")] public string SpecifiedChannel { get; set; } /// /// 商户门店编号 /// [JsonProperty("store_id")] public string StoreId { get; set; } /// /// 间连受理商户信息体,当前只对特殊银行机构特定场景下使用此字段 /// [JsonProperty("sub_merchant")] public SubMerchant SubMerchant { get; set; } /// /// 商品的标题/交易标题/订单标题/订单关键字等。 /// [JsonProperty("subject")] public string Subject { get; set; } /// /// 绝对超时时间,格式为yyyy-MM-dd HH:mm。 /// [JsonProperty("time_expire")] public string TimeExpire { get; set; } /// /// 该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。 /// [JsonProperty("timeout_express")] public string TimeoutExpress { get; set; } /// /// 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000] /// [JsonProperty("total_amount")] public string TotalAmount { get; set; } } }