NewGaoKaoApi/PaymentSDK/AliPay/Domain/SkuModifyInfo.cs

52 lines
1.4 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// SkuModifyInfo Data Structure.
/// </summary>
[Serializable]
public class SkuModifyInfo : AopObject
{
/// <summary>
/// 库存
/// </summary>
[XmlElement("inventory")]
public long Inventory { get; set; }
/// <summary>
/// SKU素材列表会和SKU已存在素材做差异化比较后做增删改操作
/// </summary>
[XmlArray("material_list")]
[XmlArrayItem("material_modify_info")]
public List<MaterialModifyInfo> MaterialList { get; set; }
/// <summary>
/// 标价,单位分
/// </summary>
[XmlElement("original_price")]
public long OriginalPrice { get; set; }
/// <summary>
/// 售价,单位分
/// </summary>
[XmlElement("price")]
public long Price { get; set; }
/// <summary>
/// SKU属性列表覆盖SKU已存在属性
/// </summary>
[XmlArray("property_list")]
[XmlArrayItem("item_sku_property_info")]
public List<ItemSkuPropertyInfo> PropertyList { get; set; }
/// <summary>
/// SKU ID传空表示新增对应SKU
/// </summary>
[XmlElement("sku_id")]
public string SkuId { get; set; }
}
}