NewGaoKaoApi/PaymentSDK/AliPay/Domain/ItemResp.cs

103 lines
2.4 KiB
C#

using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// ItemResp Data Structure.
/// </summary>
[Serializable]
public class ItemResp : AopObject
{
/// <summary>
/// 内容分类
/// </summary>
[XmlElement("category")]
public string Category { get; set; }
/// <summary>
/// 用户是否已购买或已领取:true-已购买/已领取,false-未购买/未领取
/// </summary>
[XmlElement("has_recive")]
public bool HasRecive { get; set; }
/// <summary>
/// 小图标地址
/// </summary>
[XmlElement("icon")]
public string Icon { get; set; }
/// <summary>
/// 营销图片
/// </summary>
[XmlElement("image")]
public string Image { get; set; }
/// <summary>
/// 商品、券ID
/// </summary>
[XmlElement("item_id")]
public string ItemId { get; set; }
/// <summary>
/// 内容意义
/// </summary>
[XmlElement("meaning")]
public string Meaning { get; set; }
/// <summary>
/// 商品原价
/// </summary>
[XmlElement("org_price")]
public string OrgPrice { get; set; }
/// <summary>
/// 商品价格或折扣
/// </summary>
[XmlElement("price")]
public string Price { get; set; }
/// <summary>
/// 店铺id
/// </summary>
[XmlElement("shop_id")]
public string ShopId { get; set; }
/// <summary>
/// 简要描述
/// </summary>
[XmlElement("summary")]
public string Summary { get; set; }
/// <summary>
/// 内容标签
/// </summary>
[XmlElement("tags")]
public string Tags { get; set; }
/// <summary>
/// 限制及特性描述
/// </summary>
[XmlElement("tips")]
public string Tips { get; set; }
/// <summary>
/// 标题
/// </summary>
[XmlElement("title")]
public string Title { get; set; }
/// <summary>
/// 类型:VOUCHER(券)、ITEM(商品)
/// </summary>
[XmlElement("type")]
public string Type { get; set; }
/// <summary>
/// 内容跳转地址
/// </summary>
[XmlElement("url")]
public string Url { get; set; }
}
}