接口文件
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Alipay.AopSdk.Core.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// GoodsDetail Data Structure.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class GoodsDetail : AopObject
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付宝定义的统一商品编号
|
||||
/// </summary>
|
||||
[JsonProperty("alipay_goods_id")]
|
||||
public string AlipayGoodsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品描述信息
|
||||
/// </summary>
|
||||
[JsonProperty("body")]
|
||||
public string Body { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品类目
|
||||
/// </summary>
|
||||
[JsonProperty("goods_category")]
|
||||
public string GoodsCategory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品的编号
|
||||
/// </summary>
|
||||
[JsonProperty("goods_id")]
|
||||
public string GoodsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[JsonProperty("goods_name")]
|
||||
public string GoodsName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品单价,单位为元
|
||||
/// </summary>
|
||||
[JsonProperty("price")]
|
||||
public string Price { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品数量
|
||||
/// </summary>
|
||||
[JsonProperty("quantity")]
|
||||
public long Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 商品的展示地址
|
||||
/// </summary>
|
||||
[JsonProperty("show_url")]
|
||||
public string ShowUrl { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user