NewGaoKaoApi/PaymentSDK/AliPay/Domain/GoodsDetail.cs

67 lines
1.7 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>
/// GoodsDetail Data Structure.
/// </summary>
[Serializable]
public class GoodsDetail : AopObject
{
/// <summary>
/// 支付宝定义的统一商品编号
/// </summary>
[XmlElement("alipay_goods_id")]
public string AlipayGoodsId { get; set; }
/// <summary>
/// 商品描述信息
/// </summary>
[XmlElement("body")]
public string Body { get; set; }
/// <summary>
/// 商品类目树从商品类目根节点到叶子节点的类目id组成类目id值使用|分割
/// </summary>
[XmlElement("categories_tree")]
public string CategoriesTree { get; set; }
/// <summary>
/// 商品类目
/// </summary>
[XmlElement("goods_category")]
public string GoodsCategory { get; set; }
/// <summary>
/// 商品的编号
/// </summary>
[XmlElement("goods_id")]
public string GoodsId { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[XmlElement("goods_name")]
public string GoodsName { get; set; }
/// <summary>
/// 商品单价,单位为元
/// </summary>
[XmlElement("price")]
public string Price { get; set; }
/// <summary>
/// 商品数量
/// </summary>
[XmlElement("quantity")]
public long Quantity { get; set; }
/// <summary>
/// 商品的展示地址
/// </summary>
[XmlElement("show_url")]
public string ShowUrl { get; set; }
}
}