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