NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayTradeBatchRefundModel.cs

45 lines
1.7 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>
/// AlipayTradeBatchRefundModel Data Structure.
/// </summary>
[Serializable]
public class AlipayTradeBatchRefundModel : AopObject
{
/// <summary>
/// 每进行一次即时到账批量退款,都需要提供一个批次号,通过该批次号可以查询这一批次的退款交易记录。对于每一个合作伙伴,传递的每一个批次号都必须保证唯一性。 格式为退款日期8位当天日期+流水号324位流水号可以接受数字或英文字符建议使用数字
/// </summary>
[XmlElement("batch_no")]
public string BatchNo { get; set; }
/// <summary>
/// 退款明细的笔数即参数detail_data的值中“#”字符出现的数量加1最大支持1000笔。
/// </summary>
[XmlElement("batch_num")]
public string BatchNum { get; set; }
/// <summary>
/// 退款明细列表
/// </summary>
[XmlArray("detail_data")]
[XmlArrayItem("refund_detail")]
public List<RefundDetail> DetailData { get; set; }
/// <summary>
/// 退款请求的当前时间。 格式为yyyy-MM-dd hh:mm:ss。
/// </summary>
[XmlElement("refund_date")]
public string RefundDate { get; set; }
/// <summary>
/// 是否使用冻结金额退款。 Y可以使用冻结金额退款 N不可使用冻结金额退款 如果不提供则默认值为N。
/// </summary>
[XmlElement("use_freeze_amount")]
public string UseFreezeAmount { get; set; }
}
}