product_pricing_v0_models

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

func (m *ASINIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ASINIdentifier) Validate

func (m *ASINIdentifier) Validate(formats strfmt.Registry) error

Validate validates this a s i n identifier

type Asin

type Asin string

Asin The Amazon Standard Identification Number (ASIN) of the item.

swagger:model Asin

func (Asin) ContextValidate

func (m Asin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this asin based on context it is used

func (Asin) Validate

func (m Asin) Validate(formats strfmt.Registry) error

Validate validates this asin

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

func (m AttributeSetList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attribute set list based on context it is used

func (AttributeSetList) Validate

func (m AttributeSetList) Validate(formats strfmt.Registry) error

Validate validates this attribute set list

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

func (*BatchOffersRequestParams) Validate

func (m *BatchOffersRequestParams) Validate(formats strfmt.Registry) error

Validate validates this batch offers request params

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

func (m *BatchOffersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*BatchOffersResponse) Validate

func (m *BatchOffersResponse) Validate(formats strfmt.Registry) error

Validate validates this batch offers response

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

func (m *BatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*BatchRequest) Validate

func (m *BatchRequest) Validate(formats strfmt.Registry) error

Validate validates this batch request

type BuyBoxEligibleOffers

type BuyBoxEligibleOffers []*OfferCountType

BuyBoxEligibleOffers buy box eligible offers

swagger:model BuyBoxEligibleOffers

func (BuyBoxEligibleOffers) ContextValidate

func (m BuyBoxEligibleOffers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this buy box eligible offers based on the context it is used

func (BuyBoxEligibleOffers) Validate

func (m BuyBoxEligibleOffers) Validate(formats strfmt.Registry) error

Validate validates this buy box eligible offers

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

func (m *BuyBoxPriceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*BuyBoxPriceType) Validate

func (m *BuyBoxPriceType) Validate(formats strfmt.Registry) error

Validate validates this buy box price type

type BuyBoxPrices

type BuyBoxPrices []*BuyBoxPriceType

BuyBoxPrices buy box prices

swagger:model BuyBoxPrices

func (BuyBoxPrices) ContextValidate

func (m BuyBoxPrices) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this buy box prices based on the context it is used

func (BuyBoxPrices) Validate

func (m BuyBoxPrices) Validate(formats strfmt.Registry) error

Validate validates this buy box prices

type CompetitivePriceList

type CompetitivePriceList []*CompetitivePriceType

CompetitivePriceList A list of competitive pricing information.

swagger:model CompetitivePriceList

func (CompetitivePriceList) ContextValidate

func (m CompetitivePriceList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this competitive price list based on the context it is used

func (CompetitivePriceList) Validate

func (m CompetitivePriceList) Validate(formats strfmt.Registry) error

Validate validates this competitive price list

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

func (m *CompetitivePriceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*CompetitivePriceType) Validate

func (m *CompetitivePriceType) Validate(formats strfmt.Registry) error

Validate validates this competitive price type

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

func (*CompetitivePricingType) Validate

func (m *CompetitivePricingType) Validate(formats strfmt.Registry) error

Validate validates this competitive pricing type

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

func (m ConditionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (ConditionType) Validate

func (m ConditionType) Validate(formats strfmt.Registry) error

Validate validates this condition type

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

func (m CustomerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (CustomerType) Validate

func (m CustomerType) Validate(formats strfmt.Registry) error

Validate validates this customer type

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

func (*DetailedShippingTimeType) Validate

func (m *DetailedShippingTimeType) Validate(formats strfmt.Registry) error

Validate validates this detailed shipping time type

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

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ErrorList

type ErrorList []*Error

ErrorList A list of error responses returned when a request is unsuccessful.

swagger:model ErrorList

func (ErrorList) ContextValidate

func (m ErrorList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error list based on the context it is used

func (ErrorList) Validate

func (m ErrorList) Validate(formats strfmt.Registry) error

Validate validates this error list

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

func (m *Errors) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this errors based on the context it is used

func (*Errors) MarshalBinary

func (m *Errors) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Errors) UnmarshalBinary

func (m *Errors) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Errors) Validate

func (m *Errors) Validate(formats strfmt.Registry) error

Validate validates this errors

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

func (m FulfillmentChannelType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fulfillment channel type based on context it is used

func (FulfillmentChannelType) Pointer

Pointer returns a pointer to a freshly-allocated FulfillmentChannelType.

func (FulfillmentChannelType) Validate

func (m FulfillmentChannelType) Validate(formats strfmt.Registry) error

Validate validates this fulfillment channel type

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

func (*GetItemOffersBatchRequest) Validate

func (m *GetItemOffersBatchRequest) Validate(formats strfmt.Registry) error

Validate validates this get item offers batch request

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

func (*GetItemOffersBatchResponse) Validate

func (m *GetItemOffersBatchResponse) Validate(formats strfmt.Registry) error

Validate validates this get item offers batch response

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

func (*GetListingOffersBatchRequest) Validate

func (m *GetListingOffersBatchRequest) Validate(formats strfmt.Registry) error

Validate validates this get listing offers batch request

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

func (*GetListingOffersBatchResponse) Validate

func (m *GetListingOffersBatchResponse) Validate(formats strfmt.Registry) error

Validate validates this get listing offers batch response

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

func (*GetOffersHTTPStatusLine) Validate

func (m *GetOffersHTTPStatusLine) Validate(formats strfmt.Registry) error

Validate validates this get offers Http status line

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

func (m *GetOffersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetOffersResponse) Validate

func (m *GetOffersResponse) Validate(formats strfmt.Registry) error

Validate validates this get offers response

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

func (m *GetOffersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetOffersResult) Validate

func (m *GetOffersResult) Validate(formats strfmt.Registry) error

Validate validates this get offers result

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

func (m *GetPricingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*GetPricingResponse) Validate

func (m *GetPricingResponse) Validate(formats strfmt.Registry) error

Validate validates this get pricing response

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

func (m HTTPMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (HTTPMethod) Validate

func (m HTTPMethod) Validate(formats strfmt.Registry) error

Validate validates this Http method

type HTTPRequestHeaders

type HTTPRequestHeaders map[string]string

HTTPRequestHeaders A mapping of additional HTTP headers to send/receive for the individual batch request.

swagger:model HttpRequestHeaders

func (HTTPRequestHeaders) ContextValidate

func (m HTTPRequestHeaders) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Http request headers based on context it is used

func (HTTPRequestHeaders) Validate

func (m HTTPRequestHeaders) Validate(formats strfmt.Registry) error

Validate validates this Http request headers

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

func (m *HTTPResponseHeaders) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*HTTPResponseHeaders) Validate

func (m *HTTPResponseHeaders) Validate(formats strfmt.Registry) error

Validate validates this Http response headers

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

func (m HTTPURI) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Http Uri based on context it is used

func (HTTPURI) Validate

func (m HTTPURI) Validate(formats strfmt.Registry) error

Validate validates this Http Uri

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

func (m *IdentifierType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*IdentifierType) Validate

func (m *IdentifierType) Validate(formats strfmt.Registry) error

Validate validates this identifier type

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

func (m ItemCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (ItemCondition) Validate

func (m ItemCondition) Validate(formats strfmt.Registry) error

Validate validates this item condition

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

func (m *ItemIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ItemIdentifier) Validate

func (m *ItemIdentifier) Validate(formats strfmt.Registry) error

Validate validates this item identifier

type ItemOffersRequest

type ItemOffersRequest struct {
	BatchRequest

	BatchOffersRequestParams
}

ItemOffersRequest item offers request

swagger:model ItemOffersRequest

func (*ItemOffersRequest) ContextValidate

func (m *ItemOffersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ItemOffersRequest) Validate

func (m *ItemOffersRequest) Validate(formats strfmt.Registry) error

Validate validates this item offers request

type ItemOffersRequestList

type ItemOffersRequestList []*ItemOffersRequest

ItemOffersRequestList A list of `getListingOffers` batched requests to run.

swagger:model ItemOffersRequestList

func (ItemOffersRequestList) ContextValidate

func (m ItemOffersRequestList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item offers request list based on the context it is used

func (ItemOffersRequestList) Validate

func (m ItemOffersRequestList) Validate(formats strfmt.Registry) error

Validate validates this item offers request list

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

func (*ItemOffersRequestParams) Validate

func (m *ItemOffersRequestParams) Validate(formats strfmt.Registry) error

Validate validates this item offers request params

type ItemOffersResponse

type ItemOffersResponse struct {
	BatchOffersResponse

	// request
	// Required: true
	Request *ItemOffersRequestParams `json:"request"`
}

ItemOffersResponse item offers response

swagger:model ItemOffersResponse

func (*ItemOffersResponse) ContextValidate

func (m *ItemOffersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ItemOffersResponse) Validate

func (m *ItemOffersResponse) Validate(formats strfmt.Registry) error

Validate validates this item offers response

type ItemOffersResponseList

type ItemOffersResponseList []*ItemOffersResponse

ItemOffersResponseList A list of `getItemOffers` batched responses.

swagger:model ItemOffersResponseList

func (ItemOffersResponseList) ContextValidate

func (m ItemOffersResponseList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item offers response list based on the context it is used

func (ItemOffersResponseList) Validate

func (m ItemOffersResponseList) Validate(formats strfmt.Registry) error

Validate validates this item offers response list

type ListingOffersRequest

type ListingOffersRequest struct {
	BatchRequest

	BatchOffersRequestParams
}

ListingOffersRequest listing offers request

swagger:model ListingOffersRequest

func (*ListingOffersRequest) ContextValidate

func (m *ListingOffersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ListingOffersRequest) Validate

func (m *ListingOffersRequest) Validate(formats strfmt.Registry) error

Validate validates this listing offers request

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

func (ListingOffersRequestList) Validate

func (m ListingOffersRequestList) Validate(formats strfmt.Registry) error

Validate validates this listing offers request list

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

func (*ListingOffersRequestParams) Validate

func (m *ListingOffersRequestParams) Validate(formats strfmt.Registry) error

Validate validates this listing offers request params

type ListingOffersResponse

type ListingOffersResponse struct {
	BatchOffersResponse

	// request
	Request *ListingOffersRequestParams `json:"request,omitempty"`
}

ListingOffersResponse listing offers response

swagger:model ListingOffersResponse

func (*ListingOffersResponse) ContextValidate

func (m *ListingOffersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ListingOffersResponse) Validate

func (m *ListingOffersResponse) Validate(formats strfmt.Registry) error

Validate validates this listing offers response

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

func (ListingOffersResponseList) Validate

func (m ListingOffersResponseList) Validate(formats strfmt.Registry) error

Validate validates this listing offers response list

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

func (m *LowestPriceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*LowestPriceType) Validate

func (m *LowestPriceType) Validate(formats strfmt.Registry) error

Validate validates this lowest price type

type LowestPrices

type LowestPrices []*LowestPriceType

LowestPrices lowest prices

swagger:model LowestPrices

func (LowestPrices) ContextValidate

func (m LowestPrices) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lowest prices based on the context it is used

func (LowestPrices) Validate

func (m LowestPrices) Validate(formats strfmt.Registry) error

Validate validates this lowest prices

type MarketplaceID

type MarketplaceID string

MarketplaceID A marketplace identifier. Specifies the marketplace for which prices are returned.

swagger:model MarketplaceId

func (MarketplaceID) ContextValidate

func (m MarketplaceID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this marketplace Id based on context it is used

func (MarketplaceID) Validate

func (m MarketplaceID) Validate(formats strfmt.Registry) error

Validate validates this marketplace Id

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

func (m *MoneyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this money type based on context it is used

func (*MoneyType) MarshalBinary

func (m *MoneyType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoneyType) UnmarshalBinary

func (m *MoneyType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoneyType) Validate

func (m *MoneyType) Validate(formats strfmt.Registry) error

Validate validates this money type

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

func (NumberOfOfferListingsList) Validate

func (m NumberOfOfferListingsList) Validate(formats strfmt.Registry) error

Validate validates this number of offer listings list

type NumberOfOffers

type NumberOfOffers []*OfferCountType

NumberOfOffers number of offers

swagger:model NumberOfOffers

func (NumberOfOffers) ContextValidate

func (m NumberOfOffers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this number of offers based on the context it is used

func (NumberOfOffers) Validate

func (m NumberOfOffers) Validate(formats strfmt.Registry) error

Validate validates this number of offers

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

func (m *OfferCountType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfferCountType) Validate

func (m *OfferCountType) Validate(formats strfmt.Registry) error

Validate validates this offer count type

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

func (m OfferCustomerType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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.

func (OfferCustomerType) Validate

func (m OfferCustomerType) Validate(formats strfmt.Registry) error

Validate validates this offer customer type

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

func (m *OfferDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfferDetail) Validate

func (m *OfferDetail) Validate(formats strfmt.Registry) error

Validate validates this offer detail

type OfferDetailList

type OfferDetailList []*OfferDetail

OfferDetailList offer detail list

swagger:model OfferDetailList

func (OfferDetailList) ContextValidate

func (m OfferDetailList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this offer detail list based on the context it is used

func (OfferDetailList) Validate

func (m OfferDetailList) Validate(formats strfmt.Registry) error

Validate validates this offer detail list

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

func (m *OfferListingCountType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*OfferListingCountType) Validate

func (m *OfferListingCountType) Validate(formats strfmt.Registry) error

Validate validates this offer listing count type

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

func (m *OfferType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this offer type based on the context it is used

func (*OfferType) MarshalBinary

func (m *OfferType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OfferType) UnmarshalBinary

func (m *OfferType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OfferType) Validate

func (m *OfferType) Validate(formats strfmt.Registry) error

Validate validates this offer type

type OffersList

type OffersList []*OfferType

OffersList A list of offers.

swagger:model OffersList

func (OffersList) ContextValidate

func (m OffersList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this offers list based on the context it is used

func (OffersList) Validate

func (m OffersList) Validate(formats strfmt.Registry) error

Validate validates this offers list

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

func (m *Points) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this points based on the context it is used

func (*Points) MarshalBinary

func (m *Points) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Points) UnmarshalBinary

func (m *Points) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Points) Validate

func (m *Points) Validate(formats strfmt.Registry) error

Validate validates this points

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

func (m *Price) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this price based on the context it is used

func (*Price) MarshalBinary

func (m *Price) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Price) UnmarshalBinary

func (m *Price) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Price) Validate

func (m *Price) Validate(formats strfmt.Registry) error

Validate validates this price

type PriceList

type PriceList []*Price

PriceList price list

swagger:model PriceList

func (PriceList) ContextValidate

func (m PriceList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this price list based on the context it is used

func (PriceList) Validate

func (m PriceList) Validate(formats strfmt.Registry) error

Validate validates this price list

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

func (m *PriceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this price type based on the context it is used

func (*PriceType) MarshalBinary

func (m *PriceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PriceType) UnmarshalBinary

func (m *PriceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PriceType) Validate

func (m *PriceType) Validate(formats strfmt.Registry) error

Validate validates this price type

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

func (m *PrimeInformationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*PrimeInformationType) Validate

func (m *PrimeInformationType) Validate(formats strfmt.Registry) error

Validate validates this prime information type

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

func (m *Product) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this product based on the context it is used

func (*Product) MarshalBinary

func (m *Product) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Product) UnmarshalBinary

func (m *Product) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Product) Validate

func (m *Product) Validate(formats strfmt.Registry) error

Validate validates this product

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

func (*QuantityDiscountPriceType) Validate

func (m *QuantityDiscountPriceType) Validate(formats strfmt.Registry) error

Validate validates this quantity discount price type

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

func (m QuantityDiscountType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this quantity discount type based on context it is used

func (QuantityDiscountType) Pointer

Pointer returns a pointer to a freshly-allocated QuantityDiscountType.

func (QuantityDiscountType) Validate

func (m QuantityDiscountType) Validate(formats strfmt.Registry) error

Validate validates this quantity discount type

type RelationshipList

type RelationshipList []interface{}

RelationshipList A list that contains product variation information, if applicable.

swagger:model RelationshipList

func (RelationshipList) ContextValidate

func (m RelationshipList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this relationship list based on context it is used

func (RelationshipList) Validate

func (m RelationshipList) Validate(formats strfmt.Registry) error

Validate validates this relationship list

type SalesRankList

type SalesRankList []*SalesRankType

SalesRankList A list of sales rank information for the item, by category.

swagger:model SalesRankList

func (SalesRankList) ContextValidate

func (m SalesRankList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sales rank list based on the context it is used

func (SalesRankList) Validate

func (m SalesRankList) Validate(formats strfmt.Registry) error

Validate validates this sales rank list

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

func (m *SalesRankType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SalesRankType) Validate

func (m *SalesRankType) Validate(formats strfmt.Registry) error

Validate validates this sales rank type

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

func (m *SellerFeedbackType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SellerFeedbackType) Validate

func (m *SellerFeedbackType) Validate(formats strfmt.Registry) error

Validate validates this seller feedback type

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

func (m *SellerSKUIdentifier) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*SellerSKUIdentifier) Validate

func (m *SellerSKUIdentifier) Validate(formats strfmt.Registry) error

Validate validates this seller s k u identifier

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

func (m *ShipsFromType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

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

func (*ShipsFromType) Validate

func (m *ShipsFromType) Validate(formats strfmt.Registry) error

Validate validates this ships from type

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

func (m *Summary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this summary based on the context it is used

func (*Summary) MarshalBinary

func (m *Summary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Summary) UnmarshalBinary

func (m *Summary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Summary) Validate

func (m *Summary) Validate(formats strfmt.Registry) error

Validate validates this summary

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL