product

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INT_TYPE       AttributeType = "INT_TYPE"
	STRING_TYPE    AttributeType = "STRING_TYPE"
	ENUM_TYPE      AttributeType = "ENUM_TYPE"
	FLOAT_TYPE     AttributeType = "FLOAT_TYPE"
	DATE_TYPE      AttributeType = "DATE_TYPE"
	TIMESTAMP_TYPE AttributeType = "TIMESTAMP_TYPE"
	NORMAL         ItemStatus    = "NORMAL"
	BANNED         ItemStatus    = "BANNED"
	DELETED        ItemStatus    = "DELETED"
	UNLIST         ItemStatus    = "UNLIST"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AttributeType

type AttributeType string

AttributeType

type ItemStatus

type ItemStatus string

type Product

type Product struct {
	Config *shopeeConfig.Config
}

Product

func (*Product) GetComment

func (p *Product) GetComment(itemID, commentID int64, cursor string, pageSize int) entity.GetCommentResult

GetComment @Title Use this api to get comment by shop_id, item_id, or comment_id. @Description https://open.shopee.com/documents?module=89&type=1&id=562&version=2

func (*Product) GetItemBaseInfo

func (p *Product) GetItemBaseInfo(itemIdList []int64) entity.GetItemBaseInfoResult

GetItemBaseInfo @Title Use this api to get basic info of item by item_id list. @Description https://open.shopee.com/documents?module=89&type=1&id=612&version=2

func (*Product) GetItemExtraInfo

func (p *Product) GetItemExtraInfo(itemIdList []int64) entity.GetItemExtraInfoResult

GetItemExtraInfo @Title Use this api to get extra info of item by item_id list. @Description https://open.shopee.com/documents?module=89&type=1&id=613&version=2

func (*Product) GetItemList

func (p *Product) GetItemList(offset, pageSize, updateTimeFrom, updateTimeTo int, itemStatus ItemStatus) entity.GetItemListResult

GetItemList @Title Use this call to get a list of items. @Description https://open.shopee.com/documents?module=89&type=1&id=614&version=2

func (*Product) ReplyComment

ReplyComment @Title Use this api to reply comments from buyers in batch. @Description https://open.shopee.com/documents?module=89&type=1&id=563&version=2

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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