Documentation ¶
Index ¶
- Constants
- type Error
- type ErrorList
- type FeeLineItem
- type FeePreview
- type Item
- type MarketplaceID
- type MoneyType
- type SellerSKU
- type SmallAndLightEligibility
- func (m *SmallAndLightEligibility) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmallAndLightEligibility) MarshalBinary() ([]byte, error)
- func (m *SmallAndLightEligibility) UnmarshalBinary(b []byte) error
- func (m *SmallAndLightEligibility) Validate(formats strfmt.Registry) error
- type SmallAndLightEligibilityStatus
- type SmallAndLightEnrollment
- func (m *SmallAndLightEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmallAndLightEnrollment) MarshalBinary() ([]byte, error)
- func (m *SmallAndLightEnrollment) UnmarshalBinary(b []byte) error
- func (m *SmallAndLightEnrollment) Validate(formats strfmt.Registry) error
- type SmallAndLightEnrollmentStatus
- type SmallAndLightFeePreviewRequest
- func (m *SmallAndLightFeePreviewRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmallAndLightFeePreviewRequest) MarshalBinary() ([]byte, error)
- func (m *SmallAndLightFeePreviewRequest) UnmarshalBinary(b []byte) error
- func (m *SmallAndLightFeePreviewRequest) Validate(formats strfmt.Registry) error
- type SmallAndLightFeePreviews
- func (m *SmallAndLightFeePreviews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SmallAndLightFeePreviews) MarshalBinary() ([]byte, error)
- func (m *SmallAndLightFeePreviews) UnmarshalBinary(b []byte) error
- func (m *SmallAndLightFeePreviews) Validate(formats strfmt.Registry) error
Constants ¶
const ( // FeeLineItemFeeTypeFBAWeightBasedFee captures enum value "FBAWeightBasedFee" FeeLineItemFeeTypeFBAWeightBasedFee string = "FBAWeightBasedFee" // FeeLineItemFeeTypeFBAPerOrderFulfillmentFee captures enum value "FBAPerOrderFulfillmentFee" FeeLineItemFeeTypeFBAPerOrderFulfillmentFee string = "FBAPerOrderFulfillmentFee" // FeeLineItemFeeTypeFBAPerUnitFulfillmentFee captures enum value "FBAPerUnitFulfillmentFee" FeeLineItemFeeTypeFBAPerUnitFulfillmentFee string = "FBAPerUnitFulfillmentFee" // FeeLineItemFeeTypeCommission captures enum value "Commission" FeeLineItemFeeTypeCommission string = "Commission" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // An error code that identifies the type of error that occurred. // Required: true Code *string `json:"code"` // Additional information that can help the caller understand or fix the issue. Details string `json:"details,omitempty"` // A message that describes the error condition in a human-readable form. // Required: true Message *string `json:"message"` }
Error Error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList struct { // errors 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 FeeLineItem ¶
type FeeLineItem struct { // Amount charged to the seller for the specific fee type. // Required: true FeeCharge *MoneyType `json:"feeCharge"` // The type of fee charged to the seller. // Required: true // Enum: [FBAWeightBasedFee FBAPerOrderFulfillmentFee FBAPerUnitFulfillmentFee Commission] FeeType *string `json:"feeType"` }
FeeLineItem Fee details for a specific fee.
swagger:model FeeLineItem
func (*FeeLineItem) ContextValidate ¶
ContextValidate validate this fee line item based on the context it is used
func (*FeeLineItem) MarshalBinary ¶
func (m *FeeLineItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FeeLineItem) UnmarshalBinary ¶
func (m *FeeLineItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FeePreview ¶
type FeePreview struct { // The Amazon Standard Identification Number (ASIN) value used to identify the item. Asin string `json:"asin,omitempty"` // One or more unexpected errors occurred during the getSmallAndLightFeePreview operation. Errors []*Error `json:"errors"` // A list of the Small and Light fees for the item. FeeBreakdown []*FeeLineItem `json:"feeBreakdown"` // The price that the seller plans to charge for the item. Price *MoneyType `json:"price,omitempty"` // The total fees charged if the item participated in the Small and Light program. TotalFees *MoneyType `json:"totalFees,omitempty"` }
FeePreview The fee estimate for a specific item.
swagger:model FeePreview
func (*FeePreview) ContextValidate ¶
ContextValidate validate this fee preview based on the context it is used
func (*FeePreview) MarshalBinary ¶
func (m *FeePreview) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FeePreview) UnmarshalBinary ¶
func (m *FeePreview) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Item ¶
type Item struct { // The Amazon Standard Identification Number (ASIN) value used to identify the item. // Required: true Asin *string `json:"asin"` // The price that the seller plans to charge for the item. // Required: true Price *MoneyType `json:"price"` }
Item An item to be sold.
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 MarketplaceID ¶
type MarketplaceID string
MarketplaceID A marketplace identifier.
swagger:model MarketplaceId
func (MarketplaceID) ContextValidate ¶
ContextValidate validates this marketplace Id based on context it is used
type MoneyType ¶
type MoneyType struct { // The monetary value. Amount float64 `json:"amount,omitempty"` // The currency code in ISO 4217 format. CurrencyCode string `json:"currencyCode,omitempty"` }
MoneyType money type
swagger:model MoneyType
func (*MoneyType) ContextValidate ¶
ContextValidate validates this money type based on context it is used
func (*MoneyType) MarshalBinary ¶
MarshalBinary interface implementation
func (*MoneyType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SellerSKU ¶
type SellerSKU string
SellerSKU Identifies an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit.
swagger:model SellerSKU
func (SellerSKU) ContextValidate ¶
ContextValidate validates this seller s k u based on context it is used
type SmallAndLightEligibility ¶
type SmallAndLightEligibility struct { // marketplace Id // Required: true MarketplaceID *MarketplaceID `json:"marketplaceId"` // seller s k u // Required: true SellerSKU *SellerSKU `json:"sellerSKU"` // status // Required: true Status *SmallAndLightEligibilityStatus `json:"status"` }
SmallAndLightEligibility The Small and Light eligibility status of the item indicated by the specified seller SKU.
swagger:model SmallAndLightEligibility
func (*SmallAndLightEligibility) ContextValidate ¶
func (m *SmallAndLightEligibility) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this small and light eligibility based on the context it is used
func (*SmallAndLightEligibility) MarshalBinary ¶
func (m *SmallAndLightEligibility) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmallAndLightEligibility) UnmarshalBinary ¶
func (m *SmallAndLightEligibility) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmallAndLightEligibilityStatus ¶
type SmallAndLightEligibilityStatus string
SmallAndLightEligibilityStatus The Small and Light eligibility status of the item.
swagger:model SmallAndLightEligibilityStatus
const ( // SmallAndLightEligibilityStatusELIGIBLE captures enum value "ELIGIBLE" SmallAndLightEligibilityStatusELIGIBLE SmallAndLightEligibilityStatus = "ELIGIBLE" // SmallAndLightEligibilityStatusNOTELIGIBLE captures enum value "NOT_ELIGIBLE" SmallAndLightEligibilityStatusNOTELIGIBLE SmallAndLightEligibilityStatus = "NOT_ELIGIBLE" )
func NewSmallAndLightEligibilityStatus ¶
func NewSmallAndLightEligibilityStatus(value SmallAndLightEligibilityStatus) *SmallAndLightEligibilityStatus
func (SmallAndLightEligibilityStatus) ContextValidate ¶
func (m SmallAndLightEligibilityStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this small and light eligibility status based on context it is used
func (SmallAndLightEligibilityStatus) Pointer ¶
func (m SmallAndLightEligibilityStatus) Pointer() *SmallAndLightEligibilityStatus
Pointer returns a pointer to a freshly-allocated SmallAndLightEligibilityStatus.
type SmallAndLightEnrollment ¶
type SmallAndLightEnrollment struct { // marketplace Id // Required: true MarketplaceID *MarketplaceID `json:"marketplaceId"` // seller s k u // Required: true SellerSKU *SellerSKU `json:"sellerSKU"` // status // Required: true Status *SmallAndLightEnrollmentStatus `json:"status"` }
SmallAndLightEnrollment The Small and Light enrollment status of the item indicated by the specified seller SKU.
swagger:model SmallAndLightEnrollment
func (*SmallAndLightEnrollment) ContextValidate ¶
func (m *SmallAndLightEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this small and light enrollment based on the context it is used
func (*SmallAndLightEnrollment) MarshalBinary ¶
func (m *SmallAndLightEnrollment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmallAndLightEnrollment) UnmarshalBinary ¶
func (m *SmallAndLightEnrollment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmallAndLightEnrollmentStatus ¶
type SmallAndLightEnrollmentStatus string
SmallAndLightEnrollmentStatus The Small and Light enrollment status of the item.
swagger:model SmallAndLightEnrollmentStatus
const ( // SmallAndLightEnrollmentStatusENROLLED captures enum value "ENROLLED" SmallAndLightEnrollmentStatusENROLLED SmallAndLightEnrollmentStatus = "ENROLLED" // SmallAndLightEnrollmentStatusNOTENROLLED captures enum value "NOT_ENROLLED" SmallAndLightEnrollmentStatusNOTENROLLED SmallAndLightEnrollmentStatus = "NOT_ENROLLED" )
func NewSmallAndLightEnrollmentStatus ¶
func NewSmallAndLightEnrollmentStatus(value SmallAndLightEnrollmentStatus) *SmallAndLightEnrollmentStatus
func (SmallAndLightEnrollmentStatus) ContextValidate ¶
func (m SmallAndLightEnrollmentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this small and light enrollment status based on context it is used
func (SmallAndLightEnrollmentStatus) Pointer ¶
func (m SmallAndLightEnrollmentStatus) Pointer() *SmallAndLightEnrollmentStatus
Pointer returns a pointer to a freshly-allocated SmallAndLightEnrollmentStatus.
type SmallAndLightFeePreviewRequest ¶
type SmallAndLightFeePreviewRequest struct { // A list of items for which to retrieve fee estimates (limit: 25). // Required: true // Max Items: 25 Items []*Item `json:"items"` // marketplace Id // Required: true MarketplaceID *MarketplaceID `json:"marketplaceId"` }
SmallAndLightFeePreviewRequest Request schema for submitting items for which to retrieve fee estimates.
swagger:model SmallAndLightFeePreviewRequest
func (*SmallAndLightFeePreviewRequest) ContextValidate ¶
func (m *SmallAndLightFeePreviewRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this small and light fee preview request based on the context it is used
func (*SmallAndLightFeePreviewRequest) MarshalBinary ¶
func (m *SmallAndLightFeePreviewRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmallAndLightFeePreviewRequest) UnmarshalBinary ¶
func (m *SmallAndLightFeePreviewRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SmallAndLightFeePreviews ¶
type SmallAndLightFeePreviews struct { // A list of fee estimates for the requested items. The order of the fee estimates will follow the same order as the items in the request, with duplicates removed. Data []*FeePreview `json:"data"` }
SmallAndLightFeePreviews small and light fee previews
swagger:model SmallAndLightFeePreviews
func (*SmallAndLightFeePreviews) ContextValidate ¶
func (m *SmallAndLightFeePreviews) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this small and light fee previews based on the context it is used
func (*SmallAndLightFeePreviews) MarshalBinary ¶
func (m *SmallAndLightFeePreviews) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SmallAndLightFeePreviews) UnmarshalBinary ¶
func (m *SmallAndLightFeePreviews) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- error.go
- error_list.go
- fee_line_item.go
- fee_preview.go
- item.go
- marketplace_id.go
- money_type.go
- seller_s_k_u.go
- small_and_light_eligibility.go
- small_and_light_eligibility_status.go
- small_and_light_enrollment.go
- small_and_light_enrollment_status.go
- small_and_light_fee_preview_request.go
- small_and_light_fee_previews.go