Documentation
¶
Index ¶
- type AnyType
- type AnyURI
- type ArrayOfDecimal
- type ArrayOfImageLink
- type ArrayOfInt
- type ArrayOfNumberAttributeValue
- type ArrayOfString
- type ArrayOfTermAttributeValue
- type AttributeFilter
- type AttributeValues
- type AuthenticationHeader
- type CategoryCountRequest
- type CategoryCountResult
- type ConfigurationHeader
- type Error
- type ImageLink
- type NCName
- type NumberAttributeValue
- type Search
- type SearchAdvanced
- type SearchAdvancedRequest
- type SearchAdvancedResponse
- type SearchByFixedCriteria
- type SearchByFixedCriteriaRequest
- type SearchByFixedCriteriaResponse
- type SearchByZipCode
- type SearchByZipCodeRequest
- type SearchByZipCodeResponse
- type SearchCategory
- type SearchCategoryCount
- type SearchCategoryCountResponse
- type SearchItem
- type SearchResponse
- type SearchResult
- type SearchServiceHttpGet
- type SearchServiceHttpPost
- type SearchServiceSoap
- type TermAttributeValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayOfDecimal ¶
type ArrayOfDecimal struct {
Decimal []float64 `xml:"decimal,omitempty" json:"decimal,omitempty"`
}
type ArrayOfImageLink ¶
type ArrayOfImageLink struct {
ImageLink []*ImageLink `xml:"ImageLink,omitempty" json:"ImageLink,omitempty"`
}
type ArrayOfInt ¶
type ArrayOfInt struct {
// contains filtered or unexported fields
}
type ArrayOfNumberAttributeValue ¶
type ArrayOfNumberAttributeValue struct {
NumberAttributeValue []*NumberAttributeValue `xml:"NumberAttributeValue,omitempty" json:"NumberAttributeValue,omitempty"`
}
type ArrayOfString ¶
type ArrayOfString struct {
Astring []*string `xml:"string,omitempty" json:"string,omitempty"`
}
type ArrayOfTermAttributeValue ¶
type ArrayOfTermAttributeValue struct {
TermAttributeValue []*TermAttributeValue `xml:"TermAttributeValue,omitempty" json:"TermAttributeValue,omitempty"`
}
type AttributeFilter ¶
type AttributeValues ¶
type AttributeValues struct {
TermAttributeValues *ArrayOfTermAttributeValue `xml:"TermAttributeValues,omitempty" json:"TermAttributeValues,omitempty"`
NumberAttributeValues *ArrayOfNumberAttributeValue `xml:"NumberAttributeValues,omitempty" json:"NumberAttributeValues,omitempty"`
}
type AuthenticationHeader ¶
type CategoryCountRequest ¶
type CategoryCountRequest struct {
CategoryId int32 `xml:"CategoryId,omitempty" json:"CategoryId,omitempty"`
Alias string `xml:"Alias,omitempty" json:"Alias,omitempty"`
CountyId int32 `xml:"CountyId,omitempty" json:"CountyId,omitempty"`
SearchInDescription bool `xml:"SearchInDescription,omitempty" json:"SearchInDescription,omitempty"`
ItemCondition string `xml:"ItemCondition,omitempty" json:"ItemCondition,omitempty"`
ZipCode string `xml:"ZipCode,omitempty" json:"ZipCode,omitempty"`
SearchWords string `xml:"SearchWords,omitempty" json:"SearchWords,omitempty"`
PageNumber int32 `xml:"PageNumber,omitempty" json:"PageNumber,omitempty"`
OnlyItemsWithThumbnail bool `xml:"OnlyItemsWithThumbnail,omitempty" json:"OnlyItemsWithThumbnail,omitempty"`
OnlyAuctionsWithBuyNow bool `xml:"OnlyAuctionsWithBuyNow,omitempty" json:"OnlyAuctionsWithBuyNow,omitempty"`
Mode string `xml:"Mode,omitempty" json:"Mode,omitempty"`
PriceMinimum *int32 `xml:"PriceMinimum,omitempty" json:"PriceMinimum,omitempty"`
PriceMaximum *int32 `xml:"PriceMaximum,omitempty" json:"PriceMaximum,omitempty"`
BidsMinimum *int32 `xml:"BidsMinimum,omitempty" json:"BidsMinimum,omitempty"`
BidsMaximum *int32 `xml:"BidsMaximum,omitempty" json:"BidsMaximum,omitempty"`
ItemStatus string `xml:"ItemStatus,omitempty" json:"ItemStatus,omitempty"`
ItemType string `xml:"ItemType,omitempty" json:"ItemType,omitempty"`
SellerType string `xml:"SellerType,omitempty" json:"SellerType,omitempty"`
}
type CategoryCountResult ¶
type CategoryCountResult struct {
Categories []*SearchCategory `xml:"Categories,omitempty" json:"Categories,omitempty"`
Errors []*Error `xml:"Errors,omitempty" json:"Errors,omitempty"`
}
type ConfigurationHeader ¶
type NumberAttributeValue ¶
type NumberAttributeValue struct {
Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`
Name string `xml:"Name,omitempty" json:"Name,omitempty"`
Values *ArrayOfDecimal `xml:"Values,omitempty" json:"Values,omitempty"`
}
type Search ¶
type Search struct {
XMLName xml.Name `xml:"http://api.tradera.com Search"`
Query string `xml:"query,omitempty" json:"query,omitempty"`
CategoryId int32 `xml:"categoryId,omitempty" json:"categoryId,omitempty"`
PageNumber int32 `xml:"pageNumber,omitempty" json:"pageNumber,omitempty"`
OrderBy string `xml:"orderBy,omitempty" json:"orderBy,omitempty"`
}
type SearchAdvanced ¶
type SearchAdvanced struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchAdvanced"`
Request *SearchAdvancedRequest `xml:"request,omitempty" json:"request,omitempty"`
}
type SearchAdvancedRequest ¶
type SearchAdvancedRequest struct {
SearchWords string `xml:"SearchWords,omitempty" json:"SearchWords,omitempty"`
CategoryId int32 `xml:"CategoryId,omitempty" json:"CategoryId,omitempty"`
SearchInDescription bool `xml:"SearchInDescription,omitempty" json:"SearchInDescription,omitempty"`
Mode string `xml:"Mode,omitempty" json:"Mode,omitempty"`
PriceMinimum *int32 `xml:"PriceMinimum,omitempty" json:"PriceMinimum,omitempty"`
PriceMaximum *int32 `xml:"PriceMaximum,omitempty" json:"PriceMaximum,omitempty"`
BidsMinimum *int32 `xml:"BidsMinimum,omitempty" json:"BidsMinimum,omitempty"`
BidsMaximum *int32 `xml:"BidsMaximum,omitempty" json:"BidsMaximum,omitempty"`
ZipCode string `xml:"ZipCode,omitempty" json:"ZipCode,omitempty"`
CountyId int32 `xml:"CountyId,omitempty" json:"CountyId,omitempty"`
Alias string `xml:"Alias,omitempty" json:"Alias,omitempty"`
OrderBy string `xml:"OrderBy,omitempty" json:"OrderBy,omitempty"`
ItemStatus string `xml:"ItemStatus,omitempty" json:"ItemStatus,omitempty"`
ItemType string `xml:"ItemType,omitempty" json:"ItemType,omitempty"`
OnlyAuctionsWithBuyNow bool `xml:"OnlyAuctionsWithBuyNow,omitempty" json:"OnlyAuctionsWithBuyNow,omitempty"`
OnlyItemsWithThumbnail bool `xml:"OnlyItemsWithThumbnail,omitempty" json:"OnlyItemsWithThumbnail,omitempty"`
ItemsPerPage int32 `xml:"ItemsPerPage,omitempty" json:"ItemsPerPage,omitempty"`
PageNumber int32 `xml:"PageNumber,omitempty" json:"PageNumber,omitempty"`
ItemCondition string `xml:"ItemCondition,omitempty" json:"ItemCondition,omitempty"`
SellerType string `xml:"SellerType,omitempty" json:"SellerType,omitempty"`
Brands *ArrayOfString `xml:"Brands,omitempty" json:"Brands,omitempty"`
CampaignCodeIds *ArrayOfInt `xml:"CampaignCodeIds,omitempty" json:"CampaignCodeIds,omitempty"`
Attributes []*AttributeFilter `xml:"Attributes,omitempty" json:"Attributes,omitempty"`
}
type SearchAdvancedResponse ¶
type SearchAdvancedResponse struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchAdvancedResponse"`
SearchAdvancedResult *SearchResult `xml:"SearchAdvancedResult,omitempty" json:"SearchAdvancedResult,omitempty"`
}
type SearchByFixedCriteria ¶
type SearchByFixedCriteria struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchByFixedCriteria"`
Request *SearchByFixedCriteriaRequest `xml:"request,omitempty" json:"request,omitempty"`
}
type SearchByFixedCriteriaRequest ¶
type SearchByFixedCriteriaRequest struct {
Name string `xml:"Name,omitempty" json:"Name,omitempty"`
PageNumber int32 `xml:"PageNumber,omitempty" json:"PageNumber,omitempty"`
ItemType string `xml:"ItemType,omitempty" json:"ItemType,omitempty"`
OrderBy string `xml:"OrderBy,omitempty" json:"OrderBy,omitempty"`
}
type SearchByFixedCriteriaResponse ¶
type SearchByFixedCriteriaResponse struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchByFixedCriteriaResponse"`
SearchByFixedCriteriaResult *SearchResult `xml:"SearchByFixedCriteriaResult,omitempty" json:"SearchByFixedCriteriaResult,omitempty"`
}
type SearchByZipCode ¶
type SearchByZipCode struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchByZipCode"`
Request *SearchByZipCodeRequest `xml:"request,omitempty" json:"request,omitempty"`
}
type SearchByZipCodeRequest ¶
type SearchByZipCodeResponse ¶
type SearchByZipCodeResponse struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchByZipCodeResponse"`
SearchByZipCodeResult *SearchResult `xml:"SearchByZipCodeResult,omitempty" json:"SearchByZipCodeResult,omitempty"`
}
type SearchCategory ¶
type SearchCategory struct {
Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`
Name string `xml:"Name,omitempty" json:"Name,omitempty"`
NoOfItemsInCategory int32 `xml:"NoOfItemsInCategory,omitempty" json:"NoOfItemsInCategory,omitempty"`
NoOfItemsInCategoryIncludingChildren int32 `xml:"NoOfItemsInCategoryIncludingChildren,omitempty" json:"NoOfItemsInCategoryIncludingChildren,omitempty"`
ChildCategories []*SearchCategory `xml:"ChildCategories,omitempty" json:"ChildCategories,omitempty"`
}
type SearchCategoryCount ¶
type SearchCategoryCount struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchCategoryCount"`
Request *CategoryCountRequest `xml:"request,omitempty" json:"request,omitempty"`
}
type SearchCategoryCountResponse ¶
type SearchCategoryCountResponse struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchCategoryCountResponse"`
SearchCategoryCountResult *CategoryCountResult `xml:"SearchCategoryCountResult,omitempty" json:"SearchCategoryCountResult,omitempty"`
}
type SearchItem ¶
type SearchItem struct {
Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`
ShortDescription string `xml:"ShortDescription,omitempty" json:"ShortDescription,omitempty"`
BuyItNowPrice *int32 `xml:"BuyItNowPrice,omitempty" json:"BuyItNowPrice,omitempty"`
SellerId int32 `xml:"SellerId,omitempty" json:"SellerId,omitempty"`
SellerAlias string `xml:"SellerAlias,omitempty" json:"SellerAlias,omitempty"`
MaxBid *int32 `xml:"MaxBid,omitempty" json:"MaxBid,omitempty"`
ThumbnailLink string `xml:"ThumbnailLink,omitempty" json:"ThumbnailLink,omitempty"`
SellerDsrAverage float64 `xml:"SellerDsrAverage,omitempty" json:"SellerDsrAverage,omitempty"`
EndDate soap.XSDDateTime `xml:"EndDate,omitempty" json:"EndDate,omitempty"`
NextBid *int32 `xml:"NextBid,omitempty" json:"NextBid,omitempty"`
HasBids bool `xml:"HasBids,omitempty" json:"HasBids,omitempty"`
IsEnded bool `xml:"IsEnded,omitempty" json:"IsEnded,omitempty"`
ItemType string `xml:"ItemType,omitempty" json:"ItemType,omitempty"`
ItemUrl string `xml:"ItemUrl,omitempty" json:"ItemUrl,omitempty"`
CategoryId int32 `xml:"CategoryId,omitempty" json:"CategoryId,omitempty"`
BidCount int32 `xml:"BidCount,omitempty" json:"BidCount,omitempty"`
ImageLinks *ArrayOfImageLink `xml:"ImageLinks,omitempty" json:"ImageLinks,omitempty"`
AttributeValues *AttributeValues `xml:"AttributeValues,omitempty" json:"AttributeValues,omitempty"`
LongDescription string `xml:"LongDescription,omitempty" json:"LongDescription,omitempty"`
}
type SearchResponse ¶
type SearchResponse struct {
XMLName xml.Name `xml:"http://api.tradera.com SearchResponse"`
SearchResult *SearchResult `xml:"SearchResult,omitempty" json:"SearchResult,omitempty"`
}
type SearchResult ¶
type SearchResult struct {
TotalNumberOfItems int32 `xml:"TotalNumberOfItems,omitempty" json:"TotalNumberOfItems,omitempty"`
TotalNumberOfPages int32 `xml:"TotalNumberOfPages,omitempty" json:"TotalNumberOfPages,omitempty"`
Items []*SearchItem `xml:"Items,omitempty" json:"Items,omitempty"`
Errors []*Error `xml:"Errors,omitempty" json:"Errors,omitempty"`
}
type SearchServiceHttpGet ¶
type SearchServiceHttpGet interface {
Search(request *string) (*SearchResult, error)
SearchContext(ctx context.Context, request *string) (*SearchResult, error)
}
func NewSearchServiceHttpGet ¶
func NewSearchServiceHttpGet(client *soap.Client) SearchServiceHttpGet
type SearchServiceHttpPost ¶
type SearchServiceHttpPost interface {
Search(request *string) (*SearchResult, error)
SearchContext(ctx context.Context, request *string) (*SearchResult, error)
}
func NewSearchServiceHttpPost ¶
func NewSearchServiceHttpPost(client *soap.Client) SearchServiceHttpPost
type SearchServiceSoap ¶
type SearchServiceSoap interface {
Search(request *Search) (*SearchResponse, error)
SearchContext(ctx context.Context, request *Search) (*SearchResponse, error)
SearchAdvanced(request *SearchAdvanced) (*SearchAdvancedResponse, error)
SearchAdvancedContext(ctx context.Context, request *SearchAdvanced) (*SearchAdvancedResponse, error)
SearchCategoryCount(request *SearchCategoryCount) (*SearchCategoryCountResponse, error)
SearchCategoryCountContext(ctx context.Context, request *SearchCategoryCount) (*SearchCategoryCountResponse, error)
SearchByFixedCriteria(request *SearchByFixedCriteria) (*SearchByFixedCriteriaResponse, error)
SearchByFixedCriteriaContext(ctx context.Context, request *SearchByFixedCriteria) (*SearchByFixedCriteriaResponse, error)
SearchByZipCode(request *SearchByZipCode) (*SearchByZipCodeResponse, error)
SearchByZipCodeContext(ctx context.Context, request *SearchByZipCode) (*SearchByZipCodeResponse, error)
}
func NewSearchServiceSoap ¶
func NewSearchServiceSoap(client *soap.Client) SearchServiceSoap
type TermAttributeValue ¶
type TermAttributeValue struct {
Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`
Name string `xml:"Name,omitempty" json:"Name,omitempty"`
Values *ArrayOfString `xml:"Values,omitempty" json:"Values,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.