suningnetalliancecommoditydetailquery

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvanceSale

type AdvanceSale struct {
	IsReserveCommodity string `json:"isReserveCommodity"`
	DepositAmount      string `json:"depositAmount"`
	DepositEndTime     string `json:"depositEndTime"`
}

type CategoryInfo

type CategoryInfo struct {
	FirstSaleCategoryID        string `json:"firstSaleCategoryId"`
	FirstSaleCategoryName      string `json:"firstSaleCategoryName"`
	SecondSaleCategoryID       string `json:"secondSaleCategoryId"`
	SecondSaleCategoryName     string `json:"secondSaleCategoryName"`
	ThirdSaleCategoryID        string `json:"thirdSaleCategoryId"`
	ThirdSaleCategoryName      string `json:"thirdSaleCategoryName"`
	FirstPurchaseCategoryID    string `json:"firstPurchaseCategoryId"`
	FirstPurchaseCategoryName  string `json:"firstPurchaseCategoryName"`
	SecondPurchaseCategoryID   string `json:"secondPurchaseCategoryId"`
	SecondPurchaseCategoryName string `json:"secondPurchaseCategoryName"`
	ThirdPurchaseCategoryID    string `json:"thirdPurchaseCategoryId"`
	ThirdPurchaseCategoryName  string `json:"thirdPurchaseCategoryName"`
	GoodsGroupCategoryID       string `json:"goodsGroupCategoryId"`
	GoodsGroupCategoryName     string `json:"goodsGroupCategoryName"`
}

type CommodityInfo

type CommodityInfo struct {
	CommodityName  string       `json:"commodityName"`
	CommodityCode  string       `json:"commodityCode"`
	SupplierCode   string       `json:"supplierCode"`
	SupplierName   string       `json:"supplierName"`
	PictureURL     []PictureURL `json:"pictureUrl"`
	SellingPoint   string       `json:"sellingPoint"`
	MonthSales     int64        `json:"monthSales"`
	SnPrice        string       `json:"snPrice"`
	CommodityPrice string       `json:"commodityPrice"`
	CommodityType  int64        `json:"commodityType"`
	PriceType      string       `json:"priceType"`
	PriceTypeCode  int64        `json:"priceTypeCode"`
	Baoyou         int64        `json:"baoyou"`
	Rate           string       `json:"rate"`
	SaleStatus     int64        `json:"saleStatus"`
}

type CouponInfo

type CouponInfo struct {
	CouponURL           string      `json:"couponUrl"`
	ActivityID          string      `json:"activityId"`
	ActivitySecretKey   string      `json:"activitySecretKey"`
	CouponValue         interface{} `json:"couponValue"`
	CouponCount         interface{} `json:"couponCount"`
	CouponStartTime     string      `json:"couponStartTime"`
	CouponEndTime       string      `json:"couponEndTime"`
	StartTime           interface{} `json:"startTime"`
	EndTime             interface{} `json:"endTime"`
	BounsLimit          string      `json:"bounsLimit"`
	ActivityDescription string      `json:"activityDescription"`
	AfterCouponPrice    interface{} `json:"afterCouponPrice"`
}

type PGInfo

type PGInfo struct {
	PGNum            string `json:"pgNum"`
	PGPrice          string `json:"pgPrice"`
	MinOrderQuantity string `json:"minOrderQuantity"`
	PGURL            string `json:"pgUrl"`
	PGActionID       string `json:"pgActionId"`
}

type PictureURL

type PictureURL struct {
	PicURL     string `json:"picUrl"`
	LocationID int64  `json:"locationId"`
}

type QueryCommoditydetail

type QueryCommoditydetail struct {
	CommodityInfo CommodityInfo `json:"commodityInfo"`
	PGInfo        PGInfo        `json:"pgInfo"`
	CategoryInfo  CategoryInfo  `json:"categoryInfo"`
	CouponInfo    CouponInfo    `json:"couponInfo"`
	AdvanceSale   AdvanceSale   `json:"advanceSale"`
}

type Response

type Response struct {
	response2.TopResponse
	SnResponseContent SnResponseContent `json:"sn_responseContent"`
}

suning.netalliance.commoditydetail.query 推广商品详情信息接口

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type SnBody

type SnBody struct {
	QueryCommoditydetail []QueryCommoditydetail `json:"queryCommoditydetail"`
}

type SnError

type SnError struct {
	ErrorMsg  string `json:"error_msg"`
	ErrorCode string `json:"error_code"`
}

type SnResponseContent

type SnResponseContent struct {
	SnBody  SnBody   `json:"sn_body"`
	SnError *SnError `json:"sn_error"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL