NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayDaoweiOrderRefundMode...

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>
/// AlipayDaoweiOrderRefundModel Data Structure.
/// </summary>
[Serializable]
public class AlipayDaoweiOrderRefundModel : AopObject
{
/// <summary>
/// 退款操作备注信息用于详述退款单原因使用该接口必须要详细说明退款的原因必填长度不超过2000字符
/// </summary>
[XmlElement("memo")]
public string Memo { get; set; }
/// <summary>
/// 到位业务订单号全局唯一由32位数字组成用户在到位下单时系统生成并消息同步给商家商户只能查自己同步到的订单号
/// </summary>
[XmlElement("order_no")]
public string OrderNo { get; set; }
/// <summary>
/// 外部商户的退款id用于控制退款操作的幂等不同退款请求保证不同最大长度不超过64字符
/// </summary>
[XmlElement("out_refund_id")]
public string OutRefundId { get; set; }
/// <summary>
/// 退款金额,单位是元,商户可以全额退款也可以部分,退款金额不大于订单实际支付金额
/// </summary>
[XmlElement("refund_amount")]
public string RefundAmount { get; set; }
/// <summary>
/// 订单退款的详细信息:可能包含多个服务订单的退款,内部包含每一个服务的订单号和单个的退款金额
/// </summary>
[XmlArray("refund_details")]
[XmlArrayItem("order_refund_info")]
public List<OrderRefundInfo> RefundDetails { get; set; }
}
}