tbkitemcouponget

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 Response

type Response struct {
	response.TopResponse
	TbkItemCouponGetResult Result `json:"tbk_item_coupon_get_response"`
}

taobao.tbk.item.coupon.get( 单品加券检索api )

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type Result

type Result struct {
	Results      Results `json:"results"`
	TotalResults int64   `json:"total_results"`
	RequestID    string  `json:"request_id"`
}

type Results

type Results struct {
	TbkCoupon []TbkCoupon `json:"tbk_coupon"`
}

type SmallImages

type SmallImages struct {
	String []string `json:"string"`
}

type TbkCoupon

type TbkCoupon struct {
	Category          int64        `json:"category"`
	CommissionRate    string       `json:"commission_rate"`
	CouponClickURL    string       `json:"coupon_click_url"`
	CouponEndTime     string       `json:"coupon_end_time"`
	CouponInfo        string       `json:"coupon_info"`
	CouponRemainCount int64        `json:"coupon_remain_count"`
	CouponStartTime   string       `json:"coupon_start_time"`
	CouponTotalCount  int64        `json:"coupon_total_count"`
	ItemDescription   string       `json:"item_description"`
	ItemURL           string       `json:"item_url"`
	Nick              string       `json:"nick"`
	NumIid            int64        `json:"num_iid"`
	PictURL           string       `json:"pict_url"`
	SellerID          int64        `json:"seller_id"`
	ShopTitle         string       `json:"shop_title"`
	SmallImages       *SmallImages `json:"small_images,omitempty"`
	Title             string       `json:"title"`
	UserType          int64        `json:"user_type"`
	Volume            int64        `json:"volume"`
	ZkFinalPrice      string       `json:"zk_final_price"`
}

Jump to

Keyboard shortcuts

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