NewGaoKaoApi/PaymentSDK/AliPay/Domain/AntMerchantExpandItemModify...

88 lines
2.6 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>
/// AntMerchantExpandItemModifyModel Data Structure.
/// </summary>
[Serializable]
public class AntMerchantExpandItemModifyModel : AopObject
{
/// <summary>
/// 商品详情地址
/// </summary>
[XmlElement("detail_url")]
public string DetailUrl { get; set; }
/// <summary>
/// 商品扩展信息:可以解析成 Map<String, String> 的 json string
/// </summary>
[XmlElement("ext_info")]
public string ExtInfo { get; set; }
/// <summary>
/// 外部商品IDitem_id不为空时作为普通更新项item_id为空时作为更新KEY
/// </summary>
[XmlElement("external_item_id")]
public string ExternalItemId { get; set; }
/// <summary>
/// 前台类目id, null表示未分类
/// </summary>
[XmlElement("front_category_id")]
public string FrontCategoryId { get; set; }
/// <summary>
/// 商品id(和external_item_id不能同时为空)
/// </summary>
[XmlElement("item_id")]
public string ItemId { get; set; }
/// <summary>
/// 商品标签列表null表示不修改标签列表空list表示清空标签
/// </summary>
[XmlArray("label_list")]
[XmlArrayItem("item_label_modify_info")]
public List<ItemLabelModifyInfo> LabelList { get; set; }
/// <summary>
/// 商品主图
/// </summary>
[XmlElement("main_pic")]
public string MainPic { get; set; }
/// <summary>
/// 商品名称
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
/// <summary>
/// 更新时间戳(只处理时间戳最大的一次请求)
/// </summary>
[XmlElement("op_timestamp")]
public long OpTimestamp { get; set; }
/// <summary>
/// 场景GAS_CHARGE加油
/// </summary>
[XmlElement("scene")]
public string Scene { get; set; }
/// <summary>
/// SKU列表会和商品已存在SKU做差异化比较后做增删改操作
/// </summary>
[XmlArray("sku_list")]
[XmlArrayItem("item_sku_modify_info")]
public List<ItemSkuModifyInfo> SkuList { get; set; }
/// <summary>
/// 商品状态: EFFECT有效、 INVALID无效
/// </summary>
[XmlElement("status")]
public string Status { get; set; }
}
}