Documentation
¶
Index ¶
- Constants
- type ASINIdentifier
- type Asin
- type AttributeSetList
- type BatchOffersRequestParams
- func (m *BatchOffersRequestParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BatchOffersRequestParams) MarshalBinary() ([]byte, error)
- func (m *BatchOffersRequestParams) UnmarshalBinary(b []byte) error
- func (m *BatchOffersRequestParams) Validate(formats strfmt.Registry) error
- type BatchOffersResponse
- type BatchRequest
- type BuyBoxEligibleOffers
- type BuyBoxPriceType
- type BuyBoxPrices
- type CompetitivePriceList
- type CompetitivePriceType
- type CompetitivePricingType
- func (m *CompetitivePricingType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CompetitivePricingType) MarshalBinary() ([]byte, error)
- func (m *CompetitivePricingType) UnmarshalBinary(b []byte) error
- func (m *CompetitivePricingType) Validate(formats strfmt.Registry) error
- type ConditionType
- type CustomerType
- type DetailedShippingTimeType
- func (m *DetailedShippingTimeType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DetailedShippingTimeType) MarshalBinary() ([]byte, error)
- func (m *DetailedShippingTimeType) UnmarshalBinary(b []byte) error
- func (m *DetailedShippingTimeType) Validate(formats strfmt.Registry) error
- type Error
- type ErrorList
- type Errors
- type FulfillmentChannelType
- type GetItemOffersBatchRequest
- func (m *GetItemOffersBatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetItemOffersBatchRequest) MarshalBinary() ([]byte, error)
- func (m *GetItemOffersBatchRequest) UnmarshalBinary(b []byte) error
- func (m *GetItemOffersBatchRequest) Validate(formats strfmt.Registry) error
- type GetItemOffersBatchResponse
- func (m *GetItemOffersBatchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetItemOffersBatchResponse) MarshalBinary() ([]byte, error)
- func (m *GetItemOffersBatchResponse) UnmarshalBinary(b []byte) error
- func (m *GetItemOffersBatchResponse) Validate(formats strfmt.Registry) error
- type GetListingOffersBatchRequest
- func (m *GetListingOffersBatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetListingOffersBatchRequest) MarshalBinary() ([]byte, error)
- func (m *GetListingOffersBatchRequest) UnmarshalBinary(b []byte) error
- func (m *GetListingOffersBatchRequest) Validate(formats strfmt.Registry) error
- type GetListingOffersBatchResponse
- func (m *GetListingOffersBatchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetListingOffersBatchResponse) MarshalBinary() ([]byte, error)
- func (m *GetListingOffersBatchResponse) UnmarshalBinary(b []byte) error
- func (m *GetListingOffersBatchResponse) Validate(formats strfmt.Registry) error
- type GetOffersHTTPStatusLine
- func (m *GetOffersHTTPStatusLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetOffersHTTPStatusLine) MarshalBinary() ([]byte, error)
- func (m *GetOffersHTTPStatusLine) UnmarshalBinary(b []byte) error
- func (m *GetOffersHTTPStatusLine) Validate(formats strfmt.Registry) error
- type GetOffersResponse
- type GetOffersResult
- type GetPricingResponse
- type HTTPMethod
- type HTTPRequestHeaders
- type HTTPResponseHeaders
- func (m *HTTPResponseHeaders) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HTTPResponseHeaders) MarshalBinary() ([]byte, error)
- func (m HTTPResponseHeaders) MarshalJSON() ([]byte, error)
- func (m *HTTPResponseHeaders) UnmarshalBinary(b []byte) error
- func (m *HTTPResponseHeaders) UnmarshalJSON(data []byte) error
- func (m *HTTPResponseHeaders) Validate(formats strfmt.Registry) error
- type HTTPURI
- type IdentifierType
- type ItemCondition
- type ItemIdentifier
- type ItemOffersRequest
- func (m *ItemOffersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ItemOffersRequest) MarshalBinary() ([]byte, error)
- func (m ItemOffersRequest) MarshalJSON() ([]byte, error)
- func (m *ItemOffersRequest) UnmarshalBinary(b []byte) error
- func (m *ItemOffersRequest) UnmarshalJSON(raw []byte) error
- func (m *ItemOffersRequest) Validate(formats strfmt.Registry) error
- type ItemOffersRequestList
- type ItemOffersRequestParams
- func (m *ItemOffersRequestParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ItemOffersRequestParams) MarshalBinary() ([]byte, error)
- func (m ItemOffersRequestParams) MarshalJSON() ([]byte, error)
- func (m *ItemOffersRequestParams) UnmarshalBinary(b []byte) error
- func (m *ItemOffersRequestParams) UnmarshalJSON(raw []byte) error
- func (m *ItemOffersRequestParams) Validate(formats strfmt.Registry) error
- type ItemOffersResponse
- func (m *ItemOffersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ItemOffersResponse) MarshalBinary() ([]byte, error)
- func (m ItemOffersResponse) MarshalJSON() ([]byte, error)
- func (m *ItemOffersResponse) UnmarshalBinary(b []byte) error
- func (m *ItemOffersResponse) UnmarshalJSON(raw []byte) error
- func (m *ItemOffersResponse) Validate(formats strfmt.Registry) error
- type ItemOffersResponseList
- type ListingOffersRequest
- func (m *ListingOffersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListingOffersRequest) MarshalBinary() ([]byte, error)
- func (m ListingOffersRequest) MarshalJSON() ([]byte, error)
- func (m *ListingOffersRequest) UnmarshalBinary(b []byte) error
- func (m *ListingOffersRequest) UnmarshalJSON(raw []byte) error
- func (m *ListingOffersRequest) Validate(formats strfmt.Registry) error
- type ListingOffersRequestList
- type ListingOffersRequestParams
- func (m *ListingOffersRequestParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListingOffersRequestParams) MarshalBinary() ([]byte, error)
- func (m ListingOffersRequestParams) MarshalJSON() ([]byte, error)
- func (m *ListingOffersRequestParams) UnmarshalBinary(b []byte) error
- func (m *ListingOffersRequestParams) UnmarshalJSON(raw []byte) error
- func (m *ListingOffersRequestParams) Validate(formats strfmt.Registry) error
- type ListingOffersResponse
- func (m *ListingOffersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListingOffersResponse) MarshalBinary() ([]byte, error)
- func (m ListingOffersResponse) MarshalJSON() ([]byte, error)
- func (m *ListingOffersResponse) UnmarshalBinary(b []byte) error
- func (m *ListingOffersResponse) UnmarshalJSON(raw []byte) error
- func (m *ListingOffersResponse) Validate(formats strfmt.Registry) error
- type ListingOffersResponseList
- type LowestPriceType
- type LowestPrices
- type MarketplaceID
- type MoneyType
- type NumberOfOfferListingsList
- type NumberOfOffers
- type OfferCountType
- type OfferCustomerType
- type OfferDetail
- type OfferDetailList
- type OfferListingCountType
- type OfferType
- type OffersList
- type Points
- type Price
- type PriceList
- type PriceType
- type PrimeInformationType
- type Product
- type QuantityDiscountPriceType
- func (m *QuantityDiscountPriceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *QuantityDiscountPriceType) MarshalBinary() ([]byte, error)
- func (m *QuantityDiscountPriceType) UnmarshalBinary(b []byte) error
- func (m *QuantityDiscountPriceType) Validate(formats strfmt.Registry) error
- type QuantityDiscountType
- type RelationshipList
- type SalesRankList
- type SalesRankType
- type SellerFeedbackType
- type SellerSKUIdentifier
- type ShipsFromType
- type Summary
Constants ¶
const ( // DetailedShippingTimeTypeAvailabilityTypeNOW captures enum value "NOW" DetailedShippingTimeTypeAvailabilityTypeNOW string = "NOW" // DetailedShippingTimeTypeAvailabilityTypeFUTUREWITHOUTDATE captures enum value "FUTURE_WITHOUT_DATE" DetailedShippingTimeTypeAvailabilityTypeFUTUREWITHOUTDATE string = "FUTURE_WITHOUT_DATE" // DetailedShippingTimeTypeAvailabilityTypeFUTUREWITHDATE captures enum value "FUTURE_WITH_DATE" DetailedShippingTimeTypeAvailabilityTypeFUTUREWITHDATE string = "FUTURE_WITH_DATE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASINIdentifier ¶
type ASINIdentifier struct { // The Amazon Standard Identification Number (ASIN) of the item. // Required: true ASIN *string `json:"ASIN"` // A marketplace identifier. // Required: true MarketplaceID *string `json:"MarketplaceId"` }
ASINIdentifier a s i n identifier
swagger:model ASINIdentifier
func (*ASINIdentifier) ContextValidate ¶
ContextValidate validates this a s i n identifier based on context it is used
func (*ASINIdentifier) MarshalBinary ¶
func (m *ASINIdentifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ASINIdentifier) UnmarshalBinary ¶
func (m *ASINIdentifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Asin ¶
type Asin string
Asin The Amazon Standard Identification Number (ASIN) of the item.
swagger:model Asin
func (Asin) ContextValidate ¶
ContextValidate validates this asin based on context it is used
type AttributeSetList ¶
type AttributeSetList []interface{}
AttributeSetList A list of product attributes if they are applicable to the product that is returned.
swagger:model AttributeSetList
func (AttributeSetList) ContextValidate ¶
ContextValidate validates this attribute set list based on context it is used
type BatchOffersRequestParams ¶
type BatchOffersRequestParams struct { // Indicates whether to request Consumer or Business offers. Default is Consumer. CustomerType CustomerType `json:"CustomerType,omitempty"` // Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club. // Required: true ItemCondition *ItemCondition `json:"ItemCondition"` // marketplace Id // Required: true MarketplaceID *MarketplaceID `json:"MarketplaceId"` }
BatchOffersRequestParams batch offers request params
swagger:model BatchOffersRequestParams
func (*BatchOffersRequestParams) ContextValidate ¶
func (m *BatchOffersRequestParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this batch offers request params based on the context it is used
func (*BatchOffersRequestParams) MarshalBinary ¶
func (m *BatchOffersRequestParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchOffersRequestParams) UnmarshalBinary ¶
func (m *BatchOffersRequestParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchOffersResponse ¶
type BatchOffersResponse struct { // body // Required: true Body *GetOffersResponse `json:"body"` // headers Headers *HTTPResponseHeaders `json:"headers,omitempty"` // status Status *GetOffersHTTPStatusLine `json:"status,omitempty"` }
BatchOffersResponse batch offers response
swagger:model BatchOffersResponse
func (*BatchOffersResponse) ContextValidate ¶
ContextValidate validate this batch offers response based on the context it is used
func (*BatchOffersResponse) MarshalBinary ¶
func (m *BatchOffersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchOffersResponse) UnmarshalBinary ¶
func (m *BatchOffersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BatchRequest ¶
type BatchRequest struct { // headers Headers HTTPRequestHeaders `json:"headers,omitempty"` // method // Required: true Method *HTTPMethod `json:"method"` // The resource path of the operation you are calling in batch without any query parameters. // // If you are calling `getItemOffersBatch`, supply the path of `getItemOffers`. // // **Example:** `/products/pricing/v0/items/B000P6Q7MY/offers` // // If you are calling `getListingOffersBatch`, supply the path of `getListingOffers`. // // **Example:** `/products/pricing/v0/listings/B000P6Q7MY/offers` // Required: true URI *string `json:"uri"` }
BatchRequest Common properties of batch requests against individual APIs.
swagger:model BatchRequest
func (*BatchRequest) ContextValidate ¶
ContextValidate validate this batch request based on the context it is used
func (*BatchRequest) MarshalBinary ¶
func (m *BatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BatchRequest) UnmarshalBinary ¶
func (m *BatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuyBoxEligibleOffers ¶
type BuyBoxEligibleOffers []*OfferCountType
BuyBoxEligibleOffers buy box eligible offers
swagger:model BuyBoxEligibleOffers
func (BuyBoxEligibleOffers) ContextValidate ¶
ContextValidate validate this buy box eligible offers based on the context it is used
type BuyBoxPriceType ¶
type BuyBoxPriceType struct { // The value calculated by adding ListingPrice + Shipping - Points. // Required: true LandedPrice *MoneyType `json:"LandedPrice"` // The price of the item. // Required: true ListingPrice *MoneyType `json:"ListingPrice"` // The number of Amazon Points offered with the purchase of an item. Points *Points `json:"Points,omitempty"` // The shipping cost. // Required: true Shipping *MoneyType `json:"Shipping"` // Indicates the condition of the item. For example: New, Used, Collectible, Refurbished, or Club. // Required: true Condition *string `json:"condition"` // Indicates the type of customer that the offer is valid for.<br><br>When the offer type is B2C in a quantity discount, the seller is winning the Buy Box because others do not have inventory at that quantity, not because they have a quantity discount on the ASIN. OfferType OfferCustomerType `json:"offerType,omitempty"` // Indicates the type of quantity discount this price applies to. QuantityDiscountType QuantityDiscountType `json:"quantityDiscountType,omitempty"` // Indicates at what quantity this price becomes active. QuantityTier int32 `json:"quantityTier,omitempty"` // The seller identifier for the offer. SellerID string `json:"sellerId,omitempty"` }
BuyBoxPriceType buy box price type
swagger:model BuyBoxPriceType
func (*BuyBoxPriceType) ContextValidate ¶
ContextValidate validate this buy box price type based on the context it is used
func (*BuyBoxPriceType) MarshalBinary ¶
func (m *BuyBoxPriceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuyBoxPriceType) UnmarshalBinary ¶
func (m *BuyBoxPriceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuyBoxPrices ¶
type BuyBoxPrices []*BuyBoxPriceType
BuyBoxPrices buy box prices
swagger:model BuyBoxPrices
func (BuyBoxPrices) ContextValidate ¶
ContextValidate validate this buy box prices based on the context it is used
type CompetitivePriceList ¶
type CompetitivePriceList []*CompetitivePriceType
CompetitivePriceList A list of competitive pricing information.
swagger:model CompetitivePriceList
func (CompetitivePriceList) ContextValidate ¶
ContextValidate validate this competitive price list based on the context it is used
type CompetitivePriceType ¶
type CompetitivePriceType struct { // The pricing model for each price that is returned. // // Possible values: // // * 1 - New Buy Box Price. // * 2 - Used Buy Box Price. // Required: true CompetitivePriceID *string `json:"CompetitivePriceId"` // Pricing information for a given CompetitivePriceId value. // Required: true Price *PriceType `json:"Price"` // Indicates whether or not the pricing information is for an offer listing that belongs to the requester. The requester is the seller associated with the SellerId that was submitted with the request. Possible values are: true and false. BelongsToRequester bool `json:"belongsToRequester,omitempty"` // Indicates the condition of the item whose pricing information is returned. Possible values are: New, Used, Collectible, Refurbished, or Club. Condition string `json:"condition,omitempty"` // Indicates the type of customer that the offer is valid for.<br><br>When the offer type is B2C in a quantity discount, the seller is winning the Buy Box because others do not have inventory at that quantity, not because they have a quantity discount on the ASIN. OfferType OfferCustomerType `json:"offerType,omitempty"` // Indicates the type of quantity discount this price applies to. QuantityDiscountType QuantityDiscountType `json:"quantityDiscountType,omitempty"` // Indicates at what quantity this price becomes active. QuantityTier int32 `json:"quantityTier,omitempty"` // The seller identifier for the offer. SellerID string `json:"sellerId,omitempty"` // Indicates the subcondition of the item whose pricing information is returned. Possible values are: New, Mint, Very Good, Good, Acceptable, Poor, Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box, or Other. Subcondition string `json:"subcondition,omitempty"` }
CompetitivePriceType competitive price type
swagger:model CompetitivePriceType
func (*CompetitivePriceType) ContextValidate ¶
ContextValidate validate this competitive price type based on the context it is used
func (*CompetitivePriceType) MarshalBinary ¶
func (m *CompetitivePriceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompetitivePriceType) UnmarshalBinary ¶
func (m *CompetitivePriceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CompetitivePricingType ¶
type CompetitivePricingType struct { // competitive prices // Required: true CompetitivePrices CompetitivePriceList `json:"CompetitivePrices"` // number of offer listings // Required: true NumberOfOfferListings NumberOfOfferListingsList `json:"NumberOfOfferListings"` // The trade-in value of the item in the trade-in program. TradeInValue *MoneyType `json:"TradeInValue,omitempty"` }
CompetitivePricingType Competitive pricing information for the item.
swagger:model CompetitivePricingType
func (*CompetitivePricingType) ContextValidate ¶
func (m *CompetitivePricingType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this competitive pricing type based on the context it is used
func (*CompetitivePricingType) MarshalBinary ¶
func (m *CompetitivePricingType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompetitivePricingType) UnmarshalBinary ¶
func (m *CompetitivePricingType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConditionType ¶
type ConditionType string
ConditionType Indicates the condition of the item. Possible values: New, Used, Collectible, Refurbished, Club.
swagger:model ConditionType
const ( // ConditionTypeNew captures enum value "New" ConditionTypeNew ConditionType = "New" // ConditionTypeUsed captures enum value "Used" ConditionTypeUsed ConditionType = "Used" // ConditionTypeCollectible captures enum value "Collectible" ConditionTypeCollectible ConditionType = "Collectible" // ConditionTypeRefurbished captures enum value "Refurbished" ConditionTypeRefurbished ConditionType = "Refurbished" // ConditionTypeClub captures enum value "Club" ConditionTypeClub ConditionType = "Club" )
func NewConditionType ¶
func NewConditionType(value ConditionType) *ConditionType
func (ConditionType) ContextValidate ¶
ContextValidate validates this condition type based on context it is used
func (ConditionType) Pointer ¶
func (m ConditionType) Pointer() *ConditionType
Pointer returns a pointer to a freshly-allocated ConditionType.
type CustomerType ¶
type CustomerType string
CustomerType Indicates whether to request Consumer or Business offers. Default is Consumer.
swagger:model CustomerType
const ( // CustomerTypeConsumer captures enum value "Consumer" CustomerTypeConsumer CustomerType = "Consumer" // CustomerTypeBusiness captures enum value "Business" CustomerTypeBusiness CustomerType = "Business" )
func NewCustomerType ¶
func NewCustomerType(value CustomerType) *CustomerType
func (CustomerType) ContextValidate ¶
ContextValidate validates this customer type based on context it is used
func (CustomerType) Pointer ¶
func (m CustomerType) Pointer() *CustomerType
Pointer returns a pointer to a freshly-allocated CustomerType.
type DetailedShippingTimeType ¶
type DetailedShippingTimeType struct { // Indicates whether the item is available for shipping now, or on a known or an unknown date in the future. If known, the availableDate property indicates the date that the item will be available for shipping. Possible values: NOW, FUTURE_WITHOUT_DATE, FUTURE_WITH_DATE. // Enum: [NOW FUTURE_WITHOUT_DATE FUTURE_WITH_DATE] AvailabilityType string `json:"availabilityType,omitempty"` // The date when the item will be available for shipping. Only displayed for items that are not currently available for shipping. AvailableDate string `json:"availableDate,omitempty"` // The maximum time, in hours, that the item will likely be shipped after the order has been placed. MaximumHours int64 `json:"maximumHours,omitempty"` // The minimum time, in hours, that the item will likely be shipped after the order has been placed. MinimumHours int64 `json:"minimumHours,omitempty"` }
DetailedShippingTimeType The time range in which an item will likely be shipped once an order has been placed.
swagger:model DetailedShippingTimeType
func (*DetailedShippingTimeType) ContextValidate ¶
func (m *DetailedShippingTimeType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this detailed shipping time type based on context it is used
func (*DetailedShippingTimeType) MarshalBinary ¶
func (m *DetailedShippingTimeType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailedShippingTimeType) UnmarshalBinary ¶
func (m *DetailedShippingTimeType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // An error code that identifies the type of error that occurred. // Required: true Code *string `json:"code"` // Additional information that can help the caller understand or fix the issue. Details string `json:"details,omitempty"` // A message that describes the error condition in a human-readable form. // Required: true Message *string `json:"message"` }
Error Error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList []*Error
ErrorList A list of error responses returned when a request is unsuccessful.
swagger:model ErrorList
func (ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
type Errors ¶
type Errors struct { // One or more unexpected errors occurred during the operation. // Required: true Errors ErrorList `json:"errors"` }
Errors A list of error responses returned when a request is unsuccessful.
swagger:model Errors
func (*Errors) ContextValidate ¶
ContextValidate validate this errors based on the context it is used
func (*Errors) MarshalBinary ¶
MarshalBinary interface implementation
func (*Errors) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FulfillmentChannelType ¶
type FulfillmentChannelType string
FulfillmentChannelType Indicates whether the item is fulfilled by Amazon or by the seller (merchant).
swagger:model FulfillmentChannelType
const ( // FulfillmentChannelTypeAmazon captures enum value "Amazon" FulfillmentChannelTypeAmazon FulfillmentChannelType = "Amazon" // FulfillmentChannelTypeMerchant captures enum value "Merchant" FulfillmentChannelTypeMerchant FulfillmentChannelType = "Merchant" )
func NewFulfillmentChannelType ¶
func NewFulfillmentChannelType(value FulfillmentChannelType) *FulfillmentChannelType
func (FulfillmentChannelType) ContextValidate ¶
ContextValidate validates this fulfillment channel type based on context it is used
func (FulfillmentChannelType) Pointer ¶
func (m FulfillmentChannelType) Pointer() *FulfillmentChannelType
Pointer returns a pointer to a freshly-allocated FulfillmentChannelType.
type GetItemOffersBatchRequest ¶
type GetItemOffersBatchRequest struct { // requests Requests ItemOffersRequestList `json:"requests,omitempty"` }
GetItemOffersBatchRequest The request associated with the `getItemOffersBatch` API call.
swagger:model GetItemOffersBatchRequest
func (*GetItemOffersBatchRequest) ContextValidate ¶
func (m *GetItemOffersBatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get item offers batch request based on the context it is used
func (*GetItemOffersBatchRequest) MarshalBinary ¶
func (m *GetItemOffersBatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetItemOffersBatchRequest) UnmarshalBinary ¶
func (m *GetItemOffersBatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetItemOffersBatchResponse ¶
type GetItemOffersBatchResponse struct { // responses Responses ItemOffersResponseList `json:"responses,omitempty"` }
GetItemOffersBatchResponse The response associated with the `getItemOffersBatch` API call.
swagger:model GetItemOffersBatchResponse
func (*GetItemOffersBatchResponse) ContextValidate ¶
func (m *GetItemOffersBatchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get item offers batch response based on the context it is used
func (*GetItemOffersBatchResponse) MarshalBinary ¶
func (m *GetItemOffersBatchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetItemOffersBatchResponse) UnmarshalBinary ¶
func (m *GetItemOffersBatchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetListingOffersBatchRequest ¶
type GetListingOffersBatchRequest struct { // requests Requests ListingOffersRequestList `json:"requests,omitempty"` }
GetListingOffersBatchRequest The request associated with the `getListingOffersBatch` API call.
swagger:model GetListingOffersBatchRequest
func (*GetListingOffersBatchRequest) ContextValidate ¶
func (m *GetListingOffersBatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get listing offers batch request based on the context it is used
func (*GetListingOffersBatchRequest) MarshalBinary ¶
func (m *GetListingOffersBatchRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetListingOffersBatchRequest) UnmarshalBinary ¶
func (m *GetListingOffersBatchRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetListingOffersBatchResponse ¶
type GetListingOffersBatchResponse struct { // responses Responses ListingOffersResponseList `json:"responses,omitempty"` }
GetListingOffersBatchResponse The response associated with the `getListingOffersBatch` API call.
swagger:model GetListingOffersBatchResponse
func (*GetListingOffersBatchResponse) ContextValidate ¶
func (m *GetListingOffersBatchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get listing offers batch response based on the context it is used
func (*GetListingOffersBatchResponse) MarshalBinary ¶
func (m *GetListingOffersBatchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetListingOffersBatchResponse) UnmarshalBinary ¶
func (m *GetListingOffersBatchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOffersHTTPStatusLine ¶
type GetOffersHTTPStatusLine struct { // The HTTP response Reason-Phase. ReasonPhrase string `json:"reasonPhrase,omitempty"` // The HTTP response Status Code. // Maximum: 599 // Minimum: 100 StatusCode int64 `json:"statusCode,omitempty"` }
GetOffersHTTPStatusLine The HTTP status line associated with the response. For more information, consult [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html).
swagger:model GetOffersHttpStatusLine
func (*GetOffersHTTPStatusLine) ContextValidate ¶
func (m *GetOffersHTTPStatusLine) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get offers Http status line based on context it is used
func (*GetOffersHTTPStatusLine) MarshalBinary ¶
func (m *GetOffersHTTPStatusLine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOffersHTTPStatusLine) UnmarshalBinary ¶
func (m *GetOffersHTTPStatusLine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOffersResponse ¶
type GetOffersResponse struct { // One or more unexpected errors occurred during the operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getListingOffers` and `getItemOffers` operations. Payload *GetOffersResult `json:"payload,omitempty"` }
GetOffersResponse The response schema for the `getListingOffers` and `getItemOffers` operations.
swagger:model GetOffersResponse
func (*GetOffersResponse) ContextValidate ¶
ContextValidate validate this get offers response based on the context it is used
func (*GetOffersResponse) MarshalBinary ¶
func (m *GetOffersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOffersResponse) UnmarshalBinary ¶
func (m *GetOffersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOffersResult ¶
type GetOffersResult struct { // The Amazon Standard Identification Number (ASIN) of the item. ASIN string `json:"ASIN,omitempty"` // Metadata that identifies the item. // Required: true Identifier *ItemIdentifier `json:"Identifier"` // The condition of the item. // Required: true ItemCondition *ConditionType `json:"ItemCondition"` // A marketplace identifier. // Required: true MarketplaceID *string `json:"MarketplaceID"` // A list of offer details. The list is the same length as the TotalOfferCount in the Summary or 20, whichever is less. // Required: true Offers OfferDetailList `json:"Offers"` // The stock keeping unit (SKU) of the item. SKU string `json:"SKU,omitempty"` // Pricing information about the item. // Required: true Summary *Summary `json:"Summary"` // The status of the operation. // Required: true Status *string `json:"status"` }
GetOffersResult get offers result
swagger:model GetOffersResult
func (*GetOffersResult) ContextValidate ¶
ContextValidate validate this get offers result based on the context it is used
func (*GetOffersResult) MarshalBinary ¶
func (m *GetOffersResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOffersResult) UnmarshalBinary ¶
func (m *GetOffersResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPricingResponse ¶
type GetPricingResponse struct { // One or more unexpected errors occurred during the operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the getPricing and getCompetitivePricing operations. Payload PriceList `json:"payload,omitempty"` }
GetPricingResponse The response schema for the `getPricing` and `getCompetitivePricing` operations.
swagger:model GetPricingResponse
func (*GetPricingResponse) ContextValidate ¶
ContextValidate validate this get pricing response based on the context it is used
func (*GetPricingResponse) MarshalBinary ¶
func (m *GetPricingResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPricingResponse) UnmarshalBinary ¶
func (m *GetPricingResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HTTPMethod ¶
type HTTPMethod string
HTTPMethod The HTTP method associated with the individual APIs being called as part of the batch request.
swagger:model HttpMethod
const ( // HTTPMethodGET captures enum value "GET" HTTPMethodGET HTTPMethod = "GET" // HTTPMethodPUT captures enum value "PUT" HTTPMethodPUT HTTPMethod = "PUT" // HTTPMethodPATCH captures enum value "PATCH" HTTPMethodPATCH HTTPMethod = "PATCH" // HTTPMethodDELETE captures enum value "DELETE" HTTPMethodDELETE HTTPMethod = "DELETE" // HTTPMethodPOST captures enum value "POST" HTTPMethodPOST HTTPMethod = "POST" )
func NewHTTPMethod ¶
func NewHTTPMethod(value HTTPMethod) *HTTPMethod
func (HTTPMethod) ContextValidate ¶
ContextValidate validates this Http method based on context it is used
func (HTTPMethod) Pointer ¶
func (m HTTPMethod) Pointer() *HTTPMethod
Pointer returns a pointer to a freshly-allocated HTTPMethod.
type HTTPRequestHeaders ¶
HTTPRequestHeaders A mapping of additional HTTP headers to send/receive for the individual batch request.
swagger:model HttpRequestHeaders
func (HTTPRequestHeaders) ContextValidate ¶
ContextValidate validates this Http request headers based on context it is used
type HTTPResponseHeaders ¶
type HTTPResponseHeaders struct { // The timestamp that the API request was received. For more information, consult [RFC 2616 Section 14](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). Date string `json:"Date,omitempty"` // Unique request reference ID. XAmznRequestID string `json:"x-amzn-RequestId,omitempty"` // Http response headers HTTPResponseHeaders map[string]string `json:"-"` }
HTTPResponseHeaders A mapping of additional HTTP headers to send/receive for the individual batch request.
swagger:model HttpResponseHeaders
func (*HTTPResponseHeaders) ContextValidate ¶
ContextValidate validates this Http response headers based on context it is used
func (*HTTPResponseHeaders) MarshalBinary ¶
func (m *HTTPResponseHeaders) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (HTTPResponseHeaders) MarshalJSON ¶
func (m HTTPResponseHeaders) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*HTTPResponseHeaders) UnmarshalBinary ¶
func (m *HTTPResponseHeaders) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*HTTPResponseHeaders) UnmarshalJSON ¶
func (m *HTTPResponseHeaders) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type HTTPURI ¶
type HTTPURI string
HTTPURI The URI associated with the individual APIs being called as part of the batch request.
swagger:model HttpUri
func (HTTPURI) ContextValidate ¶
ContextValidate validates this Http Uri based on context it is used
type IdentifierType ¶
type IdentifierType struct { // Indicates the item is identified by MarketPlaceId and ASIN. // Required: true MarketplaceASIN *ASINIdentifier `json:"MarketplaceASIN"` // Indicates the item is identified by MarketPlaceId, SellerId, and SellerSKU. SKUIdentifier *SellerSKUIdentifier `json:"SKUIdentifier,omitempty"` }
IdentifierType Specifies the identifiers used to uniquely identify an item.
swagger:model IdentifierType
func (*IdentifierType) ContextValidate ¶
ContextValidate validate this identifier type based on the context it is used
func (*IdentifierType) MarshalBinary ¶
func (m *IdentifierType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdentifierType) UnmarshalBinary ¶
func (m *IdentifierType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemCondition ¶
type ItemCondition string
ItemCondition Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
swagger:model ItemCondition
const ( // ItemConditionNew captures enum value "New" ItemConditionNew ItemCondition = "New" // ItemConditionUsed captures enum value "Used" ItemConditionUsed ItemCondition = "Used" // ItemConditionCollectible captures enum value "Collectible" ItemConditionCollectible ItemCondition = "Collectible" // ItemConditionRefurbished captures enum value "Refurbished" ItemConditionRefurbished ItemCondition = "Refurbished" // ItemConditionClub captures enum value "Club" ItemConditionClub ItemCondition = "Club" )
func NewItemCondition ¶
func NewItemCondition(value ItemCondition) *ItemCondition
func (ItemCondition) ContextValidate ¶
ContextValidate validates this item condition based on context it is used
func (ItemCondition) Pointer ¶
func (m ItemCondition) Pointer() *ItemCondition
Pointer returns a pointer to a freshly-allocated ItemCondition.
type ItemIdentifier ¶
type ItemIdentifier struct { // The Amazon Standard Identification Number (ASIN) of the item. ASIN string `json:"ASIN,omitempty"` // The condition of the item. // Required: true ItemCondition *ConditionType `json:"ItemCondition"` // A marketplace identifier. Specifies the marketplace from which prices are returned. // Required: true MarketplaceID *string `json:"MarketplaceId"` // The seller stock keeping unit (SKU) of the item. SellerSKU string `json:"SellerSKU,omitempty"` }
ItemIdentifier Information that identifies an item.
swagger:model ItemIdentifier
func (*ItemIdentifier) ContextValidate ¶
ContextValidate validate this item identifier based on the context it is used
func (*ItemIdentifier) MarshalBinary ¶
func (m *ItemIdentifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemIdentifier) UnmarshalBinary ¶
func (m *ItemIdentifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemOffersRequest ¶
type ItemOffersRequest struct { BatchRequest BatchOffersRequestParams }
ItemOffersRequest item offers request
swagger:model ItemOffersRequest
func (*ItemOffersRequest) ContextValidate ¶
ContextValidate validate this item offers request based on the context it is used
func (*ItemOffersRequest) MarshalBinary ¶
func (m *ItemOffersRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ItemOffersRequest) MarshalJSON ¶
func (m ItemOffersRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ItemOffersRequest) UnmarshalBinary ¶
func (m *ItemOffersRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ItemOffersRequest) UnmarshalJSON ¶
func (m *ItemOffersRequest) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ItemOffersRequestList ¶
type ItemOffersRequestList []*ItemOffersRequest
ItemOffersRequestList A list of `getListingOffers` batched requests to run.
swagger:model ItemOffersRequestList
func (ItemOffersRequestList) ContextValidate ¶
ContextValidate validate this item offers request list based on the context it is used
type ItemOffersRequestParams ¶
type ItemOffersRequestParams struct { BatchOffersRequestParams // The Amazon Standard Identification Number (ASIN) of the item. This is the same Asin passed as a request parameter. Asin string `json:"Asin,omitempty"` }
ItemOffersRequestParams item offers request params
swagger:model ItemOffersRequestParams
func (*ItemOffersRequestParams) ContextValidate ¶
func (m *ItemOffersRequestParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this item offers request params based on the context it is used
func (*ItemOffersRequestParams) MarshalBinary ¶
func (m *ItemOffersRequestParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ItemOffersRequestParams) MarshalJSON ¶
func (m ItemOffersRequestParams) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ItemOffersRequestParams) UnmarshalBinary ¶
func (m *ItemOffersRequestParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ItemOffersRequestParams) UnmarshalJSON ¶
func (m *ItemOffersRequestParams) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ItemOffersResponse ¶
type ItemOffersResponse struct { BatchOffersResponse // request // Required: true Request *ItemOffersRequestParams `json:"request"` }
ItemOffersResponse item offers response
swagger:model ItemOffersResponse
func (*ItemOffersResponse) ContextValidate ¶
ContextValidate validate this item offers response based on the context it is used
func (*ItemOffersResponse) MarshalBinary ¶
func (m *ItemOffersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ItemOffersResponse) MarshalJSON ¶
func (m ItemOffersResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ItemOffersResponse) UnmarshalBinary ¶
func (m *ItemOffersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ItemOffersResponse) UnmarshalJSON ¶
func (m *ItemOffersResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ItemOffersResponseList ¶
type ItemOffersResponseList []*ItemOffersResponse
ItemOffersResponseList A list of `getItemOffers` batched responses.
swagger:model ItemOffersResponseList
func (ItemOffersResponseList) ContextValidate ¶
ContextValidate validate this item offers response list based on the context it is used
type ListingOffersRequest ¶
type ListingOffersRequest struct { BatchRequest BatchOffersRequestParams }
ListingOffersRequest listing offers request
swagger:model ListingOffersRequest
func (*ListingOffersRequest) ContextValidate ¶
ContextValidate validate this listing offers request based on the context it is used
func (*ListingOffersRequest) MarshalBinary ¶
func (m *ListingOffersRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ListingOffersRequest) MarshalJSON ¶
func (m ListingOffersRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ListingOffersRequest) UnmarshalBinary ¶
func (m *ListingOffersRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListingOffersRequest) UnmarshalJSON ¶
func (m *ListingOffersRequest) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ListingOffersRequestList ¶
type ListingOffersRequestList []*ListingOffersRequest
ListingOffersRequestList A list of `getListingOffers` batched requests to run.
swagger:model ListingOffersRequestList
func (ListingOffersRequestList) ContextValidate ¶
func (m ListingOffersRequestList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this listing offers request list based on the context it is used
type ListingOffersRequestParams ¶
type ListingOffersRequestParams struct { BatchOffersRequestParams // The seller stock keeping unit (SKU) of the item. This is the same SKU passed as a path parameter. // Required: true SellerSKU *string `json:"SellerSKU"` }
ListingOffersRequestParams listing offers request params
swagger:model ListingOffersRequestParams
func (*ListingOffersRequestParams) ContextValidate ¶
func (m *ListingOffersRequestParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this listing offers request params based on the context it is used
func (*ListingOffersRequestParams) MarshalBinary ¶
func (m *ListingOffersRequestParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ListingOffersRequestParams) MarshalJSON ¶
func (m ListingOffersRequestParams) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ListingOffersRequestParams) UnmarshalBinary ¶
func (m *ListingOffersRequestParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListingOffersRequestParams) UnmarshalJSON ¶
func (m *ListingOffersRequestParams) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ListingOffersResponse ¶
type ListingOffersResponse struct { BatchOffersResponse // request Request *ListingOffersRequestParams `json:"request,omitempty"` }
ListingOffersResponse listing offers response
swagger:model ListingOffersResponse
func (*ListingOffersResponse) ContextValidate ¶
ContextValidate validate this listing offers response based on the context it is used
func (*ListingOffersResponse) MarshalBinary ¶
func (m *ListingOffersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (ListingOffersResponse) MarshalJSON ¶
func (m ListingOffersResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*ListingOffersResponse) UnmarshalBinary ¶
func (m *ListingOffersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ListingOffersResponse) UnmarshalJSON ¶
func (m *ListingOffersResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type ListingOffersResponseList ¶
type ListingOffersResponseList []*ListingOffersResponse
ListingOffersResponseList A list of `getListingOffers` batched responses.
swagger:model ListingOffersResponseList
func (ListingOffersResponseList) ContextValidate ¶
func (m ListingOffersResponseList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this listing offers response list based on the context it is used
type LowestPriceType ¶
type LowestPriceType struct { // The value calculated by adding ListingPrice + Shipping - Points. LandedPrice *MoneyType `json:"LandedPrice,omitempty"` // The price of the item. // Required: true ListingPrice *MoneyType `json:"ListingPrice"` // The number of Amazon Points offered with the purchase of an item. Points *Points `json:"Points,omitempty"` // The shipping cost. Shipping *MoneyType `json:"Shipping,omitempty"` // Indicates the condition of the item. For example: New, Used, Collectible, Refurbished, or Club. // Required: true Condition *string `json:"condition"` // Indicates whether the item is fulfilled by Amazon or by the seller. // Required: true FulfillmentChannel *string `json:"fulfillmentChannel"` // Indicates the type of customer that the offer is valid for. OfferType OfferCustomerType `json:"offerType,omitempty"` // Indicates the type of quantity discount this price applies to. QuantityDiscountType QuantityDiscountType `json:"quantityDiscountType,omitempty"` // Indicates at what quantity this price becomes active. QuantityTier int32 `json:"quantityTier,omitempty"` }
LowestPriceType lowest price type
swagger:model LowestPriceType
func (*LowestPriceType) ContextValidate ¶
ContextValidate validate this lowest price type based on the context it is used
func (*LowestPriceType) MarshalBinary ¶
func (m *LowestPriceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LowestPriceType) UnmarshalBinary ¶
func (m *LowestPriceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LowestPrices ¶
type LowestPrices []*LowestPriceType
LowestPrices lowest prices
swagger:model LowestPrices
func (LowestPrices) ContextValidate ¶
ContextValidate validate this lowest prices based on the context it is used
type MarketplaceID ¶
type MarketplaceID string
MarketplaceID A marketplace identifier. Specifies the marketplace for which prices are returned.
swagger:model MarketplaceId
func (MarketplaceID) ContextValidate ¶
ContextValidate validates this marketplace Id based on context it is used
type MoneyType ¶
type MoneyType struct { // The monetary value. Amount float64 `json:"Amount,omitempty"` // The currency code in ISO 4217 format. CurrencyCode string `json:"CurrencyCode,omitempty"` }
MoneyType money type
swagger:model MoneyType
func (*MoneyType) ContextValidate ¶
ContextValidate validates this money type based on context it is used
func (*MoneyType) MarshalBinary ¶
MarshalBinary interface implementation
func (*MoneyType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NumberOfOfferListingsList ¶
type NumberOfOfferListingsList []*OfferListingCountType
NumberOfOfferListingsList The number of active offer listings for the item that was submitted. The listing count is returned by condition, one for each listing condition value that is returned.
swagger:model NumberOfOfferListingsList
func (NumberOfOfferListingsList) ContextValidate ¶
func (m NumberOfOfferListingsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this number of offer listings list based on the context it is used
type NumberOfOffers ¶
type NumberOfOffers []*OfferCountType
NumberOfOffers number of offers
swagger:model NumberOfOffers
func (NumberOfOffers) ContextValidate ¶
ContextValidate validate this number of offers based on the context it is used
type OfferCountType ¶
type OfferCountType struct { // The number of offers in a fulfillment channel that meet a specific condition. OfferCount int32 `json:"OfferCount,omitempty"` // Indicates the condition of the item. For example: New, Used, Collectible, Refurbished, or Club. Condition string `json:"condition,omitempty"` // Indicates whether the item is fulfilled by Amazon or by the seller. FulfillmentChannel FulfillmentChannelType `json:"fulfillmentChannel,omitempty"` }
OfferCountType The total number of offers for the specified condition and fulfillment channel.
swagger:model OfferCountType
func (*OfferCountType) ContextValidate ¶
ContextValidate validate this offer count type based on the context it is used
func (*OfferCountType) MarshalBinary ¶
func (m *OfferCountType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfferCountType) UnmarshalBinary ¶
func (m *OfferCountType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfferCustomerType ¶
type OfferCustomerType string
OfferCustomerType offer customer type
swagger:model OfferCustomerType
const ( // OfferCustomerTypeB2C captures enum value "B2C" OfferCustomerTypeB2C OfferCustomerType = "B2C" // OfferCustomerTypeB2B captures enum value "B2B" OfferCustomerTypeB2B OfferCustomerType = "B2B" )
func NewOfferCustomerType ¶
func NewOfferCustomerType(value OfferCustomerType) *OfferCustomerType
func (OfferCustomerType) ContextValidate ¶
ContextValidate validates this offer customer type based on context it is used
func (OfferCustomerType) Pointer ¶
func (m OfferCustomerType) Pointer() *OfferCustomerType
Pointer returns a pointer to a freshly-allocated OfferCustomerType.
type OfferDetail ¶
type OfferDetail struct { // Information about the condition of the item. ConditionNotes string `json:"ConditionNotes,omitempty"` // When true, the offer is currently in the Buy Box. There can be up to two Buy Box winners at any time per ASIN, one that is eligible for Prime and one that is not eligible for Prime. IsBuyBoxWinner bool `json:"IsBuyBoxWinner,omitempty"` // When true, the seller of the item is eligible to win the Buy Box. IsFeaturedMerchant bool `json:"IsFeaturedMerchant,omitempty"` // When true, the offer is fulfilled by Amazon. // Required: true IsFulfilledByAmazon *bool `json:"IsFulfilledByAmazon"` // The price of the item. // Required: true ListingPrice *MoneyType `json:"ListingPrice"` // When true, this is the seller's offer. MyOffer bool `json:"MyOffer,omitempty"` // The number of Amazon Points offered with the purchase of an item. Points *Points `json:"Points,omitempty"` // Amazon Prime information. PrimeInformation *PrimeInformationType `json:"PrimeInformation,omitempty"` // Information about the seller's feedback, including the percentage of positive feedback, and the total number of ratings received. SellerFeedbackRating *SellerFeedbackType `json:"SellerFeedbackRating,omitempty"` // The seller identifier for the offer. SellerID string `json:"SellerId,omitempty"` // The shipping cost. // Required: true Shipping *MoneyType `json:"Shipping"` // The maximum time within which the item will likely be shipped once an order has been placed. // Required: true ShippingTime *DetailedShippingTimeType `json:"ShippingTime"` // The state and country from where the item is shipped. ShipsFrom *ShipsFromType `json:"ShipsFrom,omitempty"` // The subcondition of the item. Subcondition values: New, Mint, Very Good, Good, Acceptable, Poor, Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box, or Other. // Required: true SubCondition *string `json:"SubCondition"` // Indicates the type of customer that the offer is valid for. OfferType OfferCustomerType `json:"offerType,omitempty"` // quantity discount prices QuantityDiscountPrices []*QuantityDiscountPriceType `json:"quantityDiscountPrices"` }
OfferDetail offer detail
swagger:model OfferDetail
func (*OfferDetail) ContextValidate ¶
ContextValidate validate this offer detail based on the context it is used
func (*OfferDetail) MarshalBinary ¶
func (m *OfferDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfferDetail) UnmarshalBinary ¶
func (m *OfferDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfferDetailList ¶
type OfferDetailList []*OfferDetail
OfferDetailList offer detail list
swagger:model OfferDetailList
func (OfferDetailList) ContextValidate ¶
ContextValidate validate this offer detail list based on the context it is used
type OfferListingCountType ¶
type OfferListingCountType struct { // The number of offer listings. // Required: true Count *int32 `json:"Count"` // The condition of the item. // Required: true Condition *string `json:"condition"` }
OfferListingCountType The number of offer listings with the specified condition.
swagger:model OfferListingCountType
func (*OfferListingCountType) ContextValidate ¶
ContextValidate validates this offer listing count type based on context it is used
func (*OfferListingCountType) MarshalBinary ¶
func (m *OfferListingCountType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OfferListingCountType) UnmarshalBinary ¶
func (m *OfferListingCountType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OfferType ¶
type OfferType struct { // Contains pricing information that includes promotions and contains the shipping cost. // Required: true BuyingPrice *PriceType `json:"BuyingPrice"` // The fulfillment channel for the offer listing. Possible values: // // * Amazon - Fulfilled by Amazon. // * Merchant - Fulfilled by the seller. // Required: true FulfillmentChannel *string `json:"FulfillmentChannel"` // The item condition for the offer listing. Possible values: New, Used, Collectible, Refurbished, or Club. // Required: true ItemCondition *string `json:"ItemCondition"` // The item subcondition for the offer listing. Possible values: New, Mint, Very Good, Good, Acceptable, Poor, Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box, or Other. // Required: true ItemSubCondition *string `json:"ItemSubCondition"` // The current price excluding any promotions that apply to the product. Excludes the shipping cost. // Required: true RegularPrice *MoneyType `json:"RegularPrice"` // The seller stock keeping unit (SKU) of the item. // Required: true SellerSKU *string `json:"SellerSKU"` // The current listing price for Business buyers. BusinessPrice *MoneyType `json:"businessPrice,omitempty"` // Indicates the type of customer that the offer is valid for. OfferType OfferCustomerType `json:"offerType,omitempty"` // quantity discount prices QuantityDiscountPrices []*QuantityDiscountPriceType `json:"quantityDiscountPrices"` }
OfferType offer type
swagger:model OfferType
func (*OfferType) ContextValidate ¶
ContextValidate validate this offer type based on the context it is used
func (*OfferType) MarshalBinary ¶
MarshalBinary interface implementation
func (*OfferType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OffersList ¶
type OffersList []*OfferType
OffersList A list of offers.
swagger:model OffersList
func (OffersList) ContextValidate ¶
ContextValidate validate this offers list based on the context it is used
type Points ¶
type Points struct { // The monetary value of the points. PointsMonetaryValue *MoneyType `json:"PointsMonetaryValue,omitempty"` // The number of points. PointsNumber int32 `json:"PointsNumber,omitempty"` }
Points points
swagger:model Points
func (*Points) ContextValidate ¶
ContextValidate validate this points based on the context it is used
func (*Points) MarshalBinary ¶
MarshalBinary interface implementation
func (*Points) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Price ¶
type Price struct { // The Amazon Standard Identification Number (ASIN) of the item. ASIN string `json:"ASIN,omitempty"` // product Product *Product `json:"Product,omitempty"` // The seller stock keeping unit (SKU) of the item. SellerSKU string `json:"SellerSKU,omitempty"` // The status of the operation. // Required: true Status *string `json:"status"` }
Price price
swagger:model Price
func (*Price) ContextValidate ¶
ContextValidate validate this price based on the context it is used
func (*Price) MarshalBinary ¶
MarshalBinary interface implementation
func (*Price) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PriceList ¶
type PriceList []*Price
PriceList price list
swagger:model PriceList
func (PriceList) ContextValidate ¶
ContextValidate validate this price list based on the context it is used
type PriceType ¶
type PriceType struct { // The value calculated by adding ListingPrice + Shipping - Points. Note that if the landed price is not returned, the listing price represents the product with the lowest landed price. LandedPrice *MoneyType `json:"LandedPrice,omitempty"` // The listing price of the item including any promotions that apply. // Required: true ListingPrice *MoneyType `json:"ListingPrice"` // The number of Amazon Points offered with the purchase of an item, and their monetary value. Points *Points `json:"Points,omitempty"` // The shipping cost of the product. Note that the shipping cost is not always available. Shipping *MoneyType `json:"Shipping,omitempty"` }
PriceType price type
swagger:model PriceType
func (*PriceType) ContextValidate ¶
ContextValidate validate this price type based on the context it is used
func (*PriceType) MarshalBinary ¶
MarshalBinary interface implementation
func (*PriceType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PrimeInformationType ¶
type PrimeInformationType struct { // Indicates whether the offer is an Amazon Prime offer throughout the entire marketplace where it is listed. // Required: true IsNationalPrime *bool `json:"IsNationalPrime"` // Indicates whether the offer is an Amazon Prime offer. // Required: true IsPrime *bool `json:"IsPrime"` }
PrimeInformationType Amazon Prime information.
swagger:model PrimeInformationType
func (*PrimeInformationType) ContextValidate ¶
ContextValidate validates this prime information type based on context it is used
func (*PrimeInformationType) MarshalBinary ¶
func (m *PrimeInformationType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PrimeInformationType) UnmarshalBinary ¶
func (m *PrimeInformationType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Product ¶
type Product struct { // attribute sets AttributeSets AttributeSetList `json:"AttributeSets,omitempty"` // competitive pricing CompetitivePricing *CompetitivePricingType `json:"CompetitivePricing,omitempty"` // identifiers // Required: true Identifiers *IdentifierType `json:"Identifiers"` // offers Offers OffersList `json:"Offers,omitempty"` // relationships Relationships RelationshipList `json:"Relationships,omitempty"` // sales rankings SalesRankings SalesRankList `json:"SalesRankings,omitempty"` }
Product An item.
swagger:model Product
func (*Product) ContextValidate ¶
ContextValidate validate this product based on the context it is used
func (*Product) MarshalBinary ¶
MarshalBinary interface implementation
func (*Product) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QuantityDiscountPriceType ¶
type QuantityDiscountPriceType struct { // The price at this quantity tier. // Required: true ListingPrice *MoneyType `json:"listingPrice"` // Indicates the type of quantity discount this price applies to. // Required: true QuantityDiscountType *QuantityDiscountType `json:"quantityDiscountType"` // Indicates at what quantity this price becomes active. // Required: true QuantityTier *int32 `json:"quantityTier"` }
QuantityDiscountPriceType Contains pricing information that includes special pricing when buying in bulk.
swagger:model QuantityDiscountPriceType
func (*QuantityDiscountPriceType) ContextValidate ¶
func (m *QuantityDiscountPriceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this quantity discount price type based on the context it is used
func (*QuantityDiscountPriceType) MarshalBinary ¶
func (m *QuantityDiscountPriceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuantityDiscountPriceType) UnmarshalBinary ¶
func (m *QuantityDiscountPriceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuantityDiscountType ¶
type QuantityDiscountType string
QuantityDiscountType quantity discount type
swagger:model QuantityDiscountType
const ( // QuantityDiscountTypeQUANTITYDISCOUNT captures enum value "QUANTITY_DISCOUNT" QuantityDiscountTypeQUANTITYDISCOUNT QuantityDiscountType = "QUANTITY_DISCOUNT" )
func NewQuantityDiscountType ¶
func NewQuantityDiscountType(value QuantityDiscountType) *QuantityDiscountType
func (QuantityDiscountType) ContextValidate ¶
ContextValidate validates this quantity discount type based on context it is used
func (QuantityDiscountType) Pointer ¶
func (m QuantityDiscountType) Pointer() *QuantityDiscountType
Pointer returns a pointer to a freshly-allocated QuantityDiscountType.
type RelationshipList ¶
type RelationshipList []interface{}
RelationshipList A list that contains product variation information, if applicable.
swagger:model RelationshipList
func (RelationshipList) ContextValidate ¶
ContextValidate validates this relationship list based on context it is used
type SalesRankList ¶
type SalesRankList []*SalesRankType
SalesRankList A list of sales rank information for the item, by category.
swagger:model SalesRankList
func (SalesRankList) ContextValidate ¶
ContextValidate validate this sales rank list based on the context it is used
type SalesRankType ¶
type SalesRankType struct { // Identifies the item category from which the sales rank is taken. // Required: true ProductCategoryID *string `json:"ProductCategoryId"` // The sales rank of the item within the item category. // Required: true Rank *int32 `json:"Rank"` }
SalesRankType sales rank type
swagger:model SalesRankType
func (*SalesRankType) ContextValidate ¶
ContextValidate validates this sales rank type based on context it is used
func (*SalesRankType) MarshalBinary ¶
func (m *SalesRankType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SalesRankType) UnmarshalBinary ¶
func (m *SalesRankType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SellerFeedbackType ¶
type SellerFeedbackType struct { // The number of ratings received about the seller. // Required: true FeedbackCount *int64 `json:"FeedbackCount"` // The percentage of positive feedback for the seller in the past 365 days. SellerPositiveFeedbackRating float64 `json:"SellerPositiveFeedbackRating,omitempty"` }
SellerFeedbackType Information about the seller's feedback, including the percentage of positive feedback, and the total number of ratings received.
swagger:model SellerFeedbackType
func (*SellerFeedbackType) ContextValidate ¶
ContextValidate validates this seller feedback type based on context it is used
func (*SellerFeedbackType) MarshalBinary ¶
func (m *SellerFeedbackType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SellerFeedbackType) UnmarshalBinary ¶
func (m *SellerFeedbackType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SellerSKUIdentifier ¶
type SellerSKUIdentifier struct { // A marketplace identifier. // Required: true MarketplaceID *string `json:"MarketplaceId"` // The seller identifier submitted for the operation. // Required: true SellerID *string `json:"SellerId"` // The seller stock keeping unit (SKU) of the item. // Required: true SellerSKU *string `json:"SellerSKU"` }
SellerSKUIdentifier seller s k u identifier
swagger:model SellerSKUIdentifier
func (*SellerSKUIdentifier) ContextValidate ¶
ContextValidate validates this seller s k u identifier based on context it is used
func (*SellerSKUIdentifier) MarshalBinary ¶
func (m *SellerSKUIdentifier) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SellerSKUIdentifier) UnmarshalBinary ¶
func (m *SellerSKUIdentifier) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShipsFromType ¶
type ShipsFromType struct { // The country from where the item is shipped. Country string `json:"Country,omitempty"` // The state from where the item is shipped. State string `json:"State,omitempty"` }
ShipsFromType The state and country from where the item is shipped.
swagger:model ShipsFromType
func (*ShipsFromType) ContextValidate ¶
ContextValidate validates this ships from type based on context it is used
func (*ShipsFromType) MarshalBinary ¶
func (m *ShipsFromType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShipsFromType) UnmarshalBinary ¶
func (m *ShipsFromType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Summary ¶
type Summary struct { // A list that contains the total number of offers that are eligible for the Buy Box for the given conditions and fulfillment channels. BuyBoxEligibleOffers BuyBoxEligibleOffers `json:"BuyBoxEligibleOffers,omitempty"` // A list of item prices. BuyBoxPrices BuyBoxPrices `json:"BuyBoxPrices,omitempty"` // This price is based on competitive prices from other retailers (excluding other Amazon sellers). The offer may be ineligible for the Buy Box if the seller's price + shipping (minus Amazon Points) is greater than this competitive price. CompetitivePriceThreshold *MoneyType `json:"CompetitivePriceThreshold,omitempty"` // The list price of the item as suggested by the manufacturer. ListPrice *MoneyType `json:"ListPrice,omitempty"` // A list of the lowest prices for the item. LowestPrices LowestPrices `json:"LowestPrices,omitempty"` // A list that contains the total number of offers for the item for the given conditions and fulfillment channels. NumberOfOffers NumberOfOffers `json:"NumberOfOffers,omitempty"` // When the status is ActiveButTooSoonForProcessing, this is the time when the offers will be available for processing. // Format: date-time OffersAvailableTime strfmt.DateTime `json:"OffersAvailableTime,omitempty"` // A list that contains the sales rank of the item in the given product categories. SalesRankings SalesRankList `json:"SalesRankings,omitempty"` // The suggested lower price of the item, including shipping and Amazon Points. The suggested lower price is based on a range of factors, including historical selling prices, recent Buy Box-eligible prices, and input from customers for your products. SuggestedLowerPricePlusShipping *MoneyType `json:"SuggestedLowerPricePlusShipping,omitempty"` // The number of unique offers contained in NumberOfOffers. // Required: true TotalOfferCount *int32 `json:"TotalOfferCount"` }
Summary Contains price information about the product, including the LowestPrices and BuyBoxPrices, the ListPrice, the SuggestedLowerPricePlusShipping, and NumberOfOffers and NumberOfBuyBoxEligibleOffers.
swagger:model Summary
func (*Summary) ContextValidate ¶
ContextValidate validate this summary based on the context it is used
func (*Summary) MarshalBinary ¶
MarshalBinary interface implementation
func (*Summary) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files
¶
- a_s_i_n_identifier.go
- asin.go
- attribute_set_list.go
- batch_offers_request_params.go
- batch_offers_response.go
- batch_request.go
- buy_box_eligible_offers.go
- buy_box_price_type.go
- buy_box_prices.go
- competitive_price_list.go
- competitive_price_type.go
- competitive_pricing_type.go
- condition_type.go
- customer_type.go
- detailed_shipping_time_type.go
- error.go
- error_list.go
- errors.go
- fulfillment_channel_type.go
- get_item_offers_batch_request.go
- get_item_offers_batch_response.go
- get_listing_offers_batch_request.go
- get_listing_offers_batch_response.go
- get_offers_http_status_line.go
- get_offers_response.go
- get_offers_result.go
- get_pricing_response.go
- http_method.go
- http_request_headers.go
- http_response_headers.go
- http_uri.go
- identifier_type.go
- item_condition.go
- item_identifier.go
- item_offers_request.go
- item_offers_request_list.go
- item_offers_request_params.go
- item_offers_response.go
- item_offers_response_list.go
- listing_offers_request.go
- listing_offers_request_list.go
- listing_offers_request_params.go
- listing_offers_response.go
- listing_offers_response_list.go
- lowest_price_type.go
- lowest_prices.go
- marketplace_id.go
- money_type.go
- number_of_offer_listings_list.go
- number_of_offers.go
- offer_count_type.go
- offer_customer_type.go
- offer_detail.go
- offer_detail_list.go
- offer_listing_count_type.go
- offer_type.go
- offers_list.go
- points.go
- price.go
- price_list.go
- price_type.go
- prime_information_type.go
- product.go
- quantity_discount_price_type.go
- quantity_discount_type.go
- relationship_list.go
- sales_rank_list.go
- sales_rank_type.go
- seller_feedback_type.go
- seller_s_k_u_identifier.go
- ships_from_type.go
- summary.go