NewGaoKaoApi/PaymentSDK/AliPay/Domain/KbOrderVoucherModel.cs

85 lines
2.4 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>
/// KbOrderVoucherModel Data Structure.
/// </summary>
[Serializable]
public class KbOrderVoucherModel : AopObject
{
/// <summary>
/// 商品凭证过期时间
/// </summary>
[XmlElement("expire_date")]
public string ExpireDate { get; set; }
/// <summary>
/// 商品凭证核销/退款对应的资金流水号
/// </summary>
[XmlElement("funds_voucher_no")]
public string FundsVoucherNo { get; set; }
/// <summary>
/// 商品ID
/// </summary>
[XmlElement("item_id")]
public string ItemId { get; set; }
/// <summary>
/// 退款理由,由消费者选择或填写内容,系统退款可以为空。
/// </summary>
[XmlElement("refund_reason")]
public string RefundReason { get; set; }
/// <summary>
/// 退款类型ROLE_DAEMON超期未使用ROLE_USER消费者主动
/// </summary>
[XmlElement("refund_type")]
public string RefundType { get; set; }
/// <summary>
/// 商品凭证核销门店ID,核销后会存在该字段
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
/// <summary>
/// 状态
/// </summary>
[XmlElement("status")]
public string Status { get; set; }
/// <summary>
/// 商品凭证核销门店外部ID
/// </summary>
[XmlElement("store_id")]
public string StoreId { get; set; }
/// <summary>
/// 凭证剩余可核销次数(次卡场景)
/// </summary>
[XmlElement("ticket_effect_count")]
public string TicketEffectCount { get; set; }
/// <summary>
/// 凭证已退款次数(次卡场景)
/// </summary>
[XmlElement("ticket_refunded_count")]
public string TicketRefundedCount { get; set; }
/// <summary>
/// 凭证已使用次数(次卡场景)
/// </summary>
[XmlElement("ticket_used_count")]
public string TicketUsedCount { get; set; }
/// <summary>
/// 商品凭证ID
/// </summary>
[XmlElement("voucher_id")]
public string VoucherId { get; set; }
}
}