Documentation
¶
Index ¶
- type AttributeEntity
- type AttributeValueEntity
- type BrandEntity
- type CommentReplyEntity
- type DimensionEntity
- type GetCommentResult
- type GetCommentResultResponse
- type GetItemBaseInfoResult
- type GetItemBaseInfoResultResponse
- type GetItemExtraInfoResult
- type GetItemExtraInfoResultResponse
- type GetItemListResult
- type GetItemListResultResponse
- type ImageEntity
- type ItemCommentEntity
- type ItemEntity
- type ItemExtraEntity
- type ItemListEntity
- type LogisticInfoEntity
- type PreOrderEntity
- type PriceInfoEntity
- type ReplyCommentRequestCommentEntity
- type ReplyCommentResult
- type ReplyCommentResultList
- type ReplyCommentResultResponse
- type StockInfoEntity
- type VideoInfoEntity
- type WholesalesEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeEntity ¶
type AttributeEntity struct { AttributeID int64 `json:"attribute_id"` OriginalAttributeName string `json:"original_attribute_name"` IsMandatory bool `json:"is_mandatory"` AttributeType int `json:"attribute_type"` AttributeValueList []AttributeValueEntity `json:"attribute_value_list"` }
AttributeEntity
type AttributeValueEntity ¶
type AttributeValueEntity struct { ValueID int64 `json:"value_id"` OriginalValueName string `json:"original_value_name"` ValueUnit string `json:"value_unit"` }
AttributeValueEntity
type BrandEntity ¶
type BrandEntity struct { BrandID int64 `json:"brand_id"` OriginalBrandName string `json:"original_brand_name"` }
BrandEntity
type CommentReplyEntity ¶
CommentReplyEntity
type DimensionEntity ¶
type DimensionEntity struct { PackageLength int `json:"package_length"` PackageWidth int `json:"package_width"` PackageHeight int `json:"package_height"` }
DimensionEntity
type GetCommentResult ¶
type GetCommentResult struct { commonentity.Result Response GetCommentResultResponse `json:"response"` }
GetCommentResult
type GetCommentResultResponse ¶
type GetCommentResultResponse struct { More bool `json:"more"` ItemCommentList []ItemCommentEntity `json:"item_comment_list"` NextCursor string `json:"next_cursor"` }
GetCommentResultResponse
type GetItemBaseInfoResult ¶
type GetItemBaseInfoResult struct { commonentity.Result Response GetItemBaseInfoResultResponse `json:"response"` Warning string `json:"warning"` }
GetItemBaseInfoResult
type GetItemBaseInfoResultResponse ¶
type GetItemBaseInfoResultResponse struct {
ItemList []ItemEntity `json:"item_list"`
}
GetItemBaseInfoResultResponse
func (GetItemBaseInfoResultResponse) String ¶
func (g GetItemBaseInfoResultResponse) String() string
String
type GetItemExtraInfoResult ¶
type GetItemExtraInfoResult struct { commonentity.Result Response GetItemExtraInfoResultResponse `json:"response"` Warning string `json:"warning"` }
GetItemExtraInfoResult
type GetItemExtraInfoResultResponse ¶
type GetItemExtraInfoResultResponse struct {
ItemList []ItemExtraEntity `json:"item_list"`
}
GetItemExtraInfoResultResponse
func (GetItemExtraInfoResultResponse) String ¶
func (g GetItemExtraInfoResultResponse) String() string
String
type GetItemListResult ¶
type GetItemListResult struct { commonentity.Result Response GetItemListResultResponse `json:"response"` Warning string `json:"warning"` }
GetItemListResult
type GetItemListResultResponse ¶
type GetItemListResultResponse struct { Item []ItemListEntity `json:"item"` TotalCount int `json:"total_count"` HasNextPage bool `json:"has_next_page"` NextOffset int `json:"next_offset"` }
GetItemListResultResponse
type ImageEntity ¶
type ImageEntity struct { ImageUrlList []string `json:"image_url_list"` ImageIdList []string `json:"image_id_list"` }
ImageEntity
type ItemCommentEntity ¶
type ItemCommentEntity struct { OrderSn string `json:"order_sn"` CommentID int64 `json:"comment_id"` Comment string `json:"comment"` BuyerUsername string `json:"buyer_username"` ItemID int64 `json:"item_id"` ModelID int64 `json:"model_id"` RatingStar int `json:"rating_star"` Editable string `json:"editable"` Hidden bool `json:"hidden"` CreateTime int `json:"create_time"` CommentReply CommentReplyEntity `json:"comment_reply"` }
ItemCommentEntity
type ItemEntity ¶
type ItemEntity struct { ItemID int64 `json:"item_id"` CategoryID int64 `json:"category_id"` ItemName string `json:"item_name"` Description string `json:"description"` ItemSku string `json:"item_sku"` CreateTime int `json:"create_time"` UpdateTime int `json:"update_time"` AttributeList []AttributeEntity `json:"attribute_list"` PriceInfo []PriceInfoEntity `json:"price_info"` StockInfo []StockInfoEntity `json:"stock_info"` Image ImageEntity `json:"image"` Weight string `json:"weight"` Dimension DimensionEntity `json:"dimension"` LogisticInfo []LogisticInfoEntity `json:"logistic_info"` PreOrder PreOrderEntity `json:"pre_order"` Wholesales []WholesalesEntity `json:"wholesales"` Condition string `json:"condition"` SizeChart string `json:"size_chart"` ItemStatus string `json:"item_status"` HasModel bool `json:"has_model"` PromotionID int64 `json:"promotion_id"` VideoInfo []VideoInfoEntity `json:"video_info"` Brand BrandEntity `json:"brand"` ItemDangerous int `json:"item_dangerous"` }
ItemEntity
type ItemExtraEntity ¶
type ItemExtraEntity struct { ItemID int64 `json:"item_id"` Sale int `json:"sale"` Views int `json:"views"` Likes int `json:"likes"` RatingStar float32 `json:"rating_star"` CommentCount int `json:"comment_count"` }
ItemEntity
type ItemListEntity ¶
type ItemListEntity struct { ItemID int64 `json:"item_id"` ItemStatus string `json:"item_status"` UpdateTime int `json:"update_time"` }
ItemListEntity
type LogisticInfoEntity ¶
type LogisticInfoEntity struct { LogisticID int64 `json:"logistic_id"` LogisticName string `json:"logistic_name"` Enabled bool `json:"enabled"` ShippingFee float32 `json:"shipping_fee"` SizeID int64 `json:"size_id"` IsFree bool `json:"is_free"` EstimatedShippingFee bool `json:"estimated_shipping_fee"` }
LogisticInfoEntity
type PreOrderEntity ¶
type PreOrderEntity struct { IsPreOrder bool `json:"is_pre_order"` DaysToShip int `json:"days_to_ship"` }
PreOrderEntity
type PriceInfoEntity ¶
type PriceInfoEntity struct { Currency string `json:"currency"` OriginalPrice float32 `json:"original_price"` CurrentPrice float32 `json:"current_price"` InflatedPriceOfOriginalPrice float32 `json:"inflated_price_of_original_price"` InflatedPriceOfCurrentPrice float32 `json:"inflated_price_of_current_price"` SipItemPrice float32 `json:"sip_item_price"` SipItemPriceSource string `json:"sip_item_price_source"` }
PriceInfoEntity
type ReplyCommentRequestCommentEntity ¶
type ReplyCommentRequestCommentEntity struct { CommentID int64 `json:"comment_id"` Comment string `json:"comment"` }
ReplyCommentRequestCommentEntity
func (ReplyCommentRequestCommentEntity) String ¶
func (c ReplyCommentRequestCommentEntity) String() string
String
type ReplyCommentResult ¶
type ReplyCommentResult struct { commonentity.Result Response ReplyCommentResultResponse `json:"response"` Warning []string `json:"warning"` }
ReplyCommentResult
type ReplyCommentResultList ¶
type ReplyCommentResultList struct { CommentID int64 `json:"comment_id"` FailError string `json:"fail_error"` FailMessage string `json:"fail_message"` }
ReplyCommentResultList
type ReplyCommentResultResponse ¶
type ReplyCommentResultResponse struct {
ResultList []ReplyCommentResultList `json:"result_list"`
}
ReplyCommentResultResponse
func (ReplyCommentResultResponse) String ¶
func (r ReplyCommentResultResponse) String() string
String
type StockInfoEntity ¶
type StockInfoEntity struct { StockType int `json:"stock_type"` StockLocationID string `json:"stock_location_id"` CurrentStock int `json:"current_stock"` NormalStock int `json:"normal_stock"` ReservedStock int `json:"reserved_stock"` }
StockInfoEntity
type VideoInfoEntity ¶
type VideoInfoEntity struct { VideoUrl string `json:"video_url"` ThumbnailUrl string `json:"thumbnail_url"` Duration int `json:"duration"` }
VideoInfoEntity
Source Files
¶
- attributeentity.go
- attributevalueentity.go
- brandentity.go
- commententity.go
- commentreplyentity.go
- dimensionentity.go
- getcommentresult.go
- getitembaseinforesult.go
- getitemextrainforesult.go
- getitemlistresult.go
- imageentity.go
- itemcommententity.go
- itementity.go
- logisticinfoentity.go
- preorderentity.go
- priceinfoentity.go
- replycommentresult.go
- stockinfoentity.go
- videoinfoentity.go
- wholesalesentity.go
Click to show internal directories.
Click to hide internal directories.