Documentation ¶
Index ¶
- type Affiliate
- type Area
- type Areas
- type AuctionImage
- type AuctionItemParam
- type AuctionItemResult
- type AuctionItemResultSet
- type AuctionPayment
- type BaggageInfo
- type Bank
- type Bidder
- type Brand
- type Brands
- type BrandsPath
- type Categories
- type Category
- type CategoryCurrent
- type CategoryIDPath
- type CategoryLeafParam
- type CategoryLeafResult
- type CategoryLeafResultSet
- type CategoryRankingParam
- type CategoryRankingResult
- type CategoryRankingResultSet
- type CategorySearchParam
- type CategorySearchResult
- type CategorySearchResultSet
- type CategoryTreeParam
- type CategoryTreeResult
- type CategoryTreeResultSet
- type CharityOption
- type Child
- type ChildCategory
- type Children
- type Client
- func (c *Client) AuctionItem(param *AuctionItemParam) (*AuctionItemResultSet, error)
- func (c *Client) CategoryLeaf(param *CategoryLeafParam) (*CategoryLeafResultSet, error)
- func (c *Client) CategoryRanking(param *CategoryRankingParam) (*CategoryRankingResultSet, error)
- func (c *Client) CategorySearch(param *CategorySearchParam) (*CategorySearchResultSet, error)
- func (c *Client) CategoryTree(param *CategoryTreeParam) (*CategoryTreeResultSet, error)
- func (c *Client) GetModule(param *GetModuleParam) (*GetModuleResultSet, error)
- func (c *Client) ItemLookup(param *ItemLookupParam) (*ItemLookupResultSet, error)
- func (c *Client) ItemSearch(param *ItemSearchParam) (*ItemSearchResultSet, error)
- func (c *Client) QueryRanking(param *QueryRankingParam) (*QueryRankingResultSet, error)
- func (c *Client) Request(req *http.Request) (resp *http.Response, err error)
- func (c *Client) ReviewSearch(param *ReviewSearchParam) (*ReviewSearchResultSet, error)
- func (c *Client) Search(param *SearchParam) (*SearchResultSet, error)
- func (c *Client) SellingList(param *SellingListParam) (*SellingListResultSet, error)
- func (c *Client) ShopCampaignSearch(param *ShopCampaignSearchParam) (*ShopCampaignSearchResultSet, error)
- type Codes
- type Content
- type Contents
- type Count
- type Current
- type Delivery
- type EasyPayment
- type EventTerm
- type ExImage
- type GetModuleParam
- type GetModuleResult
- type GetModuleResultSet
- type HighestBidders
- type Hit
- type Image
- type Images
- type Img
- type Inventories
- type Inventory
- type Item
- type ItemCode
- type ItemLookupParam
- type ItemLookupResult
- type ItemLookupResultSet
- type ItemReturnable
- type ItemSearchParam
- type ItemSearchResult
- type ItemSearchResultSet
- type ItemStatus
- type LongDistanceShipping
- type Method
- type Modules
- type Option
- type Other
- type Path
- type Payment
- type Point
- type Prefecture
- type Prefectures
- type Price
- type PriceLabel
- type PriceRange
- type PriceRanges
- type ProductCategory
- type QueryRankingData
- type QueryRankingParam
- type QueryRankingResult
- type QueryRankingResultSet
- type Range
- type RankingData
- type RankingInfo
- type Rating
- type Ratings
- type Ratio
- type Ratios
- type RelatedImages
- type Relational
- type RelationalTerm
- type Request
- type Review
- type ReviewSearchParam
- type ReviewSearchResult
- type ReviewSearchResultSet
- type Rule
- type Rules
- type SearchParam
- type SearchResult
- type SearchResultSet
- type Seller
- type SellingListParam
- type SellingListResult
- type SellingListResultSet
- type Shipping
- type ShopCampaignSearchParam
- type ShopCampaignSearchResult
- type ShopCampaignSearchResultSet
- type Store
- type SubTitle
- type SubTitles
- type Subcategories
- type Target
- type TargetImage
- type Title
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affiliate ¶
type Affiliate struct {
Rate string `xml:",omitempty"`
}
Affiliate affiliate information
type Area ¶
type Area struct { Code string `xml:",omitempty"` Name string `xml:",omitempty"` Prefectures Prefectures `xml:",omitempty"` }
Area area information
type AuctionImage ¶
type AuctionImage struct { Width string `xml:"width,attr,omitempty"` Height string `xml:"height,attr,omitempty"` Alt string `xml:"alt,attr,omitempty"` Value string `xml:",chardata"` }
AuctionImage auctionImage information
type AuctionItemParam ¶
type AuctionItemParam struct { Output string `json:"output,omitempty"` Callback string `json:"callback,omitempty"` AuctionID string `json:"auctionID,omitempty"` }
AuctionItemParam parameters for AuctionItem
type AuctionItemResult ¶
type AuctionItemResult struct { AuctionID string `xml:",omitempty"` CategoryID string `xml:",omitempty"` CategoryFarm string `xml:",omitempty"` CategoryIDPath string `xml:"CategoryIdPath,omitempty"` CategoryPath string `xml:",omitempty"` Title string `xml:",omitempty"` Seller Seller `xml:",omitempty"` AuctionItemURL string `xml:"AuctionItemUrl,omitempty"` Img Img `xml:",omitempty"` Initprice string `xml:",omitempty"` Price string `xml:",omitempty"` Quantity string `xml:",omitempty"` AvailableQuantity string `xml:",omitempty"` Bids string `xml:",omitempty"` HighestBidders HighestBidders `xml:",omitempty"` YPoint string `xml:",omitempty"` ItemStatus ItemStatus `xml:",omitempty"` ItemReturnable ItemReturnable `xml:",omitempty"` StartTime string `xml:",omitempty"` EndTime string `xml:",omitempty"` Bidorbuy string `xml:",omitempty"` TaxRate string `xml:",omitempty"` TaxinPrice string `xml:",omitempty"` TaxinBidorbuy string `xml:",omitempty"` Reserved string `xml:",omitempty"` IsBidCreditRestrictions string `xml:",omitempty"` IsBidderRestrictions string `xml:",omitempty"` IsBidderRatioRestrictions string `xml:",omitempty"` IsEarlyClosing string `xml:",omitempty"` IsAutomaticExtension string `xml:",omitempty"` IsOffer string `xml:",omitempty"` HasOfferAccept string `xml:",omitempty"` IsCharity string `xml:",omitempty"` SalesContract string `xml:",omitempty"` IsFleaMarket string `xml:",omitempty"` Option Option `xml:",omitempty"` Description string `xml:",omitempty"` SeoKeywords string `xml:",omitempty"` Payment AuctionPayment `xml:",omitempty"` BlindBusiness string `xml:",omitempty"` SevenElevenReceive string `xml:",omitempty"` ChargeForShipping string `xml:",omitempty"` Location string `xml:",omitempty"` IsWorldwide string `xml:",omitempty"` ShipTime string `xml:",omitempty"` ShippingInput string `xml:",omitempty"` Shipping Shipping `xml:",omitempty"` BaggageInfo BaggageInfo `xml:",omitempty"` IsAdult string `xml:",omitempty"` IsCreature string `xml:",omitempty"` IsSpecificCategory string `xml:",omitempty"` IsCharityCategory string `xml:",omitempty"` CharityOption CharityOption `xml:",omitempty"` AnsweredQAndANum string `xml:",omitempty"` Status string `xml:",omitempty"` }
AuctionItemResult result information
type AuctionItemResultSet ¶
type AuctionItemResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result AuctionItemResult `xml:",omitempty"` }
AuctionItemResultSet resultSet information
type AuctionPayment ¶
type AuctionPayment struct { EasyPayment EasyPayment `xml:",omitempty"` Bank Bank `xml:",omitempty"` CashRegistration string `xml:",omitempty"` PostalTransfer string `xml:",omitempty"` PostalOrder string `xml:",omitempty"` CashOnDelivery string `xml:",omitempty"` CreditCard string `xml:",omitempty"` Loan string `xml:",omitempty"` Other Other `xml:",omitempty"` }
AuctionPayment auctionPayment information
type BaggageInfo ¶
type BaggageInfo struct { Size string `xml:",omitempty"` SizeIndex string `xml:",omitempty"` Weight string `xml:",omitempty"` WeightIndex string `xml:",omitempty"` }
BaggageInfo baggageInfo information
type Bank ¶
type Bank struct { TotalBankMethodAvailable string `xml:"totalBankMethodAvailable,attr,omitempty"` Method string `xml:",omitempty"` }
Bank bank information
type Bidder ¶
type Bidder struct { ID string `xml:"Id,omitempty"` Rating Rating `xml:",omitempty"` ItemListURL string `xml:",omitempty"` RatingURL string `xml:",omitempty"` }
Bidder bidder information
type Brands ¶
type Brands struct { Name string `xml:",omitempty"` Path BrandsPath `xml:",omitempty"` }
Brands brands information
type BrandsPath ¶
type BrandsPath struct {
Brand []Brand `xml:",omitempty"`
}
BrandsPath brandsPath information
type Categories ¶
Categories categories information
type Category ¶
type Category struct { Depth string `xml:"depth,attr,omitempty"` ID string `xml:"Id,omitempty"` Name string `xml:",omitempty"` ParentID string `xml:"ParentId,omitempty"` Title Title `xml:",omitempty"` }
Category category information
type CategoryCurrent ¶
type CategoryCurrent struct {
Current Current `xml:",omitempty"`
}
CategoryCurrent categoryCurrent information
type CategoryIDPath ¶
type CategoryIDPath struct {
Category []Category `xml:",omitempty"`
}
CategoryIDPath categoryIDPath information
type CategoryLeafParam ¶
type CategoryLeafParam struct { Output string `json:"output,omitempty"` Callback string `json:"callback,omitempty"` Category string `json:"category,omitempty"` Page string `json:"page,omitempty"` Sort string `json:"sort,omitempty"` Order string `json:"order,omitempty"` Store string `json:"store,omitempty"` Aucminprice string `json:"aucminprice,omitempty"` Aucmaxprice string `json:"aucmaxprice,omitempty"` AucminBidorbuyPrice string `json:"aucmin_bidorbuy_price,omitempty"` AucmaxBidorbuyPrice string `json:"aucmax_bidorbuy_price,omitempty"` Easypayment string `json:"easypayment,omitempty"` New string `json:"new,omitempty"` Freeshipping string `json:"freeshipping,omitempty"` Wrappingicon string `json:"wrappingicon,omitempty"` Buynow string `json:"buynow,omitempty"` Thumbnail string `json:"thumbnail,omitempty"` Attn string `json:"attn,omitempty"` Point string `json:"point,omitempty"` GiftIcon string `json:"gift_icon,omitempty"` ItemStatus string `json:"item_status,omitempty"` Offer string `json:"offer,omitempty"` MinCharity string `json:"min_charity,omitempty"` MaxCharity string `json:"max_charity,omitempty"` MinAffiliate string `json:"min_affiliate,omitempty"` MaxAffiliate string `json:"max_affiliate,omitempty"` Timebuf string `json:"timebuf,omitempty"` Ranking string `json:"ranking,omitempty"` Seller string `json:"seller,omitempty"` }
CategoryLeafParam parameters for CategoryLeaf
type CategoryLeafResult ¶
type CategoryLeafResult struct { CategoryPath string `xml:",omitempty"` CategoryIDPath string `xml:"CategoryIdPath,omitempty"` Item []Item `xml:",omitempty"` }
CategoryLeafResult result information
type CategoryLeafResultSet ¶
type CategoryLeafResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result CategoryLeafResult `xml:",omitempty"` }
CategoryLeafResultSet resultSet information
type CategoryRankingParam ¶
type CategoryRankingParam struct { Output string `json:"output,omitempty"` AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` CategoryID string `json:"category_id,omitempty"` Gender string `json:"gender,omitempty"` Generation string `json:"generation,omitempty"` Period string `json:"period,omitempty"` Offset string `json:"offset,omitempty"` Type string `json:"type,omitempty"` }
CategoryRankingParam parameters for CategoryRanking
type CategoryRankingResult ¶
type CategoryRankingResult struct { RankingInfo RankingInfo `xml:",omitempty"` RankingData []RankingData `xml:",omitempty"` Categories Categories `xml:",omitempty"` }
CategoryRankingResult result information
type CategoryRankingResultSet ¶
type CategoryRankingResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result CategoryRankingResult `xml:",omitempty"` }
CategoryRankingResultSet resultSet information
type CategorySearchParam ¶
type CategorySearchParam struct { Output string `json:"output,omitempty"` AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` CategoryID string `json:"category_id,omitempty"` }
CategorySearchParam parameters for CategorySearch
type CategorySearchResult ¶
type CategorySearchResult struct {
Categories Categories `xml:",omitempty"`
}
CategorySearchResult result information
type CategorySearchResultSet ¶
type CategorySearchResultSet struct { TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result CategorySearchResult `xml:",omitempty"` }
CategorySearchResultSet resultSet information
type CategoryTreeParam ¶
type CategoryTreeParam struct { Output string `json:"output,omitempty"` Callback string `json:"callback,omitempty"` Category string `json:"category,omitempty"` Adf string `json:"adf,omitempty"` }
CategoryTreeParam parameters for CategoryTree
type CategoryTreeResult ¶
type CategoryTreeResult struct { CategoryID string `xml:"CategoryId,omitempty"` CategoryName string `xml:",omitempty"` CategoryPath string `xml:",omitempty"` CategoryIDPath string `xml:"CategoryIdPath,omitempty"` ParentCategoryID string `xml:"ParentCategoryId,omitempty"` IsLeaf string `xml:",omitempty"` Depth string `xml:",omitempty"` Order string `xml:",omitempty"` IsLink string `xml:",omitempty"` IsAdult string `xml:",omitempty"` IsLeafToLink string `xml:",omitempty"` ChildCategoryNum string `xml:",omitempty"` ChildCategory []ChildCategory `xml:",omitempty"` }
CategoryTreeResult result information
type CategoryTreeResultSet ¶
type CategoryTreeResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result CategoryTreeResult `xml:",omitempty"` }
CategoryTreeResultSet resultSet information
type CharityOption ¶
type CharityOption struct {
Proportion string `xml:",omitempty"`
}
CharityOption charityOption information
type Child ¶
type Child struct { SortOrder string `xml:"sortOrder,attr,omitempty"` ID string `xml:"Id,omitempty"` Name string `xml:",omitempty"` Hits string `xml:",omitempty"` URL string `xml:"Url,omitempty"` Title Title `xml:",omitempty"` IsAdult string `xml:",omitempty"` }
Child child information
type ChildCategory ¶
type ChildCategory struct { CategoryID string `xml:"CategoryId,omitempty"` CategoryName string `xml:",omitempty"` CategoryPath string `xml:",omitempty"` CategoryIDPath string `xml:"CategoryIdPath,omitempty"` NumOfAuctions string `xml:",omitempty"` ParentCategoryID string `xml:"ParentCategoryId,omitempty"` IsLeaf string `xml:",omitempty"` Depth string `xml:",omitempty"` Order string `xml:",omitempty"` IsLink string `xml:",omitempty"` IsAdult string `xml:",omitempty"` IsLeafToLink string `xml:",omitempty"` }
ChildCategory childCategory information
type Children ¶
type Children struct {
Child []Child `xml:",omitempty"`
}
Children children information
type Client ¶
type Client struct { BaseURL *url.URL AppID string Verbose bool UserAgent string HTTPClient *http.Client }
Client api client for yahoo
func NewClientWithOptions ¶
NewClientWithOptions returns new yahoo client
func NewShopping ¶
NewShopping returns new yahoo shopping Client
func (*Client) AuctionItem ¶
func (c *Client) AuctionItem(param *AuctionItemParam) (*AuctionItemResultSet, error)
AuctionItem Auction Item
func (*Client) CategoryLeaf ¶
func (c *Client) CategoryLeaf(param *CategoryLeafParam) (*CategoryLeafResultSet, error)
CategoryLeaf Leaf Category
func (*Client) CategoryRanking ¶
func (c *Client) CategoryRanking(param *CategoryRankingParam) (*CategoryRankingResultSet, error)
CategoryRanking ranking category
func (*Client) CategorySearch ¶
func (c *Client) CategorySearch(param *CategorySearchParam) (*CategorySearchResultSet, error)
CategorySearch search category
func (*Client) CategoryTree ¶
func (c *Client) CategoryTree(param *CategoryTreeParam) (*CategoryTreeResultSet, error)
CategoryTree Tree Category
func (*Client) GetModule ¶
func (c *Client) GetModule(param *GetModuleParam) (*GetModuleResultSet, error)
GetModule get module
func (*Client) ItemLookup ¶
func (c *Client) ItemLookup(param *ItemLookupParam) (*ItemLookupResultSet, error)
ItemLookup lookup item
func (*Client) ItemSearch ¶
func (c *Client) ItemSearch(param *ItemSearchParam) (*ItemSearchResultSet, error)
ItemSearch search item
func (*Client) QueryRanking ¶
func (c *Client) QueryRanking(param *QueryRankingParam) (*QueryRankingResultSet, error)
QueryRanking ranking query
func (*Client) ReviewSearch ¶
func (c *Client) ReviewSearch(param *ReviewSearchParam) (*ReviewSearchResultSet, error)
ReviewSearch search review
func (*Client) Search ¶
func (c *Client) Search(param *SearchParam) (*SearchResultSet, error)
Search Search
func (*Client) SellingList ¶
func (c *Client) SellingList(param *SellingListParam) (*SellingListResultSet, error)
SellingList Leaf Category
func (*Client) ShopCampaignSearch ¶
func (c *Client) ShopCampaignSearch(param *ShopCampaignSearchParam) (*ShopCampaignSearchResultSet, error)
ShopCampaignSearch search shop campaign
type Content ¶
type Content struct { Index string `xml:"index,attr,omitempty"` Device string `xml:",omitempty"` Description string `xml:",omitempty"` URL string `xml:"Url,omitempty"` ArchivedURL string `xml:"ArchivedUrl,omitempty"` Carrier string `xml:",omitempty"` }
Content content information
type Contents ¶
type Contents struct {
Content []Content `xml:",omitempty"`
}
Contents contents information
type Current ¶
type Current struct { ID string `xml:"Id,omitempty"` Name string `xml:",omitempty"` ParentID string `xml:"ParentId,omitempty"` URL string `xml:"Url,omitempty"` Title Title `xml:",omitempty"` Path Path `xml:",omitempty"` IsAdult string `xml:",omitempty"` }
Current current information
type Delivery ¶
type Delivery struct { Areas Areas `xml:",omitempty"` Deadline string `xml:",omitempty"` Conditions string `xml:",omitempty"` }
Delivery delivery information
type EasyPayment ¶
type EasyPayment struct { IsCreditCard string `xml:",omitempty"` IsNetBank string `xml:",omitempty"` SafeKeepingPayment string `xml:",omitempty"` }
EasyPayment easyPayment information
type ExImage ¶
type ExImage struct { URL string `xml:"Url,omitempty"` Width string `xml:",omitempty"` Height string `xml:",omitempty"` }
ExImage exImage information
type GetModuleParam ¶
type GetModuleParam struct { AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` CategoryID string `json:"category_id,omitempty"` Position string `json:"type,omitempty"` }
GetModuleParam parameters for GetModule
type GetModuleResult ¶
type GetModuleResult struct { CategoryID string `xml:"CategoryId,omitempty"` Position string `xml:",omitempty"` ModuleTitle string `xml:",omitempty"` Hit []Hit `xml:",omitempty"` }
GetModuleResult result information
type GetModuleResultSet ¶
type GetModuleResultSet struct { TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result GetModuleResult `xml:",omitempty"` }
GetModuleResultSet resultSet information
type HighestBidders ¶
type HighestBidders struct { TotalHighestBidders string `xml:"totalHighestBidders,attr,omitempty"` IsMore string `xml:",omitempty"` Bidder []Bidder `xml:",omitempty"` }
HighestBidders highestBidders information
type Hit ¶
type Hit struct { Index string `xml:"index,attr"` Title string `xml:",omitempty"` EventTerm EventTerm `xml:",omitempty"` SubTitles SubTitles `xml:",omitempty"` Name string `xml:",omitempty"` Description string `xml:",omitempty"` Headline string `xml:",omitempty"` URL string `xml:"Url,omitempty"` ReleaseDate string `xml:",omitempty"` Availability string `xml:",omitempty"` Code string `xml:",omitempty"` Condition string `xml:",omitempty"` PersonID string `xml:"PersonId,omitempty"` ProductID string `xml:"ProductId,omitempty"` Image Image `xml:",omitempty"` ExImage ExImage `xml:",omitempty"` Review Review `xml:",omitempty"` Affiliate Affiliate `xml:",omitempty"` Price Price `xml:",omitempty"` PriceLabel PriceLabel `xml:",omitempty"` Point Point `xml:",omitempty"` Shipping Shipping `xml:",omitempty"` Category CategoryCurrent `xml:",omitempty"` CategoryIDPath CategoryIDPath `xml:"CategoryIdPath,omitempty"` Brands Brands `xml:",omitempty"` JanCode string `xml:",omitempty"` Model string `xml:",omitempty"` IsbnCode string `xml:",omitempty"` Store Store `xml:",omitempty"` IsAdult string `xml:",omitempty"` Caption string `xml:",omitempty"` Abstract string `xml:",omitempty"` Additional1 string `xml:",omitempty"` Additional2 string `xml:",omitempty"` Additional3 string `xml:",omitempty"` SpAdditional string `xml:",omitempty"` ProductCategory ProductCategory `xml:",omitempty"` IsBargain string `xml:",omitempty"` OriginalPriceEvidence string `xml:",omitempty"` RelatedImages RelatedImages `xml:",omitempty"` ShipWeight string `xml:",omitempty"` SaleLimit string `xml:",omitempty"` Inventories Inventories `xml:",omitempty"` Payment Payment `xml:",omitempty"` Order string `xml:",omitempty"` IsCarBodySeller string `xml:",omitempty"` }
Hit hit information
type Image ¶
type Image struct { Index string `xml:"index,attr,omitempty"` ID string `xml:"Id,omitempty"` Medium string `xml:",omitempty"` Small string `xml:",omitempty"` Original string `xml:",omitempty"` Width string `xml:",omitempty"` Height string `xml:",omitempty"` URL string `xml:"Url,omitempty"` }
Image image information
type Img ¶
type Img struct { Image1 AuctionImage `xml:",omitempty"` Image2 AuctionImage `xml:",omitempty"` Image3 AuctionImage `xml:",omitempty"` Image4 AuctionImage `xml:",omitempty"` Image5 AuctionImage `xml:",omitempty"` Image6 AuctionImage `xml:",omitempty"` Image7 AuctionImage `xml:",omitempty"` Image8 AuctionImage `xml:",omitempty"` Image9 AuctionImage `xml:",omitempty"` Image10 AuctionImage `xml:",omitempty"` }
Img img information
type Inventories ¶
type Inventories struct {
Inventory Inventory `xml:",omitempty"`
}
Inventories inventories information
type Inventory ¶
type Inventory struct { SubCode string `xml:",omitempty"` Order string `xml:",omitempty"` Availability string `xml:",omitempty"` Quantity string `xml:",omitempty"` AllowOverdraft string `xml:",omitempty"` }
Inventory inventory information
type Item ¶
type Item struct { AuctionID string `xml:",omitempty"` Title string `xml:",omitempty"` CategoryID string `xml:"CategoryId,omitempty"` Seller Seller `xml:",omitempty"` ItemURL string `xml:"ItemUrl,omitempty"` AuctionItemURL string `xml:"AuctionItemUrl,omitempty"` Image AuctionImage `xml:",omitempty"` OriginalImageNum string `xml:",omitempty"` CurrentPrice string `xml:",omitempty"` Bids string `xml:",omitempty"` EndTime string `xml:",omitempty"` BidOrBuy string `xml:",omitempty"` Affiliate Affiliate `xml:",omitempty"` IsReserved string `xml:",omitempty"` CharityOption CharityOption `xml:",omitempty"` Option Option `xml:",omitempty"` IsAdult string `xml:",omitempty"` }
Item item information
type ItemCode ¶
type ItemCode struct {
Codes Codes `xml:",omitempty"`
}
ItemCode itemCode informaiton
type ItemLookupParam ¶
type ItemLookupParam struct { AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` ItemCode string `json:"itemcode,omitempty"` ResponseGroup string `json:"responsegroup,omitempty"` ImageSize string `json:"image_size,omitempty"` License string `json:"license,omitempty"` }
ItemLookupParam parameters for ItemLookup
type ItemLookupResult ¶
ItemLookupResult result information
type ItemLookupResultSet ¶
type ItemLookupResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result ItemLookupResult `xml:",omitempty"` }
ItemLookupResultSet resultSet information
type ItemReturnable ¶
ItemReturnable ItemReturnable information
type ItemSearchParam ¶
type ItemSearchParam struct { AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` Query string `json:"query,omitempty"` Type string `json:"type,omitempty"` Jan string `json:"jan,omitempty"` Isbn string `json:"isbn,omitempty"` ImageSize string `json:"image_size,omitempty"` CategoryID string `json:"category_id,omitempty"` ProductID string `json:"product_id,omitempty"` PersonID string `json:"person_id,omitempty"` BrandID string `json:"brand_id,omitempty"` StoreID string `json:"store_id,omitempty"` PriceFrom string `json:"price_from,omitempty"` PriceTo string `json:"price_to,omitempty"` AffiliateFrom string `json:"affiliate_from,omitempty"` AffiliateTo string `json:"affiliate_to,omitempty"` Preorder string `json:"preorder,omitempty"` Hits string `json:"hits,omitempty"` Offset string `json:"offset,omitempty"` Module string `json:"module,omitempty"` Availability string `json:"availability,omitempty"` Discount string `json:"discount,omitempty"` Shipping string `json:"shipping,omitempty"` Payment string `json:"payment,omitempty"` License string `json:"license,omitempty"` SalestartFrom string `json:"salestart_from,omitempty"` SalestartTo string `json:"salestart_to,omitempty"` SaleendFrom string `json:"saleend_from,omitempty"` SaleendTo string `json:"saleend_to,omitempty"` ExpArea string `json:"exp_area,omitempty"` ExpDeadlineFrom string `json:"exp_deadline_from,omitempty"` ExpDeadlineTo string `json:"exp_deadline_to,omitempty"` SameDayArea string `json:"same_day_area,omitempty"` SameDayDeadlineFrom string `json:"same_day_deadline_from,omitempty"` SameDayDeadlineTo string `json:"same_day_deadline_to,omitempty"` Seller string `json:"seller,omitempty"` Sort string `json:"sort,omitempty"` Condition string `json:"condition,omitempty"` }
ItemSearchParam parameters for ItemSearch
type ItemSearchResult ¶
type ItemSearchResult struct { Request Request `xml:",omitempty"` Modules Modules `xml:",omitempty"` Hit []Hit `xml:",omitempty"` }
ItemSearchResult result information
type ItemSearchResultSet ¶
type ItemSearchResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result ItemSearchResult `xml:",omitempty"` }
ItemSearchResultSet resultSet information
type ItemStatus ¶
ItemStatus itemStatus information
type LongDistanceShipping ¶
type LongDistanceShipping struct { HokkaidoPrice string `xml:",omitempty"` OkinawaPrice string `xml:",omitempty"` IsolatedIslandPrice string `xml:",omitempty"` }
LongDistanceShipping longDistanceShipping information
type Method ¶
type Method struct { Code string `xml:",omitempty"` Name string `xml:",omitempty"` NameRaw string `xml:",omitempty"` SinglePrice string `xml:",omitempty"` LongDistanceShipping LongDistanceShipping `xml:",omitempty"` PriceURL string `xml:",omitempty"` }
Method method information
type Modules ¶
type Modules struct { PriceRanges PriceRanges `xml:",omitempty"` Subcategories Subcategories `xml:",omitempty"` }
Modules modules information
type Option ¶
type Option struct { FeaturedIcon string `xml:",omitempty"` EasyPaymentIcon string `xml:",omitempty"` IsBold string `xml:",omitempty"` IsBackGroundColor string `xml:",omitempty"` IsOffer string `xml:",omitempty"` IsCharity string `xml:",omitempty"` NewIcon string `xml:",omitempty"` StoreIcon string `xml:",omitempty"` CheckIcon string `xml:",omitempty"` PublicIcon string `xml:",omitempty"` FreeshippingIcon string `xml:",omitempty"` NewItemIcon string `xml:",omitempty"` WrappingIcon string `xml:",omitempty"` BuynowIcon string `xml:",omitempty"` GiftIcon string `xml:",omitempty"` PointIcon string `xml:",omitempty"` CharityOptionIcon string `xml:",omitempty"` }
Option Option information
type Other ¶
type Other struct { TotalOtherMethodAvailable string `xml:"totalOtherMethodAvailable,attr,omitempty"` Method string `xml:",omitempty"` }
Other other information
type Payment ¶
type Payment struct {
Method []Method `xml:",omitempty"`
}
Payment payment information
type Point ¶
type Point struct { Amount string `xml:",omitempty"` Times string `xml:",omitempty"` PremiumAmount string `xml:",omitempty"` PremiumTimes string `xml:",omitempty"` PremiumCpAmount string `xml:",omitempty"` AppCpAmount string `xml:",omitempty"` PreAppCpAmount string `xml:",omitempty"` PremiumCpTimes string `xml:",omitempty"` AppCpTimes string `xml:",omitempty"` PreAppCpTimes string `xml:",omitempty"` Grant string `xml:",omitempty"` Accept string `xml:",omitempty"` }
Point point information
type Prefecture ¶
Prefecture prefecture information
type Prefectures ¶
type Prefectures struct {
Prefecture []Prefecture `xml:",omitempty"`
}
Prefectures prefectures information
type Price ¶
type Price struct { Currency string `xml:"currency,attr,omitempty"` Value string `xml:",chardata"` }
Price price information
type PriceLabel ¶
type PriceLabel struct { TaxIncluded string `xml:"taxIncluded,attr,omitempty"` FixedPrice string `xml:",omitempty"` DefaultPrice string `xml:",omitempty"` SalePrice string `xml:",omitempty"` BaseFixedPrice string `xml:",omitempty"` BaseDefaultPrice string `xml:",omitempty"` BaseSalePrice string `xml:",omitempty"` PeriodStart string `xml:",omitempty"` PeriodEnd string `xml:",omitempty"` }
PriceLabel priceLabel information
type PriceRange ¶
type PriceRange struct {
Range []Range `xml:",omitempty"`
}
PriceRange priceRange information
type PriceRanges ¶
type PriceRanges struct {
Price PriceRange `xml:",omitempty"`
}
PriceRanges priceRanges information
type ProductCategory ¶
type ProductCategory struct {
ID string `xml:",omitempty"`
}
ProductCategory productCategory information
type QueryRankingData ¶
type QueryRankingData struct { Rank string `xml:"rank,attr,omitempty"` Prerank string `xml:"prerank,attr,omitempty"` Vector string `xml:"vector,attr,omitempty"` Score string `xml:",omitempty"` Query string `xml:",omitempty"` Relational Relational `xml:",omitempty"` URL string `xml:"Url,omitempty"` }
QueryRankingData queryRankingData information
type QueryRankingParam ¶
type QueryRankingParam struct { AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` Type string `json:"type,omitempty"` Hits string `json:"hits,omitempty"` Offset string `json:"offset,omitempty"` CategoryID string `json:"category_id,omitempty"` }
QueryRankingParam parameters for QueryRanking
type QueryRankingResult ¶
type QueryRankingResult struct { RankingInfo RankingInfo `xml:",omitempty"` QueryRankingData []QueryRankingData `xml:",omitempty"` Categories Categories `xml:",omitempty"` }
QueryRankingResult result information
type QueryRankingResultSet ¶
type QueryRankingResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result QueryRankingResult `xml:",omitempty"` }
QueryRankingResultSet resultSet information
type Range ¶
type Range struct { From string `xml:",omitempty"` To string `xml:",omitempty"` Hits string `xml:",omitempty"` }
Range range information
type RankingData ¶
type RankingData struct { Rank string `xml:"rank,attr,omitempty"` Vector string `xml:"vector,attr,omitempty"` Type string `xml:"type,attr,omitempty"` Name string `xml:",omitempty"` Code string `xml:",omitempty"` URL string `xml:"Url,omitempty"` Image Image `xml:",omitempty"` Review Review `xml:",omitempty"` Store Store `xml:",omitempty"` }
RankingData rankingData information
type RankingInfo ¶
type RankingInfo struct { LastModified string `xml:",omitempty"` StartDate string `xml:",omitempty"` EndDate string `xml:",omitempty"` CategoryID string `xml:"CategoryId,omitempty"` Gender string `xml:",omitempty"` Generation string `xml:",omitempty"` Period string `xml:",omitempty"` Type string `xml:",omitempty"` }
RankingInfo rankingInfo information
type Rating ¶
type Rating struct { Point string `xml:",omitempty"` IsSuspended string `xml:",omitempty"` IsDeleted string `xml:",omitempty"` TotalGoodRating string `xml:",omitempty"` TotalNormalRating string `xml:",omitempty"` TotalBadRating string `xml:",omitempty"` }
Rating rating information
type Ratings ¶
type Ratings struct { Rate string `xml:",omitempty"` Count string `xml:",omitempty"` Total string `xml:",omitempty"` DetailRate string `xml:",omitempty"` Average string `xml:",omitempty"` }
Ratings ratings information
type Ratio ¶
type Ratio struct { Index string `xml:"index,attr,omitempty"` Type string `xml:",omitempty"` Num string `xml:",omitempty"` }
Ratio ratio information
type RelatedImages ¶
type RelatedImages struct {
Image []Image `xml:",omitempty"`
}
RelatedImages relatedImages information
type Relational ¶
type Relational struct {
RelationalTerm []RelationalTerm `xml:",omitempty"`
}
Relational relational information
type RelationalTerm ¶
RelationalTerm relationalTerm information
type Review ¶
type Review struct { Rate string `xml:",omitempty"` Count string `xml:",omitempty"` URL string `xml:"Url,omitempty"` }
Review review information
type ReviewSearchParam ¶
type ReviewSearchParam struct { AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` Jan string `json:"jan,omitempty"` CategoryID string `json:"category_id,omitempty"` ProductID string `json:"product_id,omitempty"` PersonID string `json:"person_id,omitempty"` StoreID string `json:"store_id,omitempty"` Results string `json:"results,omitempty"` Start string `json:"start,omitempty"` Sort string `json:"sort,omitempty"` }
ReviewSearchParam parameters for ReviewSearch
type ReviewSearchResult ¶
type ReviewSearchResult struct { Index string `xml:"index,attr,omitempty"` ReviewTitle string `xml:",omitempty"` Description string `xml:",omitempty"` Ratings Ratings `xml:",omitempty"` Count Count `xml:",omitempty"` Recommend string `xml:",omitempty"` Update string `xml:",omitempty"` URL string `xml:"Url,omitempty"` ReviewType string `xml:",omitempty"` Purpose string `xml:",omitempty"` SendTo string `xml:",omitempty"` Target Target `xml:",omitempty"` }
ReviewSearchResult result information
type ReviewSearchResultSet ¶
type ReviewSearchResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result []ReviewSearchResult `xml:",omitempty"` Categories Categories `xml:",omitempty"` }
ReviewSearchResultSet resultSet information
type Rule ¶
type Rule struct { Index string `xml:"index,attr,omitempty"` Target string `xml:",omitempty"` Ratios Ratios `xml:",omitempty"` }
Rule rule information
type SearchParam ¶
type SearchParam struct { Output string `json:"output,omitempty"` Callback string `json:"callback,omitempty"` Query string `json:"query,omitempty"` Type string `json:"type,omitempty"` Category string `json:"category,omitempty"` Page string `json:"page,omitempty"` Sort string `json:"sort,omitempty"` Order string `json:"order,omitempty"` Store string `json:"store,omitempty"` Aucminprice string `json:"aucminprice,omitempty"` Aucmaxprice string `json:"aucmaxprice,omitempty"` AucminBidorbuyPrice string `json:"aucmin_bidorbuy_price,omitempty"` AucmaxBidorbuyPrice string `json:"aucmax_bidorbuy_price,omitempty"` LocCd string `json:"loc_cd,omitempty"` Easypayment string `json:"easypayment,omitempty"` New string `json:"new,omitempty"` Freeshipping string `json:"freeshipping,omitempty"` Wrappingicon string `json:"wrappingicon,omitempty"` Buynow string `json:"buynow,omitempty"` Thumbnail string `json:"thumbnail,omitempty"` Attn string `json:"attn,omitempty"` Point string `json:"point,omitempty"` GiftIcon string `json:"gift_icon,omitempty"` ItemStatus string `json:"item_status,omitempty"` Offer string `json:"offer,omitempty"` Adf string `json:"adf,omitempty"` MinCharity string `json:"min_charity,omitempty"` MaxCharity string `json:"max_charity,omitempty"` MinAffiliate string `json:"min_affiliate,omitempty"` MaxAffiliate string `json:"max_affiliate,omitempty"` Timebuf string `json:"timebuf,omitempty"` Ranking string `json:"ranking,omitempty"` Seller string `json:"seller,omitempty"` F string `json:"f,omitempty"` }
SearchParam parameters for Search
type SearchResult ¶
SearchResult result information
type SearchResultSet ¶
type SearchResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result SearchResult `xml:",omitempty"` }
SearchResultSet resultSet information
type Seller ¶
type Seller struct { ID string `xml:"Id,omitempty"` ItemListURL string `xml:"ItemListUrl,omitempty"` RatingURL string `xml:"RatingUrl,omitempty"` AboutURL string `xml:"AboutUrl,omitempty"` Rating Rating `xml:",omitempty"` }
Seller Seller information
type SellingListParam ¶
type SellingListParam struct { Output string `json:"output,omitempty"` Callback string `json:"callback,omitempty"` SellerID string `json:"sellerID,omitempty"` Page string `json:"page,omitempty"` Sort string `json:"sort,omitempty"` Order string `json:"order,omitempty"` Store string `json:"store,omitempty"` Aucminprice string `json:"aucminprice,omitempty"` Aucmaxprice string `json:"aucmaxprice,omitempty"` AucminBidorbuyPrice string `json:"aucmin_bidorbuy_price,omitempty"` AucmaxBidorbuyPrice string `json:"aucmax_bidorbuy_price,omitempty"` Easypayment string `json:"easypayment,omitempty"` New string `json:"new,omitempty"` Freeshipping string `json:"freeshipping,omitempty"` Wrappingicon string `json:"wrappingicon,omitempty"` Buynow string `json:"buynow,omitempty"` Thumbnail string `json:"thumbnail,omitempty"` Attn string `json:"attn,omitempty"` Point string `json:"point,omitempty"` GiftIcon string `json:"gift_icon,omitempty"` ItemStatus string `json:"item_status,omitempty"` Offer string `json:"offer,omitempty"` }
SellingListParam parameters for SellingList
type SellingListResult ¶
SellingListResult result information
type SellingListResultSet ¶
type SellingListResultSet struct { FirstResultPosition string `xml:"firstResultPosition,attr,omitempty"` TotalResultsAvailable string `xml:"totalResultsAvailable,attr,omitempty"` TotalResultsReturned string `xml:"totalResultsReturned,attr,omitempty"` Result SellingListResult `xml:",omitempty"` }
SellingListResultSet resultSet information
type Shipping ¶
type Shipping struct { Code string `xml:",omitempty"` Name string `xml:",omitempty"` TotalShippingMethodAvailable string `xml:"totalShippingMethodAvailable,attr,omitempty"` Method Method `xml:",omitempty"` }
Shipping shipping information
type ShopCampaignSearchParam ¶
type ShopCampaignSearchParam struct { AffiliateType string `json:"affiliate_type,omitempty"` AffiliateID string `json:"affiliate_id,omitempty"` Callback string `json:"callback,omitempty"` }
ShopCampaignSearchParam parameters for ShopCampaignSearch
type ShopCampaignSearchResult ¶
type ShopCampaignSearchResult struct { Index string `xml:"index,attr,omitempty"` Title string `xml:",omitempty"` ID string `xml:"Id,omitempty"` EventType string `xml:",omitempty"` IsDisplay string `xml:",omitempty"` IsCondition string `xml:",omitempty"` Sentence string `xml:",omitempty"` CampaignStartTime string `xml:",omitempty"` CampaignEndTime string `xml:",omitempty"` EntryStartTime string `xml:",omitempty"` EntryEndTime string `xml:",omitempty"` DisplayStartTime string `xml:",omitempty"` DisplayEndTime string `xml:",omitempty"` PushStartTime string `xml:",omitempty"` PushEndTime string `xml:",omitempty"` IsAutoEntry string `xml:",omitempty"` Images Images `xml:",omitempty"` Contents Contents `xml:",omitempty"` Rules Rules `xml:",omitempty"` MaxRatio string `xml:",omitempty"` }
ShopCampaignSearchResult result information
type ShopCampaignSearchResultSet ¶
type ShopCampaignSearchResultSet struct {
Result []ShopCampaignSearchResult `xml:",omitempty"`
}
ShopCampaignSearchResultSet resultSet information
type Store ¶
type Store struct { ID string `xml:"Id,omitempty"` Name string `xml:",omitempty"` SellerType string `xml:",omitempty"` ToolType string `xml:",omitempty"` URL string `xml:"Url,omitempty"` Payment Payment `xml:",omitempty"` IsBestStore string `xml:",omitempty"` Ratings Ratings `xml:",omitempty"` Image Image `xml:",omitempty"` SameDayDelivery Delivery `xml:",omitempty"` ExpressDelivery Delivery `xml:",omitempty"` Point Point `xml:",omitempty"` InventoryMessage string `xml:",omitempty"` }
Store store information
type SubTitles ¶
type SubTitles struct {
SubTitle []SubTitle `xml:",omitempty"`
}
SubTitles subTitles information
type Subcategories ¶
Subcategories subcategories information
type Target ¶
type Target struct { Type string `xml:"type,attr,omitempty"` Name string `xml:",omitempty"` Code string `xml:",omitempty"` URL string `xml:"Url,omitempty"` Store Store `xml:",omitempty"` Image TargetImage `xml:",omitempty"` Condition string `xml:",omitempty"` }
Target Target information
type TargetImage ¶
type TargetImage struct { ID string `xml:"Id,omitempty"` Small Image `xml:",omitempty"` Medium Image `xml:",omitempty"` }
TargetImage targetImage information