#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Detail: https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md ----------------------------------------------------------------*/ #endregion Apache License Version 2.0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Senparc.Weixin.MP.AdvancedAPIs.Scan { public class BrandInfo_BaseInfo { /// /// /// public string title { get; set; } /// /// /// public string thumb_url { get; set; } /// /// /// public string brand_tag { get; set; } /// /// /// public int category_id { get; set; } /// /// /// public string store_mgr_type { get; set; } /// /// /// public List store_vendorid_list { get; set; } /// /// /// public string color { get; set; } } public class BrandInfo_DetailInfo { /// /// /// public List banner_list { get; set; } public List detail_list { get; set; } } public class BrandInfo_ActionInfo { /// /// 商品主页中可设置多个服务栏。 /// public List action_list { get; set; } } public class BrandInfo_ActionList { /// /// 服务栏的类型,Media,视频播放;Text,文字介绍;Link,图片跳转;Link,普通链接;User,公众号;Card,微信卡券;Price,建议零售价;Product,微信小店;Store,电商链接;recommend,商品推荐。 /// public string type { get; set; } } public class BrandInfo { public BrandInfo_BaseInfo base_info { get; set; } public BrandInfo_DetailInfo detail_info { get; set; } public BrandInfo_ActionInfo action_info { get; set; } public BrandInfo_ModuleInfo module_info { get; set; } } public class BrandInfo_ModuleInfo { /// /// 未来可设置多个组件,目前仅支持防伪组件。 /// public List module_list { get; set; } } public class BrandInfo_ModuleList { /// /// 组件的类型,目前仅包括防伪组件anti_fake。 /// public string type { get; set; } /// /// 设置为true时,防伪结果使用微信提供的弹窗页面展示,商户仅需调用“商品管理”部分的组件消息接口回传产品真假信息。设置为false时,无防伪弹窗效果。 /// public string native_show { get; set; } /// /// 商户提供的防伪查询链接,当native_show设置为false时必填。 /// public string anti_fake_url { get; set; } } }