NewGaoKaoApi/PaymentSDK/AliPay/Domain/HuanxuTradeOrderRefundModel.cs

61 lines
2.5 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>
/// HuanxuTradeOrderRefundModel Data Structure.
/// </summary>
[Serializable]
public class HuanxuTradeOrderRefundModel : AopObject
{
/// <summary>
/// 用户身份识别值。根据type和issuer传入对应格式的值若type为USER_IDissuer为ALIPAY则identity为2088开头的16位纯数字。若type为USER_IDissuer为MERCHANT则identity根据商户定义的格式传入。若type为BAR_CODEissuer为ALIPAY则identity为25~30开头的长度为16~24位数字的支付宝付款码实际字符串长度以及规则可能会进行调整与优化以开发者获取的付款码长度为准
/// </summary>
[XmlElement("identity")]
public string Identity { get; set; }
/// <summary>
/// 用户id的发行主体。 ALIPAY支付宝MERCHANT:商户。 目前issuer为MERCHANT时type仅支持USER_ID。注issuer为MERCHANT时请确保商户会员体系与支付宝会员体系已打通若需打通请联系支付宝小二或接口owner进行咨询
/// </summary>
[XmlElement("issuer")]
public string Issuer { get; set; }
/// <summary>
/// 支付的收款方信息,如果涉及多收款方需传入该信息
/// </summary>
[XmlElement("payee")]
public UserIdentity Payee { get; set; }
/// <summary>
/// 支付id支付宝针对每一笔支付请求生成的唯一支付凭证
/// </summary>
[XmlElement("payment_id")]
public string PaymentId { get; set; }
/// <summary>
/// 退款金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]
/// </summary>
[XmlElement("refund_amount")]
public string RefundAmount { get; set; }
/// <summary>
/// 退款请求号,对应一笔业务订单下的一次退款请求,不同退款请求需保证请求号唯一
/// </summary>
[XmlElement("refund_request_no")]
public string RefundRequestNo { get; set; }
/// <summary>
/// 退款说明
/// </summary>
[XmlElement("remark")]
public string Remark { get; set; }
/// <summary>
/// 用户识别ID的类型。 USRE_ID用户id支付宝或其他发行主体方中的用户idBAR_CODE付款码
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
}
}