NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipayEbppBillRefundModel.cs

55 lines
2.3 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>
/// AlipayEbppBillRefundModel Data Structure.
/// </summary>
[Serializable]
public class AlipayEbppBillRefundModel : AopObject
{
/// <summary>
/// 支付宝流水号。
/// </summary>
[XmlElement("alipay_bill_no")]
public string AlipayBillNo { get; set; }
/// <summary>
/// 扩展字段json格式的一系列键值对示例只是个形式具体的Key-Value需要根据具体业务另行约定。 无特别约定时,此字段不必传。
/// </summary>
[XmlElement("extend_field")]
public string ExtendField { get; set; }
/// <summary>
/// 退款备注
/// </summary>
[XmlElement("memo")]
public string Memo { get; set; }
/// <summary>
/// ISV流水号用于控制幂等须确保全局唯一缴税业务可采用{征收机关代码}-{外部申报号}的形式) out_order_no与alipay_bill_no二者中至少要传一个
/// </summary>
[XmlElement("out_order_no")]
public string OutOrderNo { get; set; }
/// <summary>
/// 退款金额,单位:元 不可超过创单时的金额。 如果scene是TOTAL_FAILURE则强制要求全额退款不支持部分退款。
/// </summary>
[XmlElement("refund_amount")]
public string RefundAmount { get; set; }
/// <summary>
/// 退款来源账户。 仅在退款请求对应的业务流水资金已经结算的情况下有用,不指定则不能对已结算业务流水发起退款。 取值可以给定受管控账户2088****************需要事先在支付宝备案通过方可使用亦可以填入THIS_ACCOUNT表示会从当前调用者的账户退款给用户。
/// </summary>
[XmlElement("refund_from")]
public string RefundFrom { get; set; }
/// <summary>
/// 退款场景,不同场景由不同策略处理。 OVERPAYMENT退掉用户多支付的金额 PARTIALLY_DONE业务上部分失败导致退款 TOTAL_FAILURE完全失败导致的退款
/// </summary>
[XmlElement("scene")]
public string Scene { get; set; }
}
}