NewGaoKaoApi/PaymentSDK/AliPay/Response/AlipayTradeRefundResponse.cs

123 lines
3.9 KiB
C#
Raw 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;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayTradeRefundResponse.
/// </summary>
public class AlipayTradeRefundResponse : AopResponse
{
/// <summary>
/// 用户的登录id
/// </summary>
[XmlElement("buyer_logon_id")]
public string BuyerLogonId { get; set; }
/// <summary>
/// 买家在支付宝的用户id
/// </summary>
[XmlElement("buyer_user_id")]
public string BuyerUserId { get; set; }
/// <summary>
/// 本次退款是否发生了资金变化
/// </summary>
[XmlElement("fund_change")]
public string FundChange { get; set; }
/// <summary>
/// 退款支付时间
/// </summary>
[XmlElement("gmt_refund_pay")]
public string GmtRefundPay { get; set; }
/// <summary>
/// 买家支付宝用户号,该参数已废弃,请不要使用
/// </summary>
[XmlElement("open_id")]
public string OpenId { get; set; }
/// <summary>
/// 商户订单号
/// </summary>
[XmlElement("out_trade_no")]
public string OutTradeNo { get; set; }
/// <summary>
/// 本次退款金额中买家退款金额
/// </summary>
[XmlElement("present_refund_buyer_amount")]
public string PresentRefundBuyerAmount { get; set; }
/// <summary>
/// 本次退款金额中平台优惠退款金额
/// </summary>
[XmlElement("present_refund_discount_amount")]
public string PresentRefundDiscountAmount { get; set; }
/// <summary>
/// 本次退款金额中商家优惠退款金额
/// </summary>
[XmlElement("present_refund_mdiscount_amount")]
public string PresentRefundMdiscountAmount { get; set; }
/// <summary>
/// 本次退款针对收款方的退收费金额; 默认不返回该信息,需与支付宝约定后配置返回;
/// </summary>
[XmlElement("refund_charge_amount")]
public string RefundChargeAmount { get; set; }
/// <summary>
/// 退款币种信息
/// </summary>
[XmlElement("refund_currency")]
public string RefundCurrency { get; set; }
/// <summary>
/// 退款使用的资金渠道。 只有在签约中指定需要返回资金明细或者入参的query_options中指定时才返回该字段信息。
/// </summary>
[XmlArray("refund_detail_item_list")]
[XmlArrayItem("trade_fund_bill")]
public List<TradeFundBill> RefundDetailItemList { get; set; }
/// <summary>
/// 退款总金额
/// </summary>
[XmlElement("refund_fee")]
public string RefundFee { get; set; }
/// <summary>
/// 退回的前置资产列表
/// </summary>
[XmlElement("refund_preset_paytool_list")]
public PresetPayToolInfo RefundPresetPaytoolList { get; set; }
/// <summary>
/// 退款清算编号,用于清算对账使用; 只在银行间联交易场景下返回该信息;
/// </summary>
[XmlElement("refund_settlement_id")]
public string RefundSettlementId { get; set; }
/// <summary>
/// 本次商户实际退回金额 注:在签约收单产品时需勾选“返回资金明细”才会返回
/// </summary>
[XmlElement("send_back_fee")]
public string SendBackFee { get; set; }
/// <summary>
/// 交易在支付时候的门店名称
/// </summary>
[XmlElement("store_name")]
public string StoreName { get; set; }
/// <summary>
/// 2013112011001004330000121536
/// </summary>
[XmlElement("trade_no")]
public string TradeNo { get; set; }
}
}