entity

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 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 AddGlobalItemResult

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

AddGlobalItemResult

func (AddGlobalItemResult) String

func (g AddGlobalItemResult) String() string

String

type AddGlobalItemResultResponse

type AddGlobalItemResultResponse struct {
	GlobalItemID int64 `json:"global_item_id"`
}

AddGlobalItemResultResponse

func (AddGlobalItemResultResponse) String

String

type AddGlobalModelResult

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

AddGlobalModelResult

func (AddGlobalModelResult) String

func (g AddGlobalModelResult) String() string

String

type AddItemRequestItemEntity

type AddItemRequestItemEntity struct {
	OriginalPrice  float32           `json:"original_price "`
	Description    string            `json:"description"`
	Weight         float32           `json:"weight"`
	GlobalItemName string            `json:"global_item_name"`
	Dimension      DimensionEntity   `json:"dimension"`
	NormalStock    int               `json:"normal_stock"`
	AttributeList  []AttributeEntity `json:"attribute_list"`
	CategoryID     int64             `json:"category_id"`
	Image          ImageEntity       `json:"image"`
	PreOrder       PreOrderEntity    `json:"pre_order"`
	GlobalItemSku  string            `json:"global_item_sku"`
	Condition      string            `json:"condition"`
	VideoUploadID  []string          `json:"video_upload_id"`
	Brand          BrandEntity       `json:"brand"`
}

AddItemRequestItemEntity

func (AddItemRequestItemEntity) String

func (i AddItemRequestItemEntity) 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 BrandEntity

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

BrandEntity

func (BrandEntity) String

func (c BrandEntity) String() string

String

type CategoryEntity

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

func (c CategoryEntity) String() string

String

type CreatePublishTaskItemEntity

type CreatePublishTaskItemEntity struct {
	PreOrder CreatePublishTaskPreOrderEntity `json:"pre_order"`
	// contains filtered or unexported fields
}

CreatePublishTaskItemEntity

func (CreatePublishTaskItemEntity) String

String

type CreatePublishTaskModelEntity

type CreatePublishTaskModelEntity struct {
	TierIndex     []int   `json:"tier_index"`
	OriginalPrice float32 `json:"original_price"`
}

CreatePublishTaskModelEntity

func (CreatePublishTaskModelEntity) String

String

type CreatePublishTaskPreOrderEntity

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

func (CreatePublishTaskPreOrderEntity) String

String

type CreatePublishTaskResult

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

CreatePublishTaskResult

func (CreatePublishTaskResult) String

func (g CreatePublishTaskResult) String() string

String

type CreatePublishTaskResultResponse

type CreatePublishTaskResultResponse struct {
	PublishTaskID int64 `json:"publish_task_id"`
}

CreatePublishTaskResultResponse

func (CreatePublishTaskResultResponse) String

String

type DaysToShipLimitEntity

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

DaysToShipLimitEntity

func (DaysToShipLimitEntity) String

func (c DaysToShipLimitEntity) String() string

String

type DeleteGlobalItemResult

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

DeleteGlobalItemResult

func (DeleteGlobalItemResult) String

func (g DeleteGlobalItemResult) String() string

String

type DeleteGlobalItemResultResponse

type DeleteGlobalItemResultResponse struct {
	FailureDeleteItem []FailureDeleteItemEntity `json:"failure_delete_item"`
}

DeleteGlobalItemResultResponse

func (DeleteGlobalItemResultResponse) String

String

type DeleteGlobalModelResult

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

DeleteGlobalModelResult

func (DeleteGlobalModelResult) String

func (g DeleteGlobalModelResult) String() string

String

type DeleteGlobalModelResultResponse

type DeleteGlobalModelResultResponse struct {
	GlobalModelID int64           `json:"global_model_id"`
	Failures      []FailureEntity `json:"failures"`
}

DeleteGlobalModelResultResponse

func (DeleteGlobalModelResultResponse) 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 (p DimensionEntity) String() string

String

type FailureDeleteItemEntity

type FailureDeleteItemEntity struct {
	ShopID int64 `json:"shop_id"`
	ItemID int64 `json:"item_id"`
}

FailureDeleteItemEntity

func (FailureDeleteItemEntity) String

func (p FailureDeleteItemEntity) String() string

String

type FailureEntity

type FailureEntity struct {
	ShopID  int64 `json:"shop_id"`
	ItemID  int64 `json:"item_id"`
	ModelID int64 `json:"model_id"`
}

FailureEntity

func (FailureEntity) String

func (p FailureEntity) String() string

String

type GetAttributesResult

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

GetAttributesResult

func (GetAttributesResult) String

func (g GetAttributesResult) String() string

String

type GetAttributesResultResponse

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

GetAttributesResultResponse

func (GetAttributesResultResponse) String

String

type GetBoostedListItemListEntity

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

GetBoostedListItemListEntity

func (GetBoostedListItemListEntity) String

String

type GetBrandListResult

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

GetBrandListResult

func (GetBrandListResult) String

func (g GetBrandListResult) String() string

String

type GetBrandListResultResponse

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

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

GetCategoryResult

func (GetCategoryResult) String

func (g GetCategoryResult) String() string

String

type GetCategoryResultResponse

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

GetCategoryResultResponse

func (GetCategoryResultResponse) String

func (g GetCategoryResultResponse) String() string

String

type GetDtsLimitResult

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

GetDtsLimitResult

func (GetDtsLimitResult) String

func (g GetDtsLimitResult) String() string

String

type GetDtsLimitResultResponse

type GetDtsLimitResultResponse struct {
	DaysToShipLimit []DaysToShipLimitEntity `json:"days_to_ship_limit"`
}

GetDtsLimitResultResponse

func (GetDtsLimitResultResponse) String

func (g GetDtsLimitResultResponse) String() string

String

type GetGlobalItemIDResult

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

GetGlobalItemIDResult

func (GetGlobalItemIDResult) String

func (r GetGlobalItemIDResult) String() string

String

type GetGlobalItemIDResultResponse

type GetGlobalItemIDResultResponse struct {
	ItemIdMap []ItemIdMapEntity `json:"item_id_map"`
}

GetGlobalItemIDResultResponse

func (GetGlobalItemIDResultResponse) String

String

type GetGlobalItemInfoResult

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

GetGlobalItemInfoResult

func (GetGlobalItemInfoResult) String

func (g GetGlobalItemInfoResult) String() string

String

type GetGlobalItemInfoResultResponse

type GetGlobalItemInfoResultResponse struct {
	GlobalItemList []GlobalItemEntity `json:"global_item_list"`
}

GetGlobalItemInfoResultResponse

func (GetGlobalItemInfoResultResponse) String

String

type GetGlobalItemLimitResult

type GetGlobalItemLimitResult struct {
	commonentity.Result
	Response             GetGlobalItemLimitResultResponse `json:"response"`
	Warning              string                           `json:"warning"`
	TextLengthMultiplier float32                          `json:"text_length_multiplier"`
}

GetGlobalItemLimitResult

func (GetGlobalItemLimitResult) String

func (g GetGlobalItemLimitResult) String() string

String

type GetGlobalItemLimitResultResponse

type GetGlobalItemLimitResultResponse struct {
	PriceLimit                     PriceLimitEntity                     `json:"price_limit"`
	StockLimit                     StockLimitEntity                     `json:"stock_limit"`
	ItemNameLengthLimit            ItemNameLengthLimitEntity            `json:"global_item_name_length_limit"`
	ItemImageCountLimit            ItemImageCountLimitEntity            `json:"global_item_image_count_limit"`
	ItemDescriptionLengthLimit     ItemDescriptionLengthLimitEntity     `json:"global_item_description_length_limit"`
	TierVariationNameLengthLimit   TierVariationNameLengthLimitEntity   `json:"tier_variation_name_length_limit"`
	TierVariationOptionLengthLimit TierVariationOptionLengthLimitEntity `json:"tier_variation_option_length_limit"`
}

GetGlobalItemLimitResultResponse

func (GetGlobalItemLimitResultResponse) String

String

type GetGlobalItemListResult

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

GetItemListResult

func (GetGlobalItemListResult) String

func (g GetGlobalItemListResult) String() string

String

type GetGlobalItemListResultResponse

type GetGlobalItemListResultResponse struct {
	GlobalItemList []GlobalItemListEntity `json:"global_item_list"`
	TotalCount     int                    `json:"total_count"`
	HasNextPage    bool                   `json:"has_next_page"`
	Offset         string                 `json:"offset"`
}

GetItemListResultResponse

func (GetGlobalItemListResultResponse) String

String

type GetModelListResult

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

GetModelListResult

func (GetModelListResult) String

func (g GetModelListResult) String() string

String

type GetModelListResultResponse

type GetModelListResultResponse struct {
	TierVariation []TierVariationEntity `json:"tier_variation"`
	GlobalModel   []ModelEntity         `json:"global_model"`
}

GetModelListResultResponse

func (GetModelListResultResponse) String

String

type GetPublishTaskResult

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

GetPublishTaskResult

func (GetPublishTaskResult) String

func (g GetPublishTaskResult) String() string

String

type GetPublishTaskResultFailureEntity

type GetPublishTaskResultFailureEntity struct {
	FailedReason string `json:"failed_reason"`
}

GetPublishTaskResultFailureEntity

func (GetPublishTaskResultFailureEntity) String

String

type GetPublishTaskResultResponse

type GetPublishTaskResultResponse struct {
	PublishStatus string                            `json:"publish_status"`
	Success       GetPublishTaskResultSuccessEntity `json:"success"`
	Failed        GetPublishTaskResultFailureEntity `json:"failed"`
}

GetPublishTaskResultResponse

func (GetPublishTaskResultResponse) String

String

type GetPublishTaskResultSuccessEntity

type GetPublishTaskResultSuccessEntity struct {
	Region string `json:"region"`
	ShopID int64  `json:"shop_id"`
	ItemID int64  `json:"item_id"`
}

GetPublishTaskResultSuccessEntity

func (GetPublishTaskResultSuccessEntity) String

String

type GetPublishableShopResult

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

GetPublishableShopResult

func (GetPublishableShopResult) String

func (g GetPublishableShopResult) String() string

String

type GetPublishableShopResultResponse

type GetPublishableShopResultResponse struct {
	PublishableShop []PublishableShopEntity `json:"publishable_shop"`
}

GetPublishableShopResultResponse

func (GetPublishableShopResultResponse) String

String

type GetPublishedListResult

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

GetPublishedListResult

func (GetPublishedListResult) String

func (g GetPublishedListResult) String() string

String

type GetPublishedListResultResponse

type GetPublishedListResultResponse struct {
	PublishedItem []PublishedItemEntity `json:"published_item"`
}

GetPublishedListResultResponse

func (GetPublishedListResultResponse) String

String

type GlobalItemEntity

type GlobalItemEntity struct {
	GlobalItemID     int64             `json:"global_item_id"`
	GlobalItemName   string            `json:"global_item_name"`
	Description      string            `json:"description"`
	GlobalItemSku    string            `json:"global_item_sku"`
	GlobalItemStatus string            `json:"global_item_status"`
	CreateTime       int               `json:"create_time"`
	UpdateTime       int               `json:"update_time"`
	StockInfo        StockInfoEntity   `json:"stock_info"`
	PriceInfo        PriceInfoEntity   `json:"price_info"`
	Image            ImageEntity       `json:"image"`
	Weight           float32           `json:"weight"`
	Dimension        DimensionEntity   `json:"dimension"`
	PreOrder         PreOrderEntity    `json:"pre_order"`
	SizeChart        string            `json:"size_chart"`
	Condition        string            `json:"condition"`
	HasModel         bool              `json:"has_model"`
	Video            VideoEntity       `json:"video"`
	CategoryID       int64             `json:"category_id"`
	Brand            BrandEntity       `json:"brand"`
	AttributeList    []AttributeEntity `json:"attribute_list"`
}

GlobalItemEntity

func (GlobalItemEntity) String

func (c GlobalItemEntity) String() string

String

type GlobalItemListEntity

type GlobalItemListEntity struct {
	GlobalItemID int64 `json:"global_item_id"`
	UpdateTime   int   `json:"update_time"`
}

GlobalItemListEntity

func (GlobalItemListEntity) String

func (i GlobalItemListEntity) String() string

String

type ImageEntity

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

ImageEntity

func (ImageEntity) String

func (p ImageEntity) String() string

String

type InitTierVariationModelEntity

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

InitTierVariationModelEntity

func (InitTierVariationModelEntity) String

String

type InitTierVariationResult

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

InitTierVariationResult

func (InitTierVariationResult) String

func (g InitTierVariationResult) String() string

String

type ItemDescriptionLengthLimitEntity

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

ItemDescriptionLengthLimitEntity

func (ItemDescriptionLengthLimitEntity) String

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"`
	PreOrder      PreOrderEntity    `json:"pre_order"`
	Condition     string            `json:"condition"`
	SizeChart     string            `json:"size_chart"`
	ItemStatus    string            `json:"item_status"`
	HasModel      bool              `json:"has_model"`
	PromotionID   int64             `json:"promotion_id"`
	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 ItemIdMapEntity

type ItemIdMapEntity struct {
	ItemID       int64 `json:"item_id"`
	GlobalItemID int64 `json:"global_item_id"`
}

ItemIdMapEntity

func (ItemIdMapEntity) String

func (i ItemIdMapEntity) String() string

String

type ItemImageCountLimitEntity

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

ItemImageCountLimitEntity

func (ItemImageCountLimitEntity) String

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

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

ItemNameLengthLimitEntity

func (ItemNameLengthLimitEntity) String

func (p ItemNameLengthLimitEntity) String() string

String

type LogisticEntity

type LogisticEntity 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"`
}

LogisticEntity

func (LogisticEntity) String

func (l LogisticEntity) String() string

String

type ModelEntity

type ModelEntity struct {
	PriceInfo      []PriceInfoEntity `json:"price_info"`
	GlobalModelID  int64             `json:"global_model_id"`
	StockInfo      []StockInfoEntity `json:"stock_info"`
	TierIndex      []int             `json:"tier_index"`
	PromotionID    int64             `json:"promotion_id"`
	GlobalModelSku string            `json:"global_model_sku"`
}

ModelEntity

func (ModelEntity) String

func (s ModelEntity) String() string

String

type OptionEntity

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

OptionEntity

func (OptionEntity) String

func (s OptionEntity) String() string

String

type ParentAttributeEntity

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

ParentAttributeEntity

func (ParentAttributeEntity) String

func (a ParentAttributeEntity) String() string

String

type ParentBrandEntity

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

ParentBrandEntity

func (ParentBrandEntity) String

func (a ParentBrandEntity) String() string

String

type PreOrderEntity

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

PreOrderEntity

func (PreOrderEntity) String

func (p PreOrderEntity) String() string

String

type PriceEntity

type PriceEntity struct {
	GlobalModelID int64   `json:"global_model_id"`
	OriginalPrice float32 `json:"original_price"`
}

PriceEntity

func (PriceEntity) String

func (p PriceEntity) String() string

String

type PriceInfoEntity

type PriceInfoEntity struct {
	Currency      string  `json:"currency"`
	OriginalPrice float32 `json:"original_price"`
}

PriceInfoEntity

func (PriceInfoEntity) String

func (p PriceInfoEntity) String() string

String

type PriceLimitEntity

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

PriceLimitEntity

func (PriceLimitEntity) String

func (p PriceLimitEntity) String() string

String

type PublishableShopEntity

type PublishableShopEntity struct {
	ShopID     int64  `json:"shop_id"`
	ShopRegion string `json:"shop_region"`
}

PublishableShopEntity

func (PublishableShopEntity) String

func (p PublishableShopEntity) String() string

String

type PublishedItemEntity

type PublishedItemEntity struct {
	ShopID     int64  `json:"shop_id"`
	ShopRegion string `json:"shop_region"`
	ItemID     int64  `json:"item_id"`
	ItemStatus int    `json:"item_status"`
}

PublishedItemEntity

func (PublishedItemEntity) String

func (p PublishedItemEntity) String() string

String

type SetSyncFieldResult

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

SetSyncFieldResult

func (SetSyncFieldResult) String

func (r SetSyncFieldResult) String() string

String

type ShopSyncEntity

type ShopSyncEntity struct {
	ShopID                     int64  `json:"shop_id"`
	ShopRegion                 string `json:"shop_region"`
	NameAndDescription         bool   `json:"name_and_description"`
	MediaInformation           bool   `json:"media_information"`
	Category                   bool   `json:"category"`
	TierVariationNameAndOption bool   `json:"tier_variation_name_and_option"`
	Price                      bool   `json:"price"`
	DaysToShip                 bool   `json:"days_to_ship"`
}

ShopSyncEntity

func (ShopSyncEntity) String

func (p ShopSyncEntity) String() string

String

type StockInfoEntity

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

StockInfoEntity

func (StockInfoEntity) String

func (p StockInfoEntity) String() string

String

type StockLimitEntity

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

StockLimitEntity

func (StockLimitEntity) String

func (p StockLimitEntity) String() string

String

type SupportGlobalSizeChartResult

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

SupportSizeChartResult

func (SupportGlobalSizeChartResult) String

String

type SupportSizeChartResultResponse

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

SupportSizeChartResultResponse

func (SupportSizeChartResultResponse) String

String

type TierImageEntity

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

TierImageEntity

func (*TierImageEntity) String

func (i *TierImageEntity) String() string

String

type TierVariationEntity

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

TierVariationEntity

func (TierVariationEntity) String

func (s TierVariationEntity) String() string

String

type TierVariationNameLengthLimitEntity

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

TierVariationNameLengthLimitEntity

func (TierVariationNameLengthLimitEntity) String

String

type TierVariationOptionLengthLimitEntity

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

TierVariationOptionLengthLimitEntity

func (TierVariationOptionLengthLimitEntity) String

String

type UnlistItemItemListEntity

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

UnlistItemItemListEntity

func (UnlistItemItemListEntity) String

func (i UnlistItemItemListEntity) String() string

String

type UpdateGlobalModelResult

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

UpdateGlobalModelResult

func (UpdateGlobalModelResult) String

func (g UpdateGlobalModelResult) String() string

String

type UpdateGlobalPriceResult

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

UpdateGlobalPriceResult

func (UpdateGlobalPriceResult) String

func (g UpdateGlobalPriceResult) String() string

String

type UpdateGlobalSizeChartResult

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

UpdateGlobalSizeChartResult

func (UpdateGlobalSizeChartResult) String

String

type UpdateGlobalStockResult

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

UpdateGlobalStockResult

func (UpdateGlobalStockResult) String

func (r UpdateGlobalStockResult) String() string

String

type UpdateItemRequestItemEntity

type UpdateItemRequestItemEntity struct {
	GlobalItemID   int64             `json:"global_item_id"`
	OriginalPrice  float32           `json:"original_price "`
	Description    string            `json:"description"`
	Weight         float32           `json:"weight"`
	GlobalItemName string            `json:"global_item_name"`
	Dimension      DimensionEntity   `json:"dimension"`
	NormalStock    int               `json:"normal_stock"`
	AttributeList  []AttributeEntity `json:"attribute_list"`
	CategoryID     int64             `json:"category_id"`
	Image          ImageEntity       `json:"image"`
	PreOrder       PreOrderEntity    `json:"pre_order"`
	GlobalItemSku  string            `json:"global_item_sku"`
	Condition      string            `json:"condition"`
	VideoUploadID  []string          `json:"video_upload_id"`
	Brand          BrandEntity       `json:"brand"`
}

UpdateItemRequestItemEntity

func (UpdateItemRequestItemEntity) String

String

type UpdateModelEntity

type UpdateModelEntity struct {
	GlobalModelID  int64  `json:"global_model_id"`
	GlobalModelSku string `json:"global_model_sku"`
}

UpdateModelEntity

func (UpdateModelEntity) String

func (s UpdateModelEntity) String() string

String

type UpdateStockStockInfoEntity

type UpdateStockStockInfoEntity struct {
	GlobalModelID int64 `json:"global_model_id"`
	NormalStock   int   `json:"normal_stock"`
}

UpdateStockStockInfoEntity

func (UpdateStockStockInfoEntity) String

String

type UpdateTierVariationResult

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

UpdateTierVariationResult

func (UpdateTierVariationResult) String

func (r UpdateTierVariationResult) String() string

String

type VideoEntity

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

VideoEntity

func (VideoEntity) String

func (p VideoEntity) String() string

String

Jump to

Keyboard shortcuts

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