Categorygithub.com/uapl/ebay-buy-browse-go
modulepackage
0.0.0-20250102011650-b0eb337367f5
Repository: https://github.com/uapl/ebay-buy-browse-go.git
Documentation: pkg.go.dev

# README

Go API client for buybrowse

The Browse API has the following resources:

  • item_summary:
    Allows shoppers to search for specific items by keyword, GTIN, category, charity, product, image, or item aspects and refine the results by using filters, such as aspects, compatibility, and fields values, or UI parameters.
  • item:
    Allows shoppers to retrieve the details of a specific item or all items in an item group, which is an item with variations such as color and size and check if a product is compatible with the specified item, such as if a specific car is compatible with a specific part.

    This resource also provides a bridge between the eBay legacy APIs, such as the <a href="/api-docs/user-guides/static/finding-user-guide-landing.html" target="_blank">Finding, and the RESTful APIs, which use different formats for the item IDs.
The item_summary, search_by_image, and item resource calls require an <a href="/api-docs/static/oauth-client-credentials-grant.html" target="_blank">Application access token.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v1.19.9
  • Package version: 1.0.0
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import buybrowse "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value buybrowse.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), buybrowse.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value buybrowse.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), buybrowse.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using buybrowse.ContextOperationServerIndices and buybrowse.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), buybrowse.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), buybrowse.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.ebay.com/buy/browse/v1

ClassMethodHTTP requestDescription
ItemAPICheckCompatibilityPost /item/{item_id}/check_compatibility
ItemAPIGetItemGet /item/{item_id}
ItemAPIGetItemByLegacyIdGet /item/get_item_by_legacy_id
ItemAPIGetItemsGet /item/
ItemAPIGetItemsByItemGroupGet /item/get_items_by_item_group
ItemSummaryAPISearchGet /item_summary/search
ItemSummaryAPISearchByImagePost /item_summary/search_by_image

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

api_auth

Example

auth := context.WithValue(context.Background(), buybrowse.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, buybrowse.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

# Packages

No description provided by the author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAddCartItemInput instantiates a new AddCartItemInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAddCartItemInputWithDefaults instantiates a new AddCartItemInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAdditionalProductIdentity instantiates a new AdditionalProductIdentity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAdditionalProductIdentityWithDefaults instantiates a new AdditionalProductIdentity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAddonService instantiates a new AddonService object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAddonServiceWithDefaults instantiates a new AddonService object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAddress instantiates a new Address object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAddressWithDefaults instantiates a new Address object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAmount instantiates a new Amount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAmountWithDefaults instantiates a new Amount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewAspect instantiates a new Aspect object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAspectDistribution instantiates a new AspectDistribution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAspectDistributionWithDefaults instantiates a new AspectDistribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAspectGroup instantiates a new AspectGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAspectGroupWithDefaults instantiates a new AspectGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAspectValueDistribution instantiates a new AspectValueDistribution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAspectValueDistributionWithDefaults instantiates a new AspectValueDistribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAspectWithDefaults instantiates a new Aspect object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAttributeNameValue instantiates a new AttributeNameValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAttributeNameValueWithDefaults instantiates a new AttributeNameValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAuthenticityGuaranteeProgram instantiates a new AuthenticityGuaranteeProgram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAuthenticityGuaranteeProgramWithDefaults instantiates a new AuthenticityGuaranteeProgram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAuthenticityVerificationProgram instantiates a new AuthenticityVerificationProgram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAuthenticityVerificationProgramWithDefaults instantiates a new AuthenticityVerificationProgram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAutoCorrections instantiates a new AutoCorrections object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAutoCorrectionsWithDefaults instantiates a new AutoCorrections object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAvailableCoupon instantiates a new AvailableCoupon object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAvailableCouponWithDefaults instantiates a new AvailableCoupon object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewBuyingOptionDistribution instantiates a new BuyingOptionDistribution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewBuyingOptionDistributionWithDefaults instantiates a new BuyingOptionDistribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCartItem instantiates a new CartItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCartItemWithDefaults instantiates a new CartItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCategory instantiates a new Category object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCategoryDistribution instantiates a new CategoryDistribution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCategoryDistributionWithDefaults instantiates a new CategoryDistribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCategoryWithDefaults instantiates a new Category object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCommonDescriptions instantiates a new CommonDescriptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCommonDescriptionsWithDefaults instantiates a new CommonDescriptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCompanyAddress instantiates a new CompanyAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCompanyAddressWithDefaults instantiates a new CompanyAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCompatibilityPayload instantiates a new CompatibilityPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCompatibilityPayloadWithDefaults instantiates a new CompatibilityPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCompatibilityProperty instantiates a new CompatibilityProperty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCompatibilityPropertyWithDefaults instantiates a new CompatibilityProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCompatibilityResponse instantiates a new CompatibilityResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCompatibilityResponseWithDefaults instantiates a new CompatibilityResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConditionDescriptor instantiates a new ConditionDescriptor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewConditionDescriptorValue instantiates a new ConditionDescriptorValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewConditionDescriptorValueWithDefaults instantiates a new ConditionDescriptorValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConditionDescriptorWithDefaults instantiates a new ConditionDescriptor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConditionDistribution instantiates a new ConditionDistribution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewConditionDistributionWithDefaults instantiates a new ConditionDistribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewConfiguration returns a new Configuration object.
NewConvertedAmount instantiates a new ConvertedAmount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewConvertedAmountWithDefaults instantiates a new ConvertedAmount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCoreItem instantiates a new CoreItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCoreItemWithDefaults instantiates a new CoreItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCouponConstraint instantiates a new CouponConstraint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCouponConstraintWithDefaults instantiates a new CouponConstraint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEconomicOperator instantiates a new EconomicOperator object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEconomicOperatorWithDefaults instantiates a new EconomicOperator object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorParameter instantiates a new ErrorParameter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorParameterWithDefaults instantiates a new ErrorParameter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEstimatedAvailability instantiates a new EstimatedAvailability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEstimatedAvailabilityWithDefaults instantiates a new EstimatedAvailability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewHazardousMaterialsLabels instantiates a new HazardousMaterialsLabels object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewHazardousMaterialsLabelsWithDefaults instantiates a new HazardousMaterialsLabels object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewHazardPictogram instantiates a new HazardPictogram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewHazardPictogramWithDefaults instantiates a new HazardPictogram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewHazardStatement instantiates a new HazardStatement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewHazardStatementWithDefaults instantiates a new HazardStatement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewImage instantiates a new Image object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewImageWithDefaults instantiates a new Image object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewItem instantiates a new Item object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewItemGroup instantiates a new ItemGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewItemGroupSummary instantiates a new ItemGroupSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewItemGroupSummaryWithDefaults instantiates a new ItemGroupSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewItemGroupWithDefaults instantiates a new ItemGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewItemLocationImpl instantiates a new ItemLocationImpl object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewItemLocationImplWithDefaults instantiates a new ItemLocationImpl object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewItemReturnTerms instantiates a new ItemReturnTerms object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewItemReturnTermsWithDefaults instantiates a new ItemReturnTerms object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewItems instantiates a new Items object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewItemSummary instantiates a new ItemSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewItemSummaryWithDefaults instantiates a new ItemSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewItemsWithDefaults instantiates a new Items object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewItemWithDefaults instantiates a new Item object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewLegalAddress instantiates a new LegalAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewLegalAddressWithDefaults instantiates a new LegalAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewMarketingPrice instantiates a new MarketingPrice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewMarketingPriceWithDefaults instantiates a new MarketingPrice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPaymentMethod instantiates a new PaymentMethod object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentMethodBrand instantiates a new PaymentMethodBrand object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPaymentMethodBrandWithDefaults instantiates a new PaymentMethodBrand object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPaymentMethodWithDefaults instantiates a new PaymentMethod object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPickupOptionSummary instantiates a new PickupOptionSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPickupOptionSummaryWithDefaults instantiates a new PickupOptionSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewPrice instantiates a new Price object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewPriceWithDefaults instantiates a new Price object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProduct instantiates a new Product object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProductIdentity instantiates a new ProductIdentity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProductIdentityWithDefaults instantiates a new ProductIdentity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProductSafetyLabelPictogram instantiates a new ProductSafetyLabelPictogram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProductSafetyLabelPictogramWithDefaults instantiates a new ProductSafetyLabelPictogram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProductSafetyLabels instantiates a new ProductSafetyLabels object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProductSafetyLabelStatement instantiates a new ProductSafetyLabelStatement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewProductSafetyLabelStatementWithDefaults instantiates a new ProductSafetyLabelStatement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProductSafetyLabelsWithDefaults instantiates a new ProductSafetyLabels object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewProductWithDefaults instantiates a new Product object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRatingHistogram instantiates a new RatingHistogram object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRatingHistogramWithDefaults instantiates a new RatingHistogram object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRefinement instantiates a new Refinement object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRefinementWithDefaults instantiates a new Refinement object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRegion instantiates a new Region object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRegionWithDefaults instantiates a new Region object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRemoteShopcartResponse instantiates a new RemoteShopcartResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRemoteShopcartResponseWithDefaults instantiates a new RemoteShopcartResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewRemoveCartItemInput instantiates a new RemoveCartItemInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewRemoveCartItemInputWithDefaults instantiates a new RemoveCartItemInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewResponsiblePerson instantiates a new ResponsiblePerson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewResponsiblePersonWithDefaults instantiates a new ResponsiblePerson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReviewRating instantiates a new ReviewRating object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReviewRatingWithDefaults instantiates a new ReviewRating object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSearchByImageRequest instantiates a new SearchByImageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSearchByImageRequestWithDefaults instantiates a new SearchByImageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSearchPagedCollection instantiates a new SearchPagedCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSearchPagedCollectionWithDefaults instantiates a new SearchPagedCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSeller instantiates a new Seller object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSellerCustomPolicy instantiates a new SellerCustomPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSellerCustomPolicyWithDefaults instantiates a new SellerCustomPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSellerDetail instantiates a new SellerDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSellerDetailWithDefaults instantiates a new SellerDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSellerLegalInfo instantiates a new SellerLegalInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewSellerLegalInfoWithDefaults instantiates a new SellerLegalInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewSellerWithDefaults instantiates a new Seller object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewShippingOption instantiates a new ShippingOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewShippingOptionSummary instantiates a new ShippingOptionSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewShippingOptionSummaryWithDefaults instantiates a new ShippingOptionSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewShippingOptionWithDefaults instantiates a new ShippingOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewShipToLocation instantiates a new ShipToLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewShipToLocations instantiates a new ShipToLocations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewShipToLocationsWithDefaults instantiates a new ShipToLocations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewShipToLocationWithDefaults instantiates a new ShipToLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewShipToRegion instantiates a new ShipToRegion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewShipToRegionWithDefaults instantiates a new ShipToRegion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTargetLocation instantiates a new TargetLocation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTargetLocationWithDefaults instantiates a new TargetLocation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTaxes instantiates a new Taxes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTaxesWithDefaults instantiates a new Taxes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTaxJurisdiction instantiates a new TaxJurisdiction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTaxJurisdictionWithDefaults instantiates a new TaxJurisdiction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTimeDuration instantiates a new TimeDuration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTimeDurationWithDefaults instantiates a new TimeDuration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTypedNameValue instantiates a new TypedNameValue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTypedNameValueWithDefaults instantiates a new TypedNameValue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateCartItemInput instantiates a new UpdateCartItemInput object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateCartItemInputWithDefaults instantiates a new UpdateCartItemInput object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewVatDetail instantiates a new VatDetail object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewVatDetailWithDefaults instantiates a new VatDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Variables

ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.
No description provided by the author
No description provided by the author

# Structs

AddCartItemInput The type that defines the fields for the <b>addItems</b> request.
AdditionalProductIdentity The type that defines the array of product identifiers associated with the item.
AddonService This container describes an add-on service that may be selected for an item or that may apply automatically.
Address The type that defines the fields for an address.
Amount struct for Amount.
No description provided by the author
No description provided by the author
APIClient manages communication with the Browse API API vv1.19.9 In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Aspect The type that defines the fields for the name/value pairs for the aspects of the product.
AspectDistribution The type that define the fields for the aspect information.
AspectGroup struct for AspectGroup.
AspectValueDistribution The container that defines the fields for the conditions refinements.
AttributeNameValue The type the defines attribute name/value pair fields that specify a product.
AuthenticityGuaranteeProgram A type that identifies whether the item is qualified for the Authenticity Guarantee program.
AuthenticityVerificationProgram A type that identifies whether the item is from a verified seller.
AutoCorrections struct for AutoCorrections.
AvailableCoupon struct for AvailableCoupon.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
BuyingOptionDistribution The container that defines the fields for the buying options refinements.
CartItem The type that defines the fields for the individual items in a cart.
Category This type is used by the <code>categories</code> container in the response of the <b>search</b> method, and contains the name and ID of the item category.
CategoryDistribution The container that defines the fields for the category refinements.
CommonDescriptions The type that defines the fields for the <code>item_id</code> values that all use a common description.
CompanyAddress This type is used to provide contact information for the manufacturer of the product.
CompatibilityPayload An array of attribute name/value pairs used to define a specific product.
CompatibilityProperty This container returns the product attribute name/value pairs that are compatible with the keyword.
CompatibilityResponse The type that defines the response fields for <b> checkCompatibility</b>.
ConditionDescriptor This type displays additional information about the condition of an item in a structured format.
ConditionDescriptorValue This type displays the value(s) associated with the specified condition descriptor name, as well as any additional information about a condition descriptor.
ConditionDistribution The container that defines the fields for the conditions refinements.
Configuration stores the configuration of the API client.
ConvertedAmount This type defines the monetary value of an amount.
CoreItem An array of containers with the details for all of the items returned.
CouponConstraint This type is used to provide the expiration date of a coded coupon.
EconomicOperator The type that provides required Economic Operator information about the manufacturer and/or supplier of the item.
Error The type that defines the fields that can be returned in an error.
ErrorParameter An array of name/value pairs that provide details regarding the error.
EstimatedAvailability The type that defines the fields for the estimated item availability information.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
HazardousMaterialsLabels A type that defines the hazardous materials labels for an item.
HazardPictogram A type that defines the pictogram for the type of hazard that a hazardous material represents.
HazardStatement A type that defines the hazard statement for a hazardous material.
Image Type that defines the details of an image, such as size and image URL.
Item The details of an item that can be purchased.
ItemGroup The type that defines the fields for the item details.
ItemGroupSummary The type that defines the fields for the details of each item in an item group.
ItemLocationImpl The type that defines the fields for the location of an item, such as information typically used for an address, including postal code, county, state/province, street address, city, and country (2-digit ISO code).
ItemReturnTerms The type that defines the fields for the seller's return policy.
Items Container for a list of items.
ItemSummary The type that defines the fields for the details of a specific item.
LegalAddress Type that defines the fields for the seller's address.
MarketingPrice The type that defines the fields that describe a seller discount.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PaymentMethod struct for PaymentMethod.
PaymentMethodBrand struct for PaymentMethodBrand.
PickupOptionSummary The type that defines the fields for the local pickup options that are available for the item.
Price The type that defines the fields for the monetary value and currency of the price of the item.
Product The type that defines the fields for the product information of the item.
ProductIdentity The type that defines the fields for the product identifier type/value pairs of product associated with an item.
ProductSafetyLabelPictogram This type is used to provide product safety pictogram(s) for the listing.
ProductSafetyLabels This type contains seller provided product safety pictograms and statements for the listing.
ProductSafetyLabelStatement This type is used to describe the seller provided product safety label statement.
RatingHistogram The type that defines the fields for product ratings.
Refinement This type defines the fields for the various refinements of an item.
Region This type is used to provide region details for a tax jurisdiction.
RemoteShopcartResponse The type that defines the fields and containers for the member's eBay cart information.
RemoveCartItemInput The type that defines the fields for the <b>removeItem</b> request.
ResponsiblePerson This type provides information, such as name and contact details, for an EU-based Responsible Person or entity, associated with the product.
ReviewRating The type that defines the fields for the rating of a product review.
SearchByImageRequest The type that defines the fields for the image information.
SearchPagedCollection The type that defines the fields for a paginated result set.
Seller The type that defines the fields for basic information about the seller of the item returned by the <code>item_summary</code> resource.
SellerCustomPolicy The container for custom policies that apply to a listed item.
SellerDetail The type that defines the fields for basic and detailed information about the seller of the item returned by the <b> item</b> resource.
SellerLegalInfo The type that defines the fields for the contact information for a seller.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
ShippingOption The type that defines the fields for the details of a shipping provider.
ShippingOptionSummary The type that defines the fields for the shipping information.
ShipToLocation The type that defines the fields for the country and postal code of where an item is to be shipped.
ShipToLocations The type that defines the fields that include and exclude geographic regions affecting where the item can be shipped.
ShipToRegion This type is used provide details about included and excluded shipping regions.
TargetLocation The type that defines the fields for the distance between the item location and the buyer's location.
Taxes The type that defines the tax fields.
TaxJurisdiction The type that defines the fields for the tax jurisdiction details.
TimeDuration The type that defines the fields for a period of time in the time-measurement units supplied.
TypedNameValue The type that defines the fields for the name/value pairs for item aspects.
UpdateCartItemInput The type that defines the fields for the <b>updateQuantity</b> request.
VatDetail The type the defines the fields for the VAT (value add tax) information.

# Interfaces

No description provided by the author

# Type aliases

ItemAPIService ItemAPI service.
ItemSummaryAPIService ItemSummaryAPI service.
SearchByImageApiService SearchByImageApi service.
ServerConfigurations stores multiple ServerConfiguration items.
ShoppingCartApiService ShoppingCartApi service.