NewGaoKaoApi/PaymentSDK/AliPay/Domain/AlipaySocialGiftVoucherUseM...

55 lines
2.1 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;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipaySocialGiftVoucherUseModel Data Structure.
/// </summary>
[Serializable]
public class AlipaySocialGiftVoucherUseModel : AopObject
{
/// <summary>
/// 商户通过该接口落卡包后其支付宝卡包中对应实体卡、券的失效时间。该值可以选填。【注意如果不填写默认为生效时间后3年】。其时间规则可以在商户后台进行配置。
/// </summary>
[XmlElement("end_date")]
public string EndDate { get; set; }
/// <summary>
/// 商户再送礼平台的唯一ID用于标识具体的调用业务方需要先在送礼平台进行业务类型的分配之后才看使用。
/// </summary>
[XmlElement("mid")]
public string Mid { get; set; }
/// <summary>
/// 主订单id核销对应的送礼平台主订单id
/// </summary>
[XmlElement("order_id")]
public string OrderId { get; set; }
/// <summary>
/// 当前用户剩余的金额,该金额会作为剩余金额显示到卡包中。注意,需要由商户自行保证该金额的正确性。平台不会存这个剩余金额,也不会做相关校验(除了必须不能小于零外)
/// </summary>
[XmlElement("price")]
public string Price { get; set; }
/// <summary>
/// 商户通过该接口落卡包后,其支付宝卡包中对应实体(卡、券)的生效时间。该值可以选填。默认生效时间为当前时间。其规则可以在商户后台进行配置。
/// </summary>
[XmlElement("start_date")]
public string StartDate { get; set; }
/// <summary>
/// 核销金额,即本次用户消费的金额。
/// </summary>
[XmlElement("use_price")]
public string UsePrice { get; set; }
/// <summary>
/// 卡码code改id为商户上传到平台的id。
/// </summary>
[XmlElement("voucher_id")]
public string VoucherId { get; set; }
}
}