entity

package
v0.2.38 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddItemRequestItemEntity added in v0.0.13

type AddItemRequestItemEntity struct {
	OriginalPrice float32              `json:"original_price "`
	Description   string               `json:"description"`
	Weight        float32              `json:"weight"`
	ItemName      string               `json:"item_name"`
	ItemStatus    string               `json:"item_status"`
	Dimension     DimensionEntity      `json:"dimension"`
	NormalStock   int                  `json:"normal_stock"`
	LogisticInfo  []LogisticInfoEntity `json:"logistic_info"`
	AttributeList []AttributeEntity    `json:"attribute_list"`
	CategoryID    int64                `json:"category_id"`
	Image         ImageEntity          `json:"image"`
	PreOrder      PreOrderEntity       `json:"pre_order"`
	ItemSku       string               `json:"item_sku"`
	Condition     string               `json:"condition"`
	Wholesales    []WholesalesEntity   `json:"wholesales"`
	VideoUploadID []string             `json:"video_upload_id"`
	Brand         BrandEntity          `json:"brand"`
	ItemDangerous int                  `json:"item_dangerous"`
}

AddItemRequestItemEntity

func (AddItemRequestItemEntity) String added in v0.0.13

func (i AddItemRequestItemEntity) String() string

String

type AddItemResult added in v0.0.13

type AddItemResult struct {
	commonentity.Result
	Warning       string     `json:"warning"`
	ItemDangerous int        `json:"item_dangerous"`
	Response      ItemEntity `json:"response"`
}

AddItemResult

func (AddItemResult) String added in v0.0.13

func (g AddItemResult) String() string

String

type AddModelResult added in v0.0.18

type AddModelResult struct {
	commonentity.Result
	Warning  string                 `json:"warning"`
	Response AddModelResultResponse `json:"response"`
}

AddModelResult

func (AddModelResult) String added in v0.0.18

func (g AddModelResult) String() string

String

type AddModelResultResponse added in v0.0.18

type AddModelResultResponse struct {
	// contains filtered or unexported fields
}

AddModelResultResponse

func (AddModelResultResponse) String added in v0.0.18

func (g AddModelResultResponse) String() string

String

type AttributeEntity

type AttributeEntity struct {
	AttributeID           int64                  `json:"attribute_id"`
	OriginalAttributeName string                 `json:"original_attribute_name"`
	DisplayAttributeName  string                 `json:"display_attribute_name"`
	InputValidationType   string                 `json:"input_validation_type"`
	FormatType            string                 `json:"format_type"`
	DateFormatType        string                 `json:"date_format_type"`
	InputType             string                 `json:"input_type"`
	AttributeUnit         []string               `json:"attribute_unit"`
	IsMandatory           bool                   `json:"is_mandatory"`
	AttributeType         int                    `json:"attribute_type"`
	AttributeValueList    []AttributeValueEntity `json:"attribute_value_list"`
}

AttributeEntity

func (AttributeEntity) String

func (a AttributeEntity) String() string

String

type AttributeValueEntity

type AttributeValueEntity struct {
	ValueID             int64                   `json:"value_id"`
	OriginalValueName   string                  `json:"original_value_name"`
	ValueUnit           string                  `json:"value_unit"`
	DisplayValueName    string                  `json:"display_value_name"`
	ParentAttributeList []ParentAttributeEntity `json:"parent_attribute_list"`
	ParentBrandList     []ParentBrandEntity     `json:"parent_brand_list"`
}

AttributeValueEntity

func (AttributeValueEntity) String

func (a AttributeValueEntity) String() string

String

type BoostItemResult added in v0.0.18

type BoostItemResult struct {
	commonentity.Result
	Warning  string                  `json:"warning"`
	Response BoostItemResultResponse `json:"response"`
}

BoostItemResult

func (BoostItemResult) String added in v0.0.18

func (r BoostItemResult) String() string

String

type BoostItemResultResponse added in v0.0.18

type BoostItemResultResponse struct {
	FailureList []FailureEntity          `json:"failure_list"`
	SuccessList []BoostItemSuccessEntity `json:"success_list"`
}

BoostItemResultResponse

func (BoostItemResultResponse) String added in v0.0.18

func (r BoostItemResultResponse) String() string

String

type BoostItemSuccessEntity added in v0.0.18

type BoostItemSuccessEntity struct {
	ItemIdList []int64 `json:"item_id_list"`
}

BoostItemSuccessEntity

func (BoostItemSuccessEntity) String added in v0.0.18

func (d BoostItemSuccessEntity) String() string

String

type BrandEntity

type BrandEntity struct {
	BrandID           int64  `json:"brand_id"`
	OriginalBrandName string `json:"original_brand_name"`
	DisplayBrandName  string `json:"display_brand_name"`
}

BrandEntity

func (BrandEntity) String

func (b BrandEntity) String() string

String

type CategoryEntity added in v0.0.42

type CategoryEntity struct {
	CategoryID           int64  `json:"category_id"`
	ParentCategoryID     int64  `json:"parent_category_id"`
	OriginalCategoryName string `json:"original_category_name"`
	DisplayCategoryName  string `json:"display_category_name"`
	HasChildren          bool   `json:"has_children"`
}

CategoryEntity

func (CategoryEntity) String added in v0.0.42

func (c CategoryEntity) String() string

String

type CategoryRecommendResult added in v0.0.42

type CategoryRecommendResult struct {
	commonentity.Result
	Warning  string                          `json:"warning"`
	Response CategoryRecommendResultResponse `json:"response"`
}

CategoryRecommendResult

func (CategoryRecommendResult) String added in v0.0.42

func (c CategoryRecommendResult) String() string

String

type CategoryRecommendResultResponse added in v0.0.42

type CategoryRecommendResultResponse struct {
	CategoryID []int64 `json:"category_id"`
}

CategoryRecommendResultResponse

func (CategoryRecommendResultResponse) String added in v0.0.42

String

type CommentReplyEntity

type CommentReplyEntity struct {
	Reply  string `json:"reply"`
	Hidden bool   `json:"hidden"`
}

CommentReplyEntity

func (CommentReplyEntity) String

func (c CommentReplyEntity) String() string

String

type DaysToShipLimitEntity added in v0.0.18

type DaysToShipLimitEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

DaysToShipLimitEntity

func (DaysToShipLimitEntity) String added in v0.0.18

func (c DaysToShipLimitEntity) String() string

String

type DeleteItemResult added in v0.0.13

type DeleteItemResult struct {
	commonentity.Result
	Warning string `json:"warning"`
}

DeleteItemResult

func (DeleteItemResult) String added in v0.0.13

func (g DeleteItemResult) String() string

String

type DeleteModelResult added in v0.0.18

type DeleteModelResult struct {
	commonentity.Result
	Warning string `json:"warning"`
}

DeleteModelResult

func (DeleteModelResult) String added in v0.0.18

func (g DeleteModelResult) String() string

String

type DimensionEntity

type DimensionEntity struct {
	PackageLength int `json:"package_length"`
	PackageWidth  int `json:"package_width"`
	PackageHeight int `json:"package_height"`
}

DimensionEntity

func (DimensionEntity) String

func (d DimensionEntity) String() string

String

type FailureEntity added in v0.0.18

type FailureEntity struct {
	ItemID       int64  `json:"item_id"`
	FailedReason string `json:"failed_reason"`
}

FailureEntity

func (FailureEntity) String added in v0.0.18

func (d FailureEntity) String() string

String

type GetAttributesResult added in v0.0.42

type GetAttributesResult struct {
	commonentity.Result
	Response GetAttributesResultResponse `json:"response"`
	Warning  string                      `json:"warning"`
}

GetAttributesResult

func (GetAttributesResult) String added in v0.0.42

func (g GetAttributesResult) String() string

String

type GetAttributesResultResponse added in v0.0.42

type GetAttributesResultResponse struct {
	AttributeList []AttributeEntity `json:"attribute_list"`
}

GetAttributesResultResponse

func (GetAttributesResultResponse) String added in v0.0.42

String

type GetBoostedListItemListEntity added in v0.0.18

type GetBoostedListItemListEntity struct {
	ItemID         int64 `json:"item_id"`
	CoolDownSecond int   `json:"cool_down_second"`
}

GetBoostedListItemListEntity

func (GetBoostedListItemListEntity) String added in v0.0.18

String

type GetBoostedListResult added in v0.0.18

type GetBoostedListResult struct {
	commonentity.Result
	Response GetBoostedListResultResponse `json:"response"`
	Warning  string                       `json:"warning"`
}

GetBoostedListResult

func (GetBoostedListResult) String added in v0.0.18

func (g GetBoostedListResult) String() string

String

type GetBoostedListResultResponse added in v0.0.18

type GetBoostedListResultResponse struct {
	ItemList []GetBoostedListItemListEntity `json:"item_list"`
}

GetBoostedListResultResponse

func (GetBoostedListResultResponse) String added in v0.0.18

String

type GetBrandListResult added in v0.0.42

type GetBrandListResult struct {
	commonentity.Result
	Response GetBrandListResultResponse `json:"response"`
	Warning  string                     `json:"warning"`
}

GetBrandListResult

func (GetBrandListResult) String added in v0.0.42

func (g GetBrandListResult) String() string

String

type GetBrandListResultResponse added in v0.0.42

type GetBrandListResultResponse struct {
	BrandList   []BrandEntity `json:"brand_list"`
	HasNextPage bool          `json:"has_next_page"`
	NextOffset  int           `json:"next_offset"`
	IsMandatory bool          `json:"is_mandatory"`
	InputType   string        `json:"input_type"`
}

GetBrandListResultResponse

type GetCategoryResult added in v0.0.42

type GetCategoryResult struct {
	commonentity.Result
	Warning  string                    `json:"warning"`
	Response GetCategoryResultResponse `json:"response"`
}

GetCategoryResult

func (GetCategoryResult) String added in v0.0.42

func (g GetCategoryResult) String() string

String

type GetCategoryResultResponse added in v0.0.42

type GetCategoryResultResponse struct {
	CategoryList []CategoryEntity `json:"category_list"`
}

GetCategoryResultResponse

func (GetCategoryResultResponse) String added in v0.0.42

func (g GetCategoryResultResponse) String() string

String

type GetCommentResult

type GetCommentResult struct {
	commonentity.Result
	Response GetCommentResultResponse `json:"response"`
}

GetCommentResult

func (GetCommentResult) String

func (g GetCommentResult) String() string

String

type GetCommentResultResponse

type GetCommentResultResponse struct {
	More            bool                `json:"more"`
	ItemCommentList []ItemCommentEntity `json:"item_comment_list"`
	NextCursor      string              `json:"next_cursor"`
}

GetCommentResultResponse

func (GetCommentResultResponse) String

func (g GetCommentResultResponse) String() string

String

type GetDtsLimitResult added in v0.0.18

type GetDtsLimitResult struct {
	commonentity.Result
	Response GetDtsLimitResultResponse `json:"response"`
	Warning  string                    `json:"warning"`
}

GetDtsLimitResult

func (GetDtsLimitResult) String added in v0.0.18

func (g GetDtsLimitResult) String() string

String

type GetDtsLimitResultResponse added in v0.0.18

type GetDtsLimitResultResponse struct {
	DaysToShipLimit       DaysToShipLimitEntity `json:"days_to_ship_limit"`
	NonPreOrderDaysToShip int                   `json:"non_pre_order_days_to_ship"`
}

GetDtsLimitResultResponse

func (GetDtsLimitResultResponse) String added in v0.0.18

func (g GetDtsLimitResultResponse) String() string

String

type GetItemBaseInfoResult

type GetItemBaseInfoResult struct {
	commonentity.Result
	Response GetItemBaseInfoResultResponse `json:"response"`
	Warning  string                        `json:"warning"`
}

GetItemBaseInfoResult

func (GetItemBaseInfoResult) String

func (g GetItemBaseInfoResult) String() string

String

type GetItemBaseInfoResultResponse

type GetItemBaseInfoResultResponse struct {
	ItemList []ItemEntity `json:"item_list"`
}

GetItemBaseInfoResultResponse

func (GetItemBaseInfoResultResponse) String

String

type GetItemExtraInfoResult

type GetItemExtraInfoResult struct {
	commonentity.Result
	Response GetItemExtraInfoResultResponse `json:"response"`
	Warning  string                         `json:"warning"`
}

GetItemExtraInfoResult

func (GetItemExtraInfoResult) String

func (g GetItemExtraInfoResult) String() string

String

type GetItemExtraInfoResultResponse

type GetItemExtraInfoResultResponse struct {
	ItemList []ItemExtraEntity `json:"item_list"`
}

GetItemExtraInfoResultResponse

func (GetItemExtraInfoResultResponse) String

String

type GetItemLimitResult added in v0.0.18

type GetItemLimitResult struct {
	commonentity.Result
	Response GetItemLimitResultResponse `json:"response"`
	Warning  string                     `json:"warning"`
}

GetItemLimitResult

func (GetItemLimitResult) String added in v0.0.18

func (g GetItemLimitResult) String() string

String

type GetItemLimitResultResponse added in v0.0.18

type GetItemLimitResultResponse struct {
	PriceLimit                        PriceLimitEntity                        `json:"price_limit"`
	WholesalePriceThresholdPercentage WholesalePriceThresholdPercentageEntity `json:"wholesale_price_threshold_percentage"`
	StockLimit                        StockLimitEntity                        `json:"stock_limit"`
	ItemNameLengthLimit               ItemNameLengthLimitEntity               `json:"item_name_length_limit"`
	ItemImageCountLimit               ItemImageCountLimitEntity               `json:"item_image_count_limit"`
	ItemDescriptionLengthLimit        ItemDescriptionLengthLimitEntity        `json:"item_description_length_limit"`
	TierVariationNameLengthLimit      TierVariationNameLengthLimitEntity      `json:"tier_variation_name_length_limit"`
	TierVariationOptionLengthLimit    TierVariationOptionLengthLimitEntity    `json:"tier_variation_option_length_limit"`
	ItemCountLimit                    ItemCountLimitEntity                    `json:"item_count_limit"`
}

GetItemLimitResultResponse

func (GetItemLimitResultResponse) String added in v0.0.18

String

type GetItemListResult

type GetItemListResult struct {
	commonentity.Result
	Response GetItemListResultResponse `json:"response"`
	Warning  string                    `json:"warning"`
}

GetItemListResult

func (GetItemListResult) String

func (g GetItemListResult) String() string

String

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

func (GetItemListResultResponse) String

func (g GetItemListResultResponse) String() string

String

type GetItemPromotionFailureEntity added in v0.0.42

type GetItemPromotionFailureEntity struct {
	ItemID       int64  `json:"item_id"`
	FailedReason string `json:"failed_reason"`
}

GetItemPromotionFailureEntity

func (GetItemPromotionFailureEntity) String added in v0.0.42

String

type GetItemPromotionResult added in v0.0.42

type GetItemPromotionResult struct {
	commonentity.Result
	Response GetItemPromotionResultResponse `json:"response"`
	Warning  string                         `json:"warning"`
}

GetItemPromotionResult

func (GetItemPromotionResult) String added in v0.0.42

func (g GetItemPromotionResult) String() string

String

type GetItemPromotionResultResponse added in v0.0.42

type GetItemPromotionResultResponse struct {
	SuccessList []GetItemPromotionSuccessEntity `json:"success_list"`
	FailureList []GetItemPromotionFailureEntity `json:"failure_list"`
}

GetItemPromotionResultResponse

type GetItemPromotionSuccessEntity added in v0.0.42

type GetItemPromotionSuccessEntity struct {
	ItemID    int64             `json:"item_id"`
	Promotion []PromotionEntity `json:"promotion"`
}

GetItemPromotionSuccessEntity

func (GetItemPromotionSuccessEntity) String added in v0.0.42

String

type GetModelListResult added in v0.0.18

type GetModelListResult struct {
	commonentity.Result
	Response GetModelListResultResponse `json:"response"`
	Warning  string                     `json:"warning"`
}

GetModelListResult

func (GetModelListResult) String added in v0.0.18

func (g GetModelListResult) String() string

String

type GetModelListResultResponse added in v0.0.18

type GetModelListResultResponse struct {
	TierVariation []TierVariationEntity `json:"tier_variation"`
	Model         []ModelEntity         `json:"model"`
}

GetModelListResultResponse

func (GetModelListResultResponse) String added in v0.0.18

String

type ImageEntity

type ImageEntity struct {
	ImageUrlList []string `json:"image_url_list"`
	ImageIdList  []string `json:"image_id_list"`
}

ImageEntity

func (ImageEntity) String

func (i ImageEntity) String() string

String

type InitTierVariationModelEntity added in v0.0.18

type InitTierVariationModelEntity struct {
	TierIndex     []int   `json:"tier_index"`
	NormalStock   int     `json:"normal_stock"`
	OriginalPrice float32 `json:"original_price"`
	ModelSku      string  `json:"model_sku"`
}

InitTierVariationModelEntity

func (InitTierVariationModelEntity) String added in v0.0.18

String

type InitTierVariationResult added in v0.0.18

type InitTierVariationResult struct {
	commonentity.Result
	Response InitTierVariationResultResponse `json:"response"`
	Warning  string                          `json:"warning"`
}

InitTierVariationResult

func (InitTierVariationResult) String added in v0.0.18

func (g InitTierVariationResult) String() string

String

type InitTierVariationResultResponse added in v0.0.18

type InitTierVariationResultResponse struct {
	ItemID        int64                 `json:"item_id"`
	TierVariation []TierVariationEntity `json:"tier_variation"`
	Model         []ModelEntity         `json:"model"`
}

GetModelListResultResponse

func (InitTierVariationResultResponse) String added in v0.0.18

String

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

func (ItemCommentEntity) String

func (i ItemCommentEntity) String() string

String

type ItemCountLimitEntity added in v0.0.18

type ItemCountLimitEntity struct {
	MaxLimit int `json:"max_limit"`
}

ItemCountLimitEntity

func (ItemCountLimitEntity) String added in v0.0.18

func (p ItemCountLimitEntity) String() string

String

type ItemDescriptionLengthLimitEntity added in v0.0.18

type ItemDescriptionLengthLimitEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

ItemDescriptionLengthLimitEntity

func (ItemDescriptionLengthLimitEntity) String added in v0.0.18

String

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

func (ItemEntity) String

func (i ItemEntity) String() string

String

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

func (ItemExtraEntity) String

func (i ItemExtraEntity) String() string

String

type ItemImageCountLimitEntity added in v0.0.18

type ItemImageCountLimitEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

ItemImageCountLimitEntity

func (ItemImageCountLimitEntity) String added in v0.0.18

func (p ItemImageCountLimitEntity) String() string

String

type ItemListEntity

type ItemListEntity struct {
	ItemID     int64  `json:"item_id"`
	ItemStatus string `json:"item_status"`
	UpdateTime int    `json:"update_time"`
}

ItemListEntity

func (ItemListEntity) String

func (i ItemListEntity) String() string

String

type ItemNameLengthLimitEntity added in v0.0.18

type ItemNameLengthLimitEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

ItemNameLengthLimitEntity

func (ItemNameLengthLimitEntity) String added in v0.0.18

func (p ItemNameLengthLimitEntity) String() string

String

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

func (LogisticInfoEntity) String

func (l LogisticInfoEntity) String() string

String

type ModelEntity added in v0.0.18

type ModelEntity struct {
	PriceInfo   []PriceInfoEntity `json:"price_info"`
	ModelID     int64             `json:"model_id"`
	StockInfo   []StockInfoEntity `json:"stock_info"`
	TierIndex   []int             `json:"tier_index"`
	PromotionID int64             `json:"promotion_id"`
	ModelSku    string            `json:"model_sku"`
}

ModelEntity

func (ModelEntity) String added in v0.0.18

func (s ModelEntity) String() string

String

type OptionEntity added in v0.0.18

type OptionEntity struct {
	Option string          `json:"option"`
	Image  TierImageEntity `json:"image"`
}

OptionEntity

func (OptionEntity) String added in v0.0.18

func (s OptionEntity) String() string

String

type ParentAttributeEntity added in v0.0.42

type ParentAttributeEntity struct {
	ParentAttributeID int64 `json:"parent_attribute_id"`
	ParentValueID     int64 `json:"parent_value_id"`
}

ParentAttributeEntity

func (ParentAttributeEntity) String added in v0.0.42

func (a ParentAttributeEntity) String() string

String

type ParentBrandEntity added in v0.0.42

type ParentBrandEntity struct {
	ParentBrandID int64 `json:"parent_brand_id"`
}

ParentBrandEntity

func (ParentBrandEntity) String added in v0.0.42

func (a ParentBrandEntity) String() string

String

type PreOrderEntity

type PreOrderEntity struct {
	IsPreOrder bool `json:"is_pre_order"`
	DaysToShip int  `json:"days_to_ship"`
}

PreOrderEntity

func (PreOrderEntity) String

func (p PreOrderEntity) String() string

String

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

func (PriceInfoEntity) String

func (p PriceInfoEntity) String() string

String

type PriceLimitEntity added in v0.0.18

type PriceLimitEntity struct {
	MinLimit float32 `json:"min_limit"`
	MaxLimit float32 `json:"max_limit"`
}

PriceLimitEntity

func (PriceLimitEntity) String added in v0.0.18

func (p PriceLimitEntity) String() string

String

type PromotionEntity added in v0.0.42

type PromotionEntity struct {
	PromotionType      string                     `json:"promotion_type"`
	PromotionID        int64                      `json:"promotion_id"`
	ModelID            int64                      `json:"model_id"`
	StartTime          int                        `json:"start_time"`
	EndTime            int                        `json:"end_time"`
	PromotionPriceInfo []PromotionPriceInfoEntity `json:"promotion_price_info"`
	ReservedStockInfo  []ReservedStockInfoEntity  `json:"reserved_stock_info"`
	PromotionStaging   string                     `json:"promotion_staging"`
}

PromotionEntity

func (PromotionEntity) String added in v0.0.42

func (p PromotionEntity) String() string

String

type PromotionPriceInfoEntity added in v0.0.42

type PromotionPriceInfoEntity struct {
	PromotionPrice float32 `json:"promotion_price"`
}

PromotionPriceInfoEntity

func (PromotionPriceInfoEntity) String added in v0.0.42

func (p PromotionPriceInfoEntity) String() string

String

type ReplyCommentRequestCommentEntity

type ReplyCommentRequestCommentEntity struct {
	CommentID int64  `json:"comment_id"`
	Comment   string `json:"comment"`
}

ReplyCommentRequestCommentEntity

func (ReplyCommentRequestCommentEntity) String

String

type ReplyCommentResult

type ReplyCommentResult struct {
	commonentity.Result
	Response ReplyCommentResultResponse `json:"response"`
	Warning  []string                   `json:"warning"`
}

ReplyCommentResult

func (ReplyCommentResult) String

func (r ReplyCommentResult) String() string

String

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

String

type ReservedStockInfoEntity added in v0.0.42

type ReservedStockInfoEntity struct {
	StockType       int    `json:"stock_type"`
	StockLocationID string `json:"stock_location_id"`
	ReservedStock   int    `json:"reserved_stock"`
}

ReservedStockInfoEntity

func (ReservedStockInfoEntity) String added in v0.0.42

func (p ReservedStockInfoEntity) String() string

String

type SearchItemResult added in v0.0.42

type SearchItemResult struct {
	commonentity.Result
	Response SearchItemResultResponse `json:"response"`
	Warning  []string                 `json:"warning"`
}

SearchItemResult

func (SearchItemResult) String added in v0.0.42

func (r SearchItemResult) String() string

String

type SearchItemResultResponse added in v0.0.42

type SearchItemResultResponse struct {
	ItemIdList []int64 `json:"item_id_list"`
	TotalCount int     `json:"total_count"`
	NextOffset string  `json:"next_offset"`
}

SearchItemResultResponse

func (SearchItemResultResponse) String added in v0.0.42

func (r SearchItemResultResponse) String() string

String

type SipItemPriceEntity added in v0.0.42

type SipItemPriceEntity struct {
	ModelID      int64   `json:"model_id"`
	SipItemPrice float32 `json:"sip_item_price"`
}

SipItemPriceEntity

func (SipItemPriceEntity) String added in v0.0.42

func (p SipItemPriceEntity) 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

func (StockInfoEntity) String

func (s StockInfoEntity) String() string

String

type StockLimitEntity added in v0.0.18

type StockLimitEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

StockLimitEntity

func (StockLimitEntity) String added in v0.0.18

func (p StockLimitEntity) String() string

String

type SuccessEntity added in v0.0.18

type SuccessEntity struct {
	ItemID int64 `json:"item_id"`
	Unlist bool  `json:"unlist"`
}

SuccessEntity

func (SuccessEntity) String added in v0.0.18

func (d SuccessEntity) String() string

String

type SupportSizeChartResult added in v0.0.18

type SupportSizeChartResult struct {
	commonentity.Result
	Warning  string                         `json:"warning"`
	Response SupportSizeChartResultResponse `json:"response"`
}

SupportSizeChartResult

func (SupportSizeChartResult) String added in v0.0.18

func (r SupportSizeChartResult) String() string

String

type SupportSizeChartResultResponse added in v0.0.18

type SupportSizeChartResultResponse struct {
	SupportSizeChart bool `json:"support_size_chart"`
}

SupportSizeChartResultResponse

func (SupportSizeChartResultResponse) String added in v0.0.18

String

type TierImageEntity added in v0.0.18

type TierImageEntity struct {
	ImageID  string `json:"image_id"`
	ImageURL string `json:"image_url"`
}

TierImageEntity

func (TierImageEntity) String added in v0.0.18

func (i TierImageEntity) String() string

String

type TierVariationEntity added in v0.0.18

type TierVariationEntity struct {
	OptionList []OptionEntity `json:"option_list"`
	Name       string         `json:"name"`
}

TierVariationEntity

func (TierVariationEntity) String added in v0.0.18

func (s TierVariationEntity) String() string

String

type TierVariationNameLengthLimitEntity added in v0.0.18

type TierVariationNameLengthLimitEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

TierVariationNameLengthLimitEntity

func (TierVariationNameLengthLimitEntity) String added in v0.0.18

String

type TierVariationOptionLengthLimitEntity added in v0.0.18

type TierVariationOptionLengthLimitEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

TierVariationOptionLengthLimitEntity

func (TierVariationOptionLengthLimitEntity) String added in v0.0.18

String

type UnlistItemItemListEntity added in v0.0.18

type UnlistItemItemListEntity struct {
	ItemID int64 `json:"item_id"`
	Unlist bool  `json:"unlist"`
}

UnlistItemItemListEntity

func (UnlistItemItemListEntity) String added in v0.0.18

func (i UnlistItemItemListEntity) String() string

String

type UnlistItemResult added in v0.0.18

type UnlistItemResult struct {
	commonentity.Result
	Warning  string                   `json:"warning"`
	Response UnlistItemResultResponse `json:"response"`
}

UnlistItemResult

func (UnlistItemResult) String added in v0.0.18

func (r UnlistItemResult) String() string

String

type UnlistItemResultResponse added in v0.0.18

type UnlistItemResultResponse struct {
	FailureList []FailureEntity `json:"failure_list"`
	SuccessList []SuccessEntity `json:"success_list"`
}

UnlistItemResultResponse

func (UnlistItemResultResponse) String added in v0.0.18

func (r UnlistItemResultResponse) String() string

String

type UpdateItemRequestItemEntity added in v0.0.18

type UpdateItemRequestItemEntity struct {
	AddItemRequestItemEntity
}

UpdateItemRequestItemEntity

func (UpdateItemRequestItemEntity) String added in v0.0.18

String

type UpdateItemResult added in v0.0.18

type UpdateItemResult struct {
	commonentity.Result
	Warning  string     `json:"warning"`
	Response ItemEntity `json:"response"`
}

UpdateItemResult

func (UpdateItemResult) String added in v0.0.18

func (g UpdateItemResult) String() string

String

type UpdateModelEntity added in v0.0.18

type UpdateModelEntity struct {
	ModelID  int64  `json:"model_id"`
	ModelSku string `json:"model_sku"`
}

UpdateModelEntity

func (UpdateModelEntity) String added in v0.0.18

func (s UpdateModelEntity) String() string

String

type UpdateModelResult added in v0.0.18

type UpdateModelResult struct {
	commonentity.Result
	Warning string `json:"warning"`
}

UpdateModelResult

func (UpdateModelResult) String added in v0.0.18

func (g UpdateModelResult) String() string

String

type UpdatePriceFailureEntity added in v0.0.18

type UpdatePriceFailureEntity struct {
	ModelID      int64  `json:"model_id"`
	FailedReason string `json:"failed_reason"`
}

FailureEntity

func (UpdatePriceFailureEntity) String added in v0.0.18

func (d UpdatePriceFailureEntity) String() string

String

type UpdatePricePriceInfoEntity added in v0.0.18

type UpdatePricePriceInfoEntity struct {
	ModelID       int64   `json:"model_id"`
	OriginalPrice float32 `json:"original_price"`
}

PriceInfoEntity

func (UpdatePricePriceInfoEntity) String added in v0.0.18

String

type UpdatePriceResult added in v0.0.18

type UpdatePriceResult struct {
	commonentity.Result
	Warning  string                    `json:"warning"`
	Response UpdatePriceResultResponse `json:"response"`
}

UpdatePriceResult

func (UpdatePriceResult) String added in v0.0.18

func (g UpdatePriceResult) String() string

String

type UpdatePriceResultResponse added in v0.0.18

type UpdatePriceResultResponse struct {
	FailureList []UpdatePriceFailureEntity `json:"failure_list"`
	SuccessList []UpdatePriceSuccessEntity `json:"success_list"`
}

UpdatePriceResultResponse

func (UpdatePriceResultResponse) String added in v0.0.18

func (g UpdatePriceResultResponse) String() string

String

type UpdatePriceSuccessEntity added in v0.0.18

type UpdatePriceSuccessEntity struct {
	ModelID       int64   `json:"model_id"`
	OriginalPrice float32 `json:"original_price"`
}

UpdatePriceSuccessEntity

func (UpdatePriceSuccessEntity) String added in v0.0.18

func (d UpdatePriceSuccessEntity) String() string

String

type UpdateSipItemPriceResult added in v0.0.42

type UpdateSipItemPriceResult struct {
	commonentity.Result
	Warning string `json:"warning"`
}

UpdateSipItemPriceResult

func (UpdateSipItemPriceResult) String added in v0.0.42

func (r UpdateSipItemPriceResult) String() string

String

type UpdateSizeChartResult added in v0.0.18

type UpdateSizeChartResult struct {
	commonentity.Result
	Warning string `json:"warning"`
}

UpdateSizeChartResult

func (UpdateSizeChartResult) String added in v0.0.18

func (r UpdateSizeChartResult) String() string

String

type UpdateStockFailureEntity added in v0.0.42

type UpdateStockFailureEntity struct {
	ModelID      int64  `json:"model_id"`
	FailedReason string `json:"failed_reason"`
}

UpdateStockFailureEntity

func (UpdateStockFailureEntity) String added in v0.0.42

func (d UpdateStockFailureEntity) String() string

String

type UpdateStockResult added in v0.0.42

type UpdateStockResult struct {
	commonentity.Result
	Warning  string                    `json:"warning"`
	Response UpdateStockResultResponse `json:"response"`
}

UpdateStockResult

func (UpdateStockResult) String added in v0.0.42

func (g UpdateStockResult) String() string

String

type UpdateStockResultResponse added in v0.0.42

type UpdateStockResultResponse struct {
	FailureList []UpdateStockFailureEntity `json:"failure_list"`
	SuccessList []UpdateStockSuccessEntity `json:"success_list"`
}

UpdateStockResultResponse

func (UpdateStockResultResponse) String added in v0.0.42

func (g UpdateStockResultResponse) String() string

String

type UpdateStockStockInfoEntity added in v0.0.42

type UpdateStockStockInfoEntity struct {
	ModelID     int64 `json:"model_id"`
	NormalStock int   `json:"normal_stock"`
}

UpdateStockStockInfoEntity

func (UpdateStockStockInfoEntity) String added in v0.0.42

String

type UpdateStockSuccessEntity added in v0.0.42

type UpdateStockSuccessEntity struct {
	ModelID     int64 `json:"model_id"`
	NormalStock int   `json:"normal_stock"`
}

UpdateStockSuccessEntity

func (UpdateStockSuccessEntity) String added in v0.0.42

func (d UpdateStockSuccessEntity) String() string

String

type UpdateTierVariationResult added in v0.0.18

type UpdateTierVariationResult struct {
	commonentity.Result
	Warning string `json:"warning"`
}

UpdateTierVariationResult

func (UpdateTierVariationResult) String added in v0.0.18

func (r UpdateTierVariationResult) String() string

String

type VideoInfoEntity

type VideoInfoEntity struct {
	VideoUrl     string `json:"video_url"`
	ThumbnailUrl string `json:"thumbnail_url"`
	Duration     int    `json:"duration"`
}

VideoInfoEntity

func (VideoInfoEntity) String

func (v VideoInfoEntity) String() string

String

type WholesalePriceThresholdPercentageEntity added in v0.0.18

type WholesalePriceThresholdPercentageEntity struct {
	MinLimit int `json:"min_limit"`
	MaxLimit int `json:"max_limit"`
}

PriceLimitEntity

func (WholesalePriceThresholdPercentageEntity) String added in v0.0.18

String

type WholesalesEntity

type WholesalesEntity struct {
	MinCount                 int     `json:"min_count"`
	MaxCount                 int     `json:"max_count"`
	UnitPrice                float32 `json:"unit_price"`
	InflatedPriceOfUnitPrice float32 `json:"inflated_price_of_unit_price"`
}

WholesalesEntity

func (WholesalesEntity) String

func (w WholesalesEntity) String() string

String

Source Files

Jump to

Keyboard shortcuts

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