listings_items_2021_08_01_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 (

	// IssueSeverityERROR captures enum value "ERROR"
	IssueSeverityERROR string = "ERROR"

	// IssueSeverityWARNING captures enum value "WARNING"
	IssueSeverityWARNING string = "WARNING"

	// IssueSeverityINFO captures enum value "INFO"
	IssueSeverityINFO string = "INFO"
)
View Source
const (

	// IssueExemptionStatusEXEMPT captures enum value "EXEMPT"
	IssueExemptionStatusEXEMPT string = "EXEMPT"

	// IssueExemptionStatusEXEMPTUNTILEXPIRYDATE captures enum value "EXEMPT_UNTIL_EXPIRY_DATE"
	IssueExemptionStatusEXEMPTUNTILEXPIRYDATE string = "EXEMPT_UNTIL_EXPIRY_DATE"

	// IssueExemptionStatusNOTEXEMPT captures enum value "NOT_EXEMPT"
	IssueExemptionStatusNOTEXEMPT string = "NOT_EXEMPT"
)
View Source
const (

	// ItemOfferByMarketplaceOfferTypeB2C captures enum value "B2C"
	ItemOfferByMarketplaceOfferTypeB2C string = "B2C"

	// ItemOfferByMarketplaceOfferTypeB2B captures enum value "B2B"
	ItemOfferByMarketplaceOfferTypeB2B string = "B2B"
)
View Source
const (

	// ItemSummaryByMarketplaceConditionTypeNewNew captures enum value "new_new"
	ItemSummaryByMarketplaceConditionTypeNewNew string = "new_new"

	// ItemSummaryByMarketplaceConditionTypeNewOpenBox captures enum value "new_open_box"
	ItemSummaryByMarketplaceConditionTypeNewOpenBox string = "new_open_box"

	// ItemSummaryByMarketplaceConditionTypeNewOem captures enum value "new_oem"
	ItemSummaryByMarketplaceConditionTypeNewOem string = "new_oem"

	// ItemSummaryByMarketplaceConditionTypeRefurbishedRefurbished captures enum value "refurbished_refurbished"
	ItemSummaryByMarketplaceConditionTypeRefurbishedRefurbished string = "refurbished_refurbished"

	// ItemSummaryByMarketplaceConditionTypeUsedLikeNew captures enum value "used_like_new"
	ItemSummaryByMarketplaceConditionTypeUsedLikeNew string = "used_like_new"

	// ItemSummaryByMarketplaceConditionTypeUsedVeryGood captures enum value "used_very_good"
	ItemSummaryByMarketplaceConditionTypeUsedVeryGood string = "used_very_good"

	// ItemSummaryByMarketplaceConditionTypeUsedGood captures enum value "used_good"
	ItemSummaryByMarketplaceConditionTypeUsedGood string = "used_good"

	// ItemSummaryByMarketplaceConditionTypeUsedAcceptable captures enum value "used_acceptable"
	ItemSummaryByMarketplaceConditionTypeUsedAcceptable string = "used_acceptable"

	// ItemSummaryByMarketplaceConditionTypeCollectibleLikeNew captures enum value "collectible_like_new"
	ItemSummaryByMarketplaceConditionTypeCollectibleLikeNew string = "collectible_like_new"

	// ItemSummaryByMarketplaceConditionTypeCollectibleVeryGood captures enum value "collectible_very_good"
	ItemSummaryByMarketplaceConditionTypeCollectibleVeryGood string = "collectible_very_good"

	// ItemSummaryByMarketplaceConditionTypeCollectibleGood captures enum value "collectible_good"
	ItemSummaryByMarketplaceConditionTypeCollectibleGood string = "collectible_good"

	// ItemSummaryByMarketplaceConditionTypeCollectibleAcceptable captures enum value "collectible_acceptable"
	ItemSummaryByMarketplaceConditionTypeCollectibleAcceptable string = "collectible_acceptable"

	// ItemSummaryByMarketplaceConditionTypeClubClub captures enum value "club_club"
	ItemSummaryByMarketplaceConditionTypeClubClub string = "club_club"
)
View Source
const (

	// ListingsItemPutRequestRequirementsLISTING captures enum value "LISTING"
	ListingsItemPutRequestRequirementsLISTING string = "LISTING"

	// ListingsItemPutRequestRequirementsLISTINGPRODUCTONLY captures enum value "LISTING_PRODUCT_ONLY"
	ListingsItemPutRequestRequirementsLISTINGPRODUCTONLY string = "LISTING_PRODUCT_ONLY"

	// ListingsItemPutRequestRequirementsLISTINGOFFERONLY captures enum value "LISTING_OFFER_ONLY"
	ListingsItemPutRequestRequirementsLISTINGOFFERONLY string = "LISTING_OFFER_ONLY"
)
View Source
const (

	// ListingsItemSubmissionResponseStatusACCEPTED captures enum value "ACCEPTED"
	ListingsItemSubmissionResponseStatusACCEPTED string = "ACCEPTED"

	// ListingsItemSubmissionResponseStatusINVALID captures enum value "INVALID"
	ListingsItemSubmissionResponseStatusINVALID string = "INVALID"
)
View Source
const (

	// PatchOperationOpAdd captures enum value "add"
	PatchOperationOpAdd string = "add"

	// PatchOperationOpReplace captures enum value "replace"
	PatchOperationOpReplace string = "replace"

	// PatchOperationOpDelete captures enum value "delete"
	PatchOperationOpDelete string = "delete"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Decimal

type Decimal string

Decimal A decimal number with no loss of precision. Useful when precision loss is unnaceptable, as with currencies. Follows RFC7159 for number representation.

swagger:model Decimal

func (Decimal) ContextValidate

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

ContextValidate validates this decimal based on context it is used

func (Decimal) Validate

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

Validate validates this decimal

type Error

type Error struct {

	// An error code that identifies the type of error that occurred.
	// Required: true
	Code *string `json:"code"`

	// Additional details that can help the caller understand or fix the issue.
	Details string `json:"details,omitempty"`

	// A message that describes the error condition.
	// 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 struct {

	// errors
	// Required: true
	Errors []*Error `json:"errors"`
}

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) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorList) Validate

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

Validate validates this error list

type FulfillmentAvailability

type FulfillmentAvailability struct {

	// The code of the fulfillment network that will be used.
	// Required: true
	FulfillmentChannelCode *string `json:"fulfillmentChannelCode"`

	// The quantity of the item you are making available for sale.
	// Minimum: 0
	Quantity *int64 `json:"quantity,omitempty"`
}

FulfillmentAvailability The fulfillment availability details for the listings item.

swagger:model FulfillmentAvailability

func (*FulfillmentAvailability) ContextValidate

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

ContextValidate validates this fulfillment availability based on context it is used

func (*FulfillmentAvailability) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentAvailability) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentAvailability) Validate

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

Validate validates this fulfillment availability

type Issue

type Issue struct {

	// The names of the attributes associated with the issue, if applicable.
	AttributeNames []string `json:"attributeNames"`

	// List of issue categories.
	//
	// Possible vales:
	//
	// * `INVALID_ATTRIBUTE` - Indicating an invalid attribute in the listing.
	//
	// * `MISSING_ATTRIBUTE` - Highlighting a missing attribute in the listing.
	//
	// * `INVALID_IMAGE` - Signifying an invalid image in the listing.
	//
	// * `MISSING_IMAGE` - Noting the absence of an image in the listing.
	//
	// * `INVALID_PRICE` - Pertaining to issues with the listing`s price-related attributes.
	//
	// * `MISSING_PRICE` - Pointing out the absence of a price attribute in the listing.
	//
	// * `DUPLICATE` - Identifying listings with potential duplicate problems, such as this ASIN potentially being a duplicate of another ASIN.
	//
	// * `QUALIFICATION_REQUIRED` - Indicating that the listing requires qualification-related approval.
	// Example: ["INVALID_ATTRIBUTE"]
	// Required: true
	Categories []string `json:"categories"`

	// An issue code that identifies the type of issue.
	// Required: true
	Code *string `json:"code"`

	// This field provides information about the enforcement actions taken by Amazon that affect the publishing or status of a listing. It also includes details about any associated exemptions.
	Enforcements *IssueEnforcements `json:"enforcements,omitempty"`

	// A message that describes the issue.
	// Required: true
	Message *string `json:"message"`

	// The severity of the issue.
	// Required: true
	// Enum: [ERROR WARNING INFO]
	Severity *string `json:"severity"`
}

Issue An issue with a listings item.

swagger:model Issue

func (*Issue) ContextValidate

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

ContextValidate validate this issue based on the context it is used

func (*Issue) MarshalBinary

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

MarshalBinary interface implementation

func (*Issue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Issue) Validate

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

Validate validates this issue

type IssueEnforcementAction added in v0.3.0

type IssueEnforcementAction struct {

	// The enforcement action name.
	//
	// Possible values:
	//
	// * `LISTING_SUPPRESSED` - This enforcement takes down the current listing item`s buyability.
	//
	// * `ATTRIBUTE_SUPPRESSED` - An attribute`s value on the listing item is invalid, which causes it to be rejected by Amazon.
	//
	// * `CATALOG_ITEM_REMOVED` - This catalog item is inactive on Amazon, and all offers against it in the applicable marketplace are non-buyable.
	//
	// * `SEARCH_SUPPRESSED` - This value indicates that the catalog item is hidden from search results.
	// Example: LISTING_SUPPRESSED
	// Required: true
	Action *string `json:"action"`
}

IssueEnforcementAction The enforcement action taken by Amazon that affect the publishing or status of a listing

swagger:model IssueEnforcementAction

func (*IssueEnforcementAction) ContextValidate added in v0.3.0

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

ContextValidate validates this issue enforcement action based on context it is used

func (*IssueEnforcementAction) MarshalBinary added in v0.3.0

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

MarshalBinary interface implementation

func (*IssueEnforcementAction) UnmarshalBinary added in v0.3.0

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

UnmarshalBinary interface implementation

func (*IssueEnforcementAction) Validate added in v0.3.0

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

Validate validates this issue enforcement action

type IssueEnforcements added in v0.3.0

type IssueEnforcements struct {

	// List of enforcement actions taken by Amazon that affect the publishing or status of a listing.
	// Required: true
	Actions []*IssueEnforcementAction `json:"actions"`

	// The "exemption" field serves to convey the status of enforcement actions by Amazon.
	// Required: true
	Exemption *IssueExemption `json:"exemption"`
}

IssueEnforcements This field provides information about the enforcement actions taken by Amazon that affect the publishing or status of a listing. It also includes details about any associated exemptions.

swagger:model IssueEnforcements

func (*IssueEnforcements) ContextValidate added in v0.3.0

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

ContextValidate validate this issue enforcements based on the context it is used

func (*IssueEnforcements) MarshalBinary added in v0.3.0

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

MarshalBinary interface implementation

func (*IssueEnforcements) UnmarshalBinary added in v0.3.0

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

UnmarshalBinary interface implementation

func (*IssueEnforcements) Validate added in v0.3.0

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

Validate validates this issue enforcements

type IssueExemption added in v0.3.0

type IssueExemption struct {

	// This field represents the timestamp, following the ISO 8601 format, which specifies the date when temporary exemptions, if applicable, will expire, and Amazon will begin enforcing the listed actions.
	// Example: 2023-10-28T00:36:48.914Z
	// Format: date-time
	ExpiryDate strfmt.DateTime `json:"expiryDate,omitempty"`

	// This field indicates the current exemption status for the listed enforcement actions. It can take values such as `EXEMPT`, signifying permanent exemption, `EXEMPT_UNTIL_EXPIRY_DATE` indicating temporary exemption until a specified date, or `NOT_EXEMPT` signifying no exemptions, and enforcement actions were already applied.
	// Required: true
	// Enum: [EXEMPT EXEMPT_UNTIL_EXPIRY_DATE NOT_EXEMPT]
	Status *string `json:"status"`
}

IssueExemption Conveying the status of the listed enforcement actions and, if applicable, provides information about the exemption's expiry date.

swagger:model IssueExemption

func (*IssueExemption) ContextValidate added in v0.3.0

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

ContextValidate validates this issue exemption based on context it is used

func (*IssueExemption) MarshalBinary added in v0.3.0

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

MarshalBinary interface implementation

func (*IssueExemption) UnmarshalBinary added in v0.3.0

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

UnmarshalBinary interface implementation

func (*IssueExemption) Validate added in v0.3.0

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

Validate validates this issue exemption

type Item

type Item struct {

	// attributes
	Attributes ItemAttributes `json:"attributes,omitempty"`

	// The fulfillment availability for the listings item.
	FulfillmentAvailability []*FulfillmentAvailability `json:"fulfillmentAvailability"`

	// issues
	Issues ItemIssues `json:"issues,omitempty"`

	// offers
	Offers ItemOffers `json:"offers,omitempty"`

	// The vendor procurement information for the listings item.
	Procurement []*ItemProcurement `json:"procurement"`

	// A selling partner provided identifier for an Amazon listing.
	// Required: true
	Sku *string `json:"sku"`

	// summaries
	Summaries ItemSummaries `json:"summaries,omitempty"`
}

Item A listings item.

swagger:model Item

func (*Item) ContextValidate

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

ContextValidate validate this item based on the context it is used

func (*Item) MarshalBinary

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

MarshalBinary interface implementation

func (*Item) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Item) Validate

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

Validate validates this item

type ItemAttributes

type ItemAttributes interface{}

ItemAttributes A JSON object containing structured listings item attribute data keyed by attribute name.

swagger:model ItemAttributes

type ItemImage

type ItemImage struct {

	// The height of the image in pixels.
	// Required: true
	Height *int64 `json:"height"`

	// The link, or URL, to the image.
	// Required: true
	Link *string `json:"link"`

	// The width of the image in pixels.
	// Required: true
	Width *int64 `json:"width"`
}

ItemImage The image for the listings item.

swagger:model ItemImage

func (*ItemImage) ContextValidate

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

ContextValidate validates this item image based on context it is used

func (*ItemImage) MarshalBinary

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

MarshalBinary interface implementation

func (*ItemImage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ItemImage) Validate

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

Validate validates this item image

type ItemIssues

type ItemIssues []*Issue

ItemIssues The issues associated with the listings item.

swagger:model ItemIssues

func (ItemIssues) ContextValidate

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

ContextValidate validate this item issues based on the context it is used

func (ItemIssues) Validate

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

Validate validates this item issues

type ItemOfferByMarketplace

type ItemOfferByMarketplace struct {

	// The Amazon marketplace identifier.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// Type of offer for the listings item.
	// Required: true
	// Enum: [B2C B2B]
	OfferType *string `json:"offerType"`

	// points
	Points *Points `json:"points,omitempty"`

	// The purchase price of the listings item
	// Required: true
	Price *Money `json:"price"`
}

ItemOfferByMarketplace Offer details of a listings item for an Amazon marketplace.

swagger:model ItemOfferByMarketplace

func (*ItemOfferByMarketplace) ContextValidate

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

ContextValidate validate this item offer by marketplace based on the context it is used

func (*ItemOfferByMarketplace) MarshalBinary

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

MarshalBinary interface implementation

func (*ItemOfferByMarketplace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ItemOfferByMarketplace) Validate

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

Validate validates this item offer by marketplace

type ItemOffers

type ItemOffers []*ItemOfferByMarketplace

ItemOffers Offer details for the listings item.

swagger:model ItemOffers

func (ItemOffers) ContextValidate

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

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

func (ItemOffers) Validate

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

Validate validates this item offers

type ItemProcurement

type ItemProcurement struct {

	// The price (numeric value) that you want Amazon to pay you for this product.
	// Required: true
	CostPrice *Money `json:"costPrice"`
}

ItemProcurement The vendor procurement information for the listings item.

swagger:model ItemProcurement

func (*ItemProcurement) ContextValidate

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

ContextValidate validate this item procurement based on the context it is used

func (*ItemProcurement) MarshalBinary

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

MarshalBinary interface implementation

func (*ItemProcurement) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ItemProcurement) Validate

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

Validate validates this item procurement

type ItemSummaries

type ItemSummaries []*ItemSummaryByMarketplace

ItemSummaries Summary details of a listings item.

swagger:model ItemSummaries

func (ItemSummaries) ContextValidate

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

ContextValidate validate this item summaries based on the context it is used

func (ItemSummaries) Validate

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

Validate validates this item summaries

type ItemSummaryByMarketplace

type ItemSummaryByMarketplace struct {

	// Amazon Standard Identification Number (ASIN) of the listings item.
	// Required: true
	Asin *string `json:"asin"`

	// Identifies the condition of the listings item.
	// Enum: [new_new new_open_box new_oem refurbished_refurbished used_like_new used_very_good used_good used_acceptable collectible_like_new collectible_very_good collectible_good collectible_acceptable club_club]
	ConditionType string `json:"conditionType,omitempty"`

	// The date the listings item was created in ISO 8601 format.
	// Required: true
	// Format: date-time
	CreatedDate *strfmt.DateTime `json:"createdDate"`

	// The fulfillment network stock keeping unit is an identifier used by Amazon fulfillment centers to identify each unique item.
	FnSku string `json:"fnSku,omitempty"`

	// The name or title associated with an Amazon catalog item.
	// Required: true
	ItemName *string `json:"itemName"`

	// The date the listings item was last updated in ISO 8601 format.
	// Required: true
	// Format: date-time
	LastUpdatedDate *strfmt.DateTime `json:"lastUpdatedDate"`

	// The main image for the listings item.
	MainImage *ItemImage `json:"mainImage,omitempty"`

	// A marketplace identifier. Identifies the Amazon marketplace for the listings item.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// The Amazon product type of the listings item.
	// Required: true
	ProductType *string `json:"productType"`

	// Statuses that apply to the listings item.
	// Required: true
	Status []string `json:"status"`
}

ItemSummaryByMarketplace Summary details of a listings item for an Amazon marketplace.

swagger:model ItemSummaryByMarketplace

func (*ItemSummaryByMarketplace) ContextValidate

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

ContextValidate validate this item summary by marketplace based on the context it is used

func (*ItemSummaryByMarketplace) MarshalBinary

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

MarshalBinary interface implementation

func (*ItemSummaryByMarketplace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ItemSummaryByMarketplace) Validate

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

Validate validates this item summary by marketplace

type ListingsItemPatchRequest

type ListingsItemPatchRequest struct {

	// One or more JSON Patch operations to perform on the listings item.
	// Required: true
	// Min Items: 1
	Patches []*PatchOperation `json:"patches"`

	// The Amazon product type of the listings item.
	// Required: true
	ProductType *string `json:"productType"`
}

ListingsItemPatchRequest The request body schema for the `patchListingsItem` operation.

swagger:model ListingsItemPatchRequest

func (*ListingsItemPatchRequest) ContextValidate

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

ContextValidate validate this listings item patch request based on the context it is used

func (*ListingsItemPatchRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListingsItemPatchRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListingsItemPatchRequest) Validate

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

Validate validates this listings item patch request

type ListingsItemPutRequest

type ListingsItemPutRequest struct {

	// A JSON object containing structured listings item attribute data keyed by attribute name.
	// Required: true
	Attributes interface{} `json:"attributes"`

	// The Amazon product type of the listings item.
	// Required: true
	ProductType *string `json:"productType"`

	// The name of the requirements set for the provided data.
	// Enum: [LISTING LISTING_PRODUCT_ONLY LISTING_OFFER_ONLY]
	Requirements string `json:"requirements,omitempty"`
}

ListingsItemPutRequest The request body schema for the `putListingsItem` operation.

swagger:model ListingsItemPutRequest

func (*ListingsItemPutRequest) ContextValidate

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

ContextValidate validates this listings item put request based on context it is used

func (*ListingsItemPutRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListingsItemPutRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListingsItemPutRequest) Validate

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

Validate validates this listings item put request

type ListingsItemSubmissionResponse

type ListingsItemSubmissionResponse struct {

	// Listings item issues related to the listings item submission.
	Issues []*Issue `json:"issues"`

	// A selling partner provided identifier for an Amazon listing.
	// Required: true
	Sku *string `json:"sku"`

	// The status of the listings item submission.
	// Required: true
	// Enum: [ACCEPTED INVALID]
	Status *string `json:"status"`

	// The unique identifier of the listings item submission.
	// Required: true
	SubmissionID *string `json:"submissionId"`
}

ListingsItemSubmissionResponse Response containing the results of a submission to the Selling Partner API for Listings Items.

swagger:model ListingsItemSubmissionResponse

func (*ListingsItemSubmissionResponse) ContextValidate

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

ContextValidate validate this listings item submission response based on the context it is used

func (*ListingsItemSubmissionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListingsItemSubmissionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListingsItemSubmissionResponse) Validate

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

Validate validates this listings item submission response

type Money

type Money struct {

	// The currency amount.
	// Required: true
	Amount *Decimal `json:"amount"`

	// Three-digit currency code in ISO 4217 format.
	// Required: true
	CurrencyCode *string `json:"currencyCode"`
}

Money The currency type and amount.

swagger:model Money

func (*Money) ContextValidate

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

ContextValidate validate this money based on the context it is used

func (*Money) MarshalBinary

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

MarshalBinary interface implementation

func (*Money) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Money) Validate

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

Validate validates this money

type PatchOperation

type PatchOperation struct {

	// Type of JSON Patch operation. Supported JSON Patch operations include add, replace, and delete. Refer to [JavaScript Object Notation (JSON) Patch](https://tools.ietf.org/html/rfc6902) for more information.
	// Required: true
	// Enum: [add replace delete]
	Op *string `json:"op"`

	// JSON Pointer path of the element to patch. Refer to [JavaScript Object Notation (JSON) Patch](https://tools.ietf.org/html/rfc6902) for more information.
	// Required: true
	Path *string `json:"path"`

	// JSON value to add, replace, or delete.
	Value []interface{} `json:"value"`
}

PatchOperation Individual JSON Patch operation for an HTTP PATCH request.

swagger:model PatchOperation

func (*PatchOperation) ContextValidate

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

ContextValidate validates this patch operation based on context it is used

func (*PatchOperation) MarshalBinary

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

MarshalBinary interface implementation

func (*PatchOperation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PatchOperation) Validate

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

Validate validates this patch operation

type Points

type Points struct {

	// points number
	// Required: true
	PointsNumber *int64 `json:"pointsNumber"`
}

Points The number of Amazon Points offered with the purchase of an item, and their monetary value. Note that the `Points` element is only returned in Japan (JP).

swagger:model Points

func (*Points) ContextValidate

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

ContextValidate validates this points based on 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

Jump to

Keyboard shortcuts

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