NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayFundTransAppPayModel.cs

97 lines
3.4 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;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayFundTransAppPayModel Data Structure.
/// </summary>
[Serializable]
public class AlipayFundTransAppPayModel : AopObject
{
/// <summary>
/// 描述特定的业务场景,可传值如下: PERSONAL_PAY: 发红包
/// </summary>
[XmlElement("biz_scene")]
public string BizScene { get; set; }
/// <summary>
/// JSON格式传递业务扩展参数. 业务扩展字段JSON格式。支持如下属性 sub_biz_scene 子场景必填传REDPACKET payer_binded_alipay_uid 创建红包的商户会员绑定的支付宝userId必填
/// </summary>
[XmlElement("business_params")]
public string BusinessParams { get; set; }
/// <summary>
/// 支付宝订单号
/// </summary>
[XmlElement("order_id")]
public string OrderId { get; set; }
/// <summary>
/// 支付订单的标题,用于在收银台和消费记录展示
/// </summary>
[XmlElement("order_title")]
public string OrderTitle { get; set; }
/// <summary>
/// 商户端的唯一订单号,对于同一笔转账请求,商户需保证该订单号唯一。
/// </summary>
[XmlElement("out_biz_no")]
public string OutBizNo { get; set; }
/// <summary>
/// 公用回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。
/// </summary>
[XmlElement("passback_params")]
public string PassbackParams { get; set; }
/// <summary>
/// 收款方信息
/// </summary>
[XmlElement("payee_info")]
public Participant PayeeInfo { get; set; }
/// <summary>
/// 付款方信息
/// </summary>
[XmlElement("payer_info")]
public Participant PayerInfo { get; set; }
/// <summary>
/// 销售产品码,商家和支付宝签约的产品码。 STD_RED_PACKET现金红包
/// </summary>
[XmlElement("product_code")]
public string ProductCode { get; set; }
/// <summary>
/// 退款超时时间格式yyyy-MM-dd HH:mm。到指定时间后系统会自动触发退款并原路退回到付款账户。如果指定了退款时间必须早于销售方案里设置的最晚退款时间。
/// </summary>
[XmlElement("refund_time_expire")]
public string RefundTimeExpire { get; set; }
/// <summary>
/// 支付备注
/// </summary>
[XmlElement("remark")]
public string Remark { get; set; }
/// <summary>
/// 商户发起请求的系统时间格式yyyy-MM-dd HH:mm。基于安全的考虑支付宝会对请求时间间隔进行控制超过一定时间会拒绝支付请求。
/// </summary>
[XmlElement("request_time")]
public string RequestTime { get; set; }
/// <summary>
/// 绝对超时时间格式为yyyy-MM-dd HH:mm
/// </summary>
[XmlElement("time_expire")]
public string TimeExpire { get; set; }
/// <summary>
/// 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,9999999999999.99]
/// </summary>
[XmlElement("trans_amount")]
public string TransAmount { get; set; }
}
}