NewGaoKaoApi/PaymentSDK/AliPay/Domain/ItemDetail.cs

37 lines
966 B
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>
/// ItemDetail Data Structure.
/// </summary>
[Serializable]
public class ItemDetail : AopObject
{
/// <summary>
/// 商品编号
/// </summary>
[XmlElement("item_id")]
public string ItemId { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[XmlElement("item_name")]
public string ItemName { get; set; }
/// <summary>
/// 商品价格,单位为元,精确到小数点后两位,取值范围[0.01,100000000]
/// </summary>
[XmlElement("price")]
public string Price { get; set; }
/// <summary>
/// 商品数量。目前仅支持整数若需要传小数请咨询支付宝小二或接口owner
/// </summary>
[XmlElement("quantity")]
public long Quantity { get; set; }
}
}