Documentation ¶
Index ¶
- Constants
- type Client
- type Hit
- type InfoArea
- type InfoAreas
- type InfoCode
- type InfoDelivery
- type InfoHit
- type InfoImage
- type InfoInventories
- type InfoInventory
- type InfoItemCode
- type InfoMethod
- type InfoNode
- type InfoPayment
- type InfoPoint
- type InfoPrefectures
- type InfoPrice
- type InfoPriceLabel
- type InfoProductCategory
- type InfoRatings
- type InfoResult
- type InfoResultSet
- type InfoReview
- type InfoShipping
- type InfoStore
- type InfoStoreImage
- type InfoStorePoint
- type RankImage
- type RankReview
- type RankStore
- type Ranking
- type RankingInfo
- type RankingResult
- type RankingResultSet
- type Request
- type SearchResult
- type SearchResultSet
- type SrchAffiliate
- type SrchBrand
- type SrchBrands
- type SrchCategory
- type SrchCategoryIdPath
- type SrchDeliveryinfo
- type SrchExtImage
- type SrchImage
- type SrchMethod
- type SrchNode
- type SrchPayment
- type SrchPoint
- type SrchPrice
- type SrchPriceLabel
- type SrchRatings
- type SrchReview
- type SrchShipping
- type SrchStore
- type StoreImage
Constants ¶
View Source
const (
AppID = "<your App ID>"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hit ¶
type Hit struct { Index int64 `xml:"index,attr"` Name string `xml:"Name,omitempty"` Description string `xml:"Description,omitempty"` Headline string `xml:"Headline,omitempty"` Url string `xml:"Url,omitempty"` Availability string `xml:"Availability,omitempty"` Code string `xml:"Code,omitempty"` Image *SrchImage `xml:"Image,omitempty"` ExImage *SrchExtImage `xml:"ExImage,omitempty"` Review *SrchReview `xml:"Review,omitempty"` Affiliate *SrchAffiliate `xml:"Affiliate,omitempty"` Price *SrchPrice `xml:"Price,omitempty"` PriceLabel *SrchPriceLabel `xml:"PriceLabel,omitempty"` Point *SrchPoint `xml:"Point,omitempty"` Shipping *SrchShipping `xml:"Shipping,omitempty"` Category *SrchCategory `xml:"Category,omitempty"` CategoryIdPath *SrchCategoryIdPath `xml:"CategoryIdPath,omitempty"` Brands *SrchBrands `xml:"Brands,omitempty"` JanCode string `xml:"JanCode,omitempty"` Model string `xml:"Model,omitempty"` IsbnCode string `xml:"IsbnCode,omitempty"` ReleaseDate string `xml:"ReleaseDate,omitempty"` Store *SrchStore `xml:"Store,omitempty"` IsAdult int64 `xml:"IsAdult,omitempty"` Deliveryinfo *SrchDeliveryinfo `xml:"Deliveryinfo,omitempty"` }
type InfoArea ¶
type InfoArea struct { Code string `xml:"Code,omitempty"` Name string `xml:"Name,omitempty"` Prefectures []InfoPrefectures `xml:"Prefectures,omitempty"` }
type InfoDelivery ¶
type InfoHit ¶
type InfoHit struct { Code string `xml:"Code,omitempty"` Name string `xml:"Name,omitempty"` Url string `xml:"Url,omitempty"` Condition string `xml:"Condition,omitempty"` Headline string `xml:"Headline,omitempty"` Caption string `xml:"Caption,omitempty"` Abstract string `xml:"Abstract,omitempty"` Additional1 string `xml:"Additional1,omitempty"` Additional2 string `xml:"Additional2,omitempty"` Additional3 string `xml:"Additional3,omitempty"` SpAdditional string `xml:"SpAdditional,omitempty"` ProductCategory *InfoProductCategory `xml:"ProductCategory,omitempty"` IsBargain bool `xml:"IsBargain,omitempty"` OriginalPriceEvidence string `xml:"OriginalPriceEvidence,omitempty"` Description string `xml:"Description,omitempty"` ReleaseDate string `xml:"ReleaseDate,omitempty"` JanCode string `xml:"JanCode,omitempty"` Image *InfoImage `xml:"Image,omitempty"` RelatedImages []InfoImage `xml:"RelatedImages,omitempty"` Review *InfoReview `xml:"Review,omitempty"` Price *InfoPrice `xml:"Price,omitempty"` PriceLabel *InfoPriceLabel `xml:"PriceLabel,omitempty"` ShipWeight float64 `xml:"ShipWeight,omitempty"` SaleLimit int64 `xml:"SaleLimit,omitempty"` Inventories *InfoInventories `xml:"Inventories,omitempty"` Point *InfoPoint `xml:"Point,omitempty"` Payment *InfoPayment `xml:"Payment,omitempty"` Shipping *InfoShipping `xml:"Shipping,omitempty"` Store *InfoStore `xml:"Store,omitempty"` Order string `xml:"Order,omitempty"` IsAdult int64 `xml:"IsAdult,omitempty"` IsCarBodySeller int64 `xml:"IsCarBodySeller,omitempty"` Availability string `xml:"Availability,omitempty"` }
type InfoInventories ¶
type InfoInventories struct {
Inventory []InfoInventory `xml:"Inventory"`
}
type InfoInventory ¶
type InfoItemCode ¶
type InfoItemCode struct {
Codes []InfoCode `xml:"Codes"`
}
type InfoMethod ¶
type InfoPayment ¶
type InfoPayment struct {
Method []InfoMethod `xml:"Method,omitempty"`
}
type InfoPoint ¶
type InfoPoint struct { Amount int64 `xml:"Amount,omitempty"` Times int64 `xml:"Times,omitempty"` PremiumAmount int64 `xml:"PremiumAmount,omitempty"` PremiumTimes int64 `xml:"PremiumTimes,omitempty"` PremiumCpAmount int64 `xml:"PremiumCpAmount,omitempty"` PremiumCpTimes int64 `xml:"PremiumCpTimes,omitempty"` AppCpAmount int64 `xml:"AppCpAmount,omitempty"` AppCpTimes int64 `xml:"AppCpTimes,omitempty"` PreAppCpAmount int64 `xml:"PreAppCpAmount,omitempty"` PreAppCpTimes int64 `xml:"PreAppCpTimes,omitempty"` }
type InfoPrefectures ¶
type InfoPrefectures struct {
Prefecture []InfoNode `xml:"Prefecture,omitempty"`
}
type InfoPriceLabel ¶
type InfoPriceLabel struct { TaxIncluded bool `xml:"taxIncluded,attr"` FixedPrice int64 `xml:FixedPrice,omitempty` DefaultPrice int64 `xml:DefaultPrice,omitempty` SalePrice int64 `xml:SalePrice,omitempty` MemberPrice int64 `xml:MemberPrice,omitempty` PeriodStart string `xml:PeriodStart,omitempty` PeriodEnd string `xml:PeriodEnd,omitempty` }
type InfoProductCategory ¶
type InfoProductCategory struct {
ID int64 `xml:"ID,omitempty"`
}
type InfoRatings ¶
type InfoResult ¶
type InfoResult struct { ItemCode *InfoItemCode `xml:"ItemCode,omitempty"` Hits []*InfoHit `xml:"Hit,omitempty"` }
type InfoResultSet ¶
type InfoResultSet struct { Attr_xmlns string `xml:"xmlns,attr"` Attr_xsi string `xml:"xmlns xsi,attr"` Attr_xsi_schemaLocation string `xml:"http://www.w3.org/2001/XMLSchema-instance schemaLocation,attr"` Attr_firstResultPosition string `xml:"firstResultPosition,attr"` Attr_totalResultsAvailable string `xml:"totalResultsAvailable,attr"` Attr_totalResultsReturned string `xml:"totalResultsReturned,attr"` Result *InfoResult `xml:"Result,omitempty"` }
type InfoReview ¶
type InfoShipping ¶
type InfoStore ¶
type InfoStore struct { Id string `xml:"Id,omitempty"` Name string `xml:"Name,omitempty"` Url string `xml:"Url,omitempty"` SellerType string `xml:"SellerType,omitempty"` InventoryMessage string `xml:"InventoryMessage,omitempty"` ToolType string `xml:"ToolType,omitempty"` Ratings *InfoRatings `xml:"Ratings,omitempty"` Image *InfoStoreImage `xml:"Image,omitempty"` Point *InfoStorePoint `xml:"Point,omitempty"` SameDayDelivery *InfoDelivery `xml:"SameDayDelivery,omitempty"` ExpressDelivery *InfoDelivery `xml:"ExpressDelivery,omitempty"` }
type InfoStoreImage ¶
type InfoStorePoint ¶
type RankReview ¶
type Ranking ¶
type Ranking struct { Rank int64 `xml:"rank,attr"` Vector string `xml:"vector,attr"` Type string `xml:"type,attr"` Name string `xml:"Name,omitempty"` Code string `xml:"Code,omitempty"` Url string `xml:"Url,omitempty"` Image *RankImage `xml:"Image,omitempty"` Review *RankReview `xml:"Review,omitempty"` Store *RankStore `xml:"Store,omitempty"` }
type RankingInfo ¶
type RankingInfo struct { LastModified string `xml:"LastModified,omitempty"` StartDate string `xml:"StartDate,omitempty"` EndDate string `xml:"EndDate,omitempty"` CategoryId int64 `xml:"CategoryId,omitempty"` Gender string `xml:"Gender,omitempty"` Generation string `xml:"Generation,omitempty"` Period string `xml:"Period,omitempty"` }
type RankingResult ¶
type RankingResult struct { RankingData []*Ranking `xml:"RankingData,omitempty"` RankingInfo *RankingInfo `xml:"RankingInfo,omitempty"` }
type RankingResultSet ¶
type RankingResultSet struct { Attr_firstResultPosition string `xml:"firstResultPosition,attr"` Attr_xsi_schemaLocation string `xml:"http://www.w3.org/2001/XMLSchema-instance schemaLocation,attr"` Attr_totalResultsAvailable string `xml:"totalResultsAvailable,attr"` Attr_totalResultsReturned string `xml:"totalResultsReturned,attr"` Attr_xmlns string `xml:"xmlns,attr"` Attr_xsi string `xml:"xmlns xsi,attr"` RankingResult *RankingResult `xml:"Result,omitempty"` }
type SearchResult ¶
type SearchResultSet ¶
type SearchResultSet struct { Attr_firstResultPosition string `xml:"firstResultPosition,attr"` Attr_xsi_schemaLocation string `xml:"http://www.w3.org/2001/XMLSchema-instance schemaLocation,attr"` Attr_totalResultsAvailable string `xml:"totalResultsAvailable,attr"` Attr_totalResultsReturned string `xml:"totalResultsReturned,attr"` Attr_xmlns string `xml:"xmlns,attr"` Attr_xsi string `xml:"xmlns xsi,attr"` SearchResult *SearchResult `xml:"Result,omitempty"` }
type SrchAffiliate ¶
type SrchAffiliate struct {
Rate float64 `xml:"Rate,omitempty"`
}
type SrchBrands ¶
type SrchCategory ¶
type SrchCategory struct {
Current *SrchNode `xml:"Current,omitempty"`
}
type SrchCategoryIdPath ¶
type SrchCategoryIdPath struct {
Category []SrchNode `xml:"Category,omitempty"`
}
type SrchDeliveryinfo ¶
type SrchExtImage ¶
type SrchMethod ¶
type SrchPayment ¶
type SrchPayment struct {
Method []SrchMethod `xml:"Method,omitempty"`
}
type SrchPriceLabel ¶
type SrchPriceLabel struct { Currency bool `xml:"currency,attr"` FixedPrice int64 `xml:FixedPrice,omitempty` DefaultPrice int64 `xml:DefaultPrice,omitempty` SalePrice int64 `xml:SalePrice,omitempty` PremiumPriceStatus int64 `xml:PremiumPriceStatus,omitempty` PremiumPrice int64 `xml:PremiumPrice,omitempty` PremiumDiscountType string `xml:PremiumDiscountType,omitempty` PremiumDiscountRate int64 `xml:PremiumDiscountRate,omitempty` PeriodStart string `xml:PeriodStart,omitempty` PeriodEnd string `xml:PeriodEnd,omitempty` }
type SrchRatings ¶
type SrchReview ¶
type SrchShipping ¶
type SrchStore ¶
type SrchStore struct { Id string `xml:"Id,omitempty"` Name string `xml:"Name,omitempty"` Url string `xml:"Url,omitempty"` IsBestStore string `xml:"IsBestStore,omitempty"` Payment *SrchPayment `xml:"Payment,omitempty"` Ratings *SrchRatings `xml:"Ratings,omitempty"` Image *StoreImage `xml:"Image,omitempty"` IsPMallStore bool `xml:"IsPMallStore,omitempty"` }
type StoreImage ¶
Click to show internal directories.
Click to hide internal directories.