Documentation ¶
Index ¶
- Constants
- type Decimal
- type Error
- type ErrorList
- type FulfillmentAvailability
- func (m *FulfillmentAvailability) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *FulfillmentAvailability) MarshalBinary() ([]byte, error)
- func (m *FulfillmentAvailability) UnmarshalBinary(b []byte) error
- func (m *FulfillmentAvailability) Validate(formats strfmt.Registry) error
- type Issue
- type IssueEnforcementAction
- func (m *IssueEnforcementAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *IssueEnforcementAction) MarshalBinary() ([]byte, error)
- func (m *IssueEnforcementAction) UnmarshalBinary(b []byte) error
- func (m *IssueEnforcementAction) Validate(formats strfmt.Registry) error
- type IssueEnforcements
- type IssueExemption
- type Item
- type ItemAttributes
- type ItemImage
- type ItemIssues
- type ItemOfferByMarketplace
- func (m *ItemOfferByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ItemOfferByMarketplace) MarshalBinary() ([]byte, error)
- func (m *ItemOfferByMarketplace) UnmarshalBinary(b []byte) error
- func (m *ItemOfferByMarketplace) Validate(formats strfmt.Registry) error
- type ItemOffers
- type ItemProcurement
- type ItemSummaries
- type ItemSummaryByMarketplace
- func (m *ItemSummaryByMarketplace) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ItemSummaryByMarketplace) MarshalBinary() ([]byte, error)
- func (m *ItemSummaryByMarketplace) UnmarshalBinary(b []byte) error
- func (m *ItemSummaryByMarketplace) Validate(formats strfmt.Registry) error
- type ListingsItemPatchRequest
- func (m *ListingsItemPatchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListingsItemPatchRequest) MarshalBinary() ([]byte, error)
- func (m *ListingsItemPatchRequest) UnmarshalBinary(b []byte) error
- func (m *ListingsItemPatchRequest) Validate(formats strfmt.Registry) error
- type ListingsItemPutRequest
- func (m *ListingsItemPutRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListingsItemPutRequest) MarshalBinary() ([]byte, error)
- func (m *ListingsItemPutRequest) UnmarshalBinary(b []byte) error
- func (m *ListingsItemPutRequest) Validate(formats strfmt.Registry) error
- type ListingsItemSubmissionResponse
- func (m *ListingsItemSubmissionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListingsItemSubmissionResponse) MarshalBinary() ([]byte, error)
- func (m *ListingsItemSubmissionResponse) UnmarshalBinary(b []byte) error
- func (m *ListingsItemSubmissionResponse) Validate(formats strfmt.Registry) error
- type Money
- type PatchOperation
- type Points
Constants ¶
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" )
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" )
const ( // ItemOfferByMarketplaceOfferTypeB2C captures enum value "B2C" ItemOfferByMarketplaceOfferTypeB2C string = "B2C" // ItemOfferByMarketplaceOfferTypeB2B captures enum value "B2B" ItemOfferByMarketplaceOfferTypeB2B string = "B2B" )
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" )
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" )
const ( // ListingsItemSubmissionResponseStatusACCEPTED captures enum value "ACCEPTED" ListingsItemSubmissionResponseStatusACCEPTED string = "ACCEPTED" // ListingsItemSubmissionResponseStatusINVALID captures enum value "INVALID" ListingsItemSubmissionResponseStatusINVALID string = "INVALID" )
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 ¶
ContextValidate validates this decimal based on context it is used
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 ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList 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 ¶
ContextValidate validate this error list based on the context it is used
func (*ErrorList) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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 ¶
ContextValidate validate this issue based on the context it is used
func (*Issue) MarshalBinary ¶
MarshalBinary interface implementation
func (*Issue) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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 ¶
ContextValidate validate this item based on the context it is used
func (*Item) MarshalBinary ¶
MarshalBinary interface implementation
func (*Item) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this item image based on context it is used
func (*ItemImage) MarshalBinary ¶
MarshalBinary interface implementation
func (*ItemImage) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemIssues ¶
type ItemIssues []*Issue
ItemIssues The issues associated with the listings item.
swagger:model ItemIssues
func (ItemIssues) ContextValidate ¶
ContextValidate validate this item issues based on the context it is used
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
type ItemOffers ¶
type ItemOffers []*ItemOfferByMarketplace
ItemOffers Offer details for the listings item.
swagger:model ItemOffers
func (ItemOffers) ContextValidate ¶
ContextValidate validate this item offers based on the context it is used
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 ¶
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
type ItemSummaries ¶
type ItemSummaries []*ItemSummaryByMarketplace
ItemSummaries Summary details of a listings item.
swagger:model ItemSummaries
func (ItemSummaries) ContextValidate ¶
ContextValidate validate this item summaries based on the context it is used
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
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
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
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
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 ¶
ContextValidate validate this money based on the context it is used
func (*Money) MarshalBinary ¶
MarshalBinary interface implementation
func (*Money) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this points based on context it is used
func (*Points) MarshalBinary ¶
MarshalBinary interface implementation
func (*Points) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files ¶
- decimal.go
- error.go
- error_list.go
- fulfillment_availability.go
- issue.go
- issue_enforcement_action.go
- issue_enforcements.go
- issue_exemption.go
- item.go
- item_attributes.go
- item_image.go
- item_issues.go
- item_offer_by_marketplace.go
- item_offers.go
- item_procurement.go
- item_summaries.go
- item_summary_by_marketplace.go
- listings_item_patch_request.go
- listings_item_put_request.go
- listings_item_submission_response.go
- money.go
- patch_operation.go
- points.go