using System; using System.Collections.Generic; using System.Text; namespace AlibabaSDK.Domain { public class PFTProductDetailDomain : BasePFTResponseDomain { public List result { get; set; } } public class PFTProductDetailDomainResult { /// /// 批发团实例code /// public string instanceCode { get; set; } public PFTProductDetailDomainProInfo productInfo { get; set; } } public class PFTProductDetailDomainProInfo { /// /// 审核时间 /// /// public string approvedTime { get; set; } /// /// 商品属性和属性值 /// public List attributes { get; set; } /// /// 产品业务的支持信息,support为false说明不支持. /// public List bizGroupInfos { get; set; } /// /// 业务类型。1:商品,2:加工,3:代理,4:合作,5:商务服务。国际站按默认商品。 /// public int bizType { get; set; } /// /// 成交量 /// public long bookedCount { get; set; } /// /// 商品货号,产品属性中的货号 /// public string cargoNum { get; set; } /// /// 类目ID,标识商品所属类目 /// public long categoryID { get; set; } /// /// 类目名 /// public string categoryName { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 商品详情描述,可包含图片中心的图片URL /// public string description { get; set; } /// /// 详情视频 /// public string detailVedio { get; set; } /// /// 过期时间 /// public string expireTime { get; set; } /// /// 商品扩展信息 /// public List extendInfos { get; set; } /// /// 分组ID,确定商品所属分组。1688可传入多个分组ID,国际站同一个商品只能属于一个分组,因此默认只取第一个 /// public List groupID { get; set; } /// /// 商品主图 /// public PFTProductDetailDomainProInfoImage image { get; set; } /// /// 商品算法智能改写信息,包含算法优化后的商品标题和图片信息,未改写的则直接返回原标题和原图片 /// public List intelligentInfo { get; set; } /// /// 语种,参见FAQ 语种枚举值,1688网站默认传入CHINESE /// public string language { get; set; } /// /// 最后重发时间 /// public string lastRepostTime { get; set; } /// /// 最后操作时间 /// public string lastUpdateTime { get; set; } /// /// 主图视频播放地址 /// public string mainVedio { get; set; } /// /// 修改时间 /// public string modifyTime { get; set; } /// /// 信息有效期,按天计算,国际站无此信息 /// public int periodOfValidity { get; set; } /// /// 是否图片私密信息,国际站此字段无效 /// public bool pictureAuth { get; set; } /// /// 私密价格信息 /// public PFTProductDetailDomainProInfoPrivateChannelInfo privateChannelInfo { get; set; } //processingInfo 加工定制信息 暂时用不到 /// /// 现货商品关联的定制商品id /// public long processingOfferId { get; set; } /// /// 商品ID /// public long productID { get; set; } /// /// 产品线 /// public string productLine { get; set; } /// /// 商品类型,在线批发商品(wholesale)或者询盘商品(sourcing),1688网站缺省为wholesale /// public string productType { get; set; } /// /// 质量星级(1-7) /// public int qualityLevel { get; set; } /// /// 参考价格,返回价格区间,可能为空 /// public string referencePrice { get; set; } /// /// 订货数据 /// public PFTProductDetailDomainProInfoRserve reserveInfo { get; set; } /// /// 商品销售信息 /// public PFTProductDetailDomainProInfoSale saleInfo { get; set; } /// /// 是否支持七天无理由退货 /// public bool sevenDaysRefunds { get; set; } /// /// 商品物流信息 /// public PFTProductDetailDomainProInfoShipping shippingInfo { get; set; } /// /// sku信息 /// public List skuInfos { get; set; } /// /// 商品状态。published:上网状态;member expired:会员撤销;auto expired:自然过期;expired:过期(包含手动过期与自动过期);member deleted:会员删除;modified:修改;new:新发;deleted:删除;TBD:to be delete;approved:审批通过;auditing:审核中;untread:审核不通过; /// public string status { get; set; } /// /// 商品标题,最多128个字符 /// public string subject { get; set; } } public class PFTProductDetailDomainProInfoAtrr { /// /// 属性ID /// public long attributeID { get; set; } /// /// 属性名称 /// public string attributeName { get; set; } /// /// 是否为自定义属性,国际站无需关注 /// public bool isCustom { get; set; } /// /// 属性值 /// public string value { get; set; } /// /// 属性值ID /// public long valueID { get; set; } } public class PFTProductDetailDomainProInfoBizGroupInfo { /// /// 垂直市场标记 /// public string code { get; set; } /// /// 垂直市场名字,如微供市场、货品市场 /// public string description { get; set; } /// /// 是否支持 /// public bool support { get; set; } } public class PFTProductDetailDomainProInfoExtendInfos { /// /// 扩展结构的key /// public string key { get; set; } /// /// 扩展结构的value /// public string value { get; set; } } public class PFTProductDetailDomainProInfoImage { /// /// 主图列表,使用相对路径,需要增加域名:https://cbu01.alicdn.com/ /// public List images { get; set; } /// /// 是否打水印,是(true)或否(false),1688无需关注此字段,1688的水印信息在上传图片时处理 /// public bool isWatermark { get; set; } /// /// 水印是否有边框,有边框(true)或者无边框(false),1688无需关注此字段,1688的水印信息在上传图片时处理 /// public bool isWatermarkFrame { get; set; } /// /// 水印位置,在中间(center)或者在底部(bottom),1688无需关注此字段,1688的水印信息在上传图片时处理 /// public string watermarkPosition { get; set; } } public class PFTProductDetailDomainProInfoIntelligenInfo { /// /// 算法优化后的详情图片 /// public List descriptionImages { get; set; } /// /// 算法优化后的商品图片 /// public List images { get; set; } /// /// 算法优化后的详情图片 /// public string title { get; set; } public List skuImages { get; set; } } public class PFTProductDetailDomainProInfoIntelligenInfoSkuImg { /// /// 算法处理后的图片地址,未处理则返回原图片地址 /// public string imageUrl { get; set; } /// /// skuId /// public long skuId { get; set; } } public class PFTProductDetailDomainProInfoPrivateChannelInfo { public List offerPrivatePriceInfo { get; set; } } public class PFTProductDetailDomainProInfoPrivateChannelInfoItem { /// /// 具体会员等级价格(普通,高级,vip,至尊vip,初级)注意会员顺序 /// public string privatePriceInfo { get; set; } /// /// skuid,非规格报价为0 /// public long skuId { get; set; } } public class PFTProductDetailDomainProInfoRserve { /// /// 最大订货量 /// public long maxQuantity { get; set; } /// /// 最小订货量 /// public long minQuantity { get; set; } public List reserveRangeInfos { get; set; } /// /// 是否支持订货 /// public bool supportReserve { get; set; } } public class PFTProductDetailDomainProInfoRserveRange { /// /// 出货时间(天) /// public int period { get; set; } /// /// 订货数量,不能大于「最大订货量」 /// public long quantity { get; set; } } public class PFTProductDetailDomainProInfoSale { /// /// 可售数量,国际站无需关注此字段 /// public double amountOnSale { get; set; } /// /// 每批数量,默认为空或者非零值,该属性不为空时sellunit为必填 /// public int batchNumber { get; set; } /// /// 分销基准价。代销场景均使用该价格。有SKU商品查看skuInfo中的consignPrice /// public double consignPrice { get; set; } /// /// 发货时间限制(非买保发货周期),按开计算 /// public int deliveryLimit { get; set; } /// /// 库存扣减方式,1是下单减库存,2是付款减库存 /// public string invReduceType { get; set; } /// /// 最小起订量,范围是1-99999。 /// public int minOrderQuantity { get; set; } /// /// 是否支持混批,国际站无需关注此字段 /// public bool mixWholeSale { get; set; } /// /// 是否价格私密信息,国际站无需关注此字段 /// public bool priceAuth { get; set; } public List priceRanges { get; set; } /// /// 普通报价-FIXED_PRICE("0"),SKU规格报价-SKU_PRICE("1"),SKU区间报价(商品维度)-SKU_PRICE_RANGE_FOR_OFFER("2"),SKU区间报价(SKU维度)-SKU_PRICE_RANGE("3"),国际站无需关注 /// public int quoteType { get; set; } /// /// 建议零售价,国际站无需关注 /// public double retailprice { get; set; } /// /// 销售方式,按件卖(normal)或者按批卖(batch),1688站点无需关注此字段 /// public string saleType { get; set; } /// /// 售卖单位,如果为批量售卖,代表售卖的单位,该属性不为空时batchNumber为必填,例如1"手"=12“件"的"手",国际站无需关注 /// public string sellunit { get; set; } /// /// 是否支持网上交易。true:支持 false:不支持,国际站不需关注此字段 /// public bool supportOnlineTrade { get; set; } /// /// 税率相关信息,内容由用户自定,国际站无需关注 /// public string tax { get; set; } /// /// 计量单位 /// public string unit { get; set; } } public class PFTProductDetailDomainProInfoSalePriceRan { /// /// 商品价格 /// public double price { get; set; } /// /// 商品起订数量 /// public int startQuantity { get; set; } } public class PFTProductDetailDomainProInfoShipping { /// /// 厂货通渠道专享价非包邮地区(地址信息列表,省份信息) /// public List channelPriceExcludeAreaCodes { get; set; } /// /// 厂货通渠道专享价是否包邮,要结合非包邮地址,如果收货地址在非包邮地区则商品为不包邮 /// public bool channelPriceFreePostage { get; set; } /// /// 运费模板ID,0表示运费说明,1表示卖家承担运费,其他值表示使用运费模版。此参数可调用运费模板相关API获取 /// public long freightTemplateID { get; set; } /// /// 商品运费费率 /// public List freightTemplateList { get; set; } /// /// 发货地址ID,国际站无需处理此字段 /// public int sendGoodsAddressId { get; set; } /// /// 发货地描述 /// public string sendGoodsAddressText { get; set; } /// /// 重量/毛重,单位千克/件 /// public double unitWeight { get; set; } } public class PFTProductDetailDomainProInfoShippingArea { /// /// 地址编码 /// public string code { get; set; } /// /// 地址名称 /// public string name { get; set; } } public class OpenplatformFreightTemplate { /// /// 地址区域编码对应的文本(包括省市区,用空格隔开) /// public string addressCodeText { get; set; } } public class SkuInfosItem { /// /// 可销售数量,国际站无需关注 /// public int amountOnSale { get; set; } /// /// SKU属性值,可填多组信息 /// public List attributes { get; set; } /// /// 指定规格的货号,国际站无需关注 /// public string cargoNumber { get; set; } /// /// 分销基准价。代销场景均使用该价格。无SKU商品查看saleInfo中的consignPrice /// public double consignPrice { get; set; } /// /// 报价时该规格的单价,国际站注意要点:含有SKU属性的在线批发产品设定具体价格时使用此值,若设置阶梯价格则使用priceRange /// public double price { get; set; } /// /// 零售价,团长业务使用此价格 /// public double retailPrice { get; set; } /// /// 商品编码,1688无需关注 /// public string skuCode { get; set; } /// /// skuId, 国际站无需关注 /// public long skuId { get; set; } /// /// specId, 国际站无需关注 /// public string specId { get; set; } } public class AttributesItem { /// /// sku值ID,1688不用关注 /// public long attValueID { get; set; } /// /// sku属性类型;1-表示该属性是规格属性;2-表示该属性是规格扩展属性 /// public string attrType { get; set; } /// ///sku属性ID /// public long attributeID { get; set; } /// /// sku属性ID所对应的显示名,比如颜色,尺码 /// public string attributeName { get; set; } /// /// sku值内容,国际站不用关注 /// public string attributeValue { get; set; } /// /// 自定义属性值名称,1688无需关注 /// public string customValueName { get; set; } /// /// sku图片 /// public string skuImageUrl { get; set; } } }