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

	// FeatureSettingsFeatureFulfillmentPolicyRequired captures enum value "Required"
	FeatureSettingsFeatureFulfillmentPolicyRequired string = "Required"

	// FeatureSettingsFeatureFulfillmentPolicyNotRequired captures enum value "NotRequired"
	FeatureSettingsFeatureFulfillmentPolicyNotRequired string = "NotRequired"
)
View Source
const (

	// FeeNameFBAPerUnitFulfillmentFee captures enum value "FBAPerUnitFulfillmentFee"
	FeeNameFBAPerUnitFulfillmentFee string = "FBAPerUnitFulfillmentFee"

	// FeeNameFBAPerOrderFulfillmentFee captures enum value "FBAPerOrderFulfillmentFee"
	FeeNameFBAPerOrderFulfillmentFee string = "FBAPerOrderFulfillmentFee"

	// FeeNameFBATransportationFee captures enum value "FBATransportationFee"
	FeeNameFBATransportationFee string = "FBATransportationFee"

	// FeeNameFBAFulfillmentCODFee captures enum value "FBAFulfillmentCODFee"
	FeeNameFBAFulfillmentCODFee string = "FBAFulfillmentCODFee"
)
View Source
const (

	// FulfillmentPreviewItemShippingWeightCalculationMethodPackage captures enum value "Package"
	FulfillmentPreviewItemShippingWeightCalculationMethodPackage string = "Package"

	// FulfillmentPreviewItemShippingWeightCalculationMethodDimensional captures enum value "Dimensional"
	FulfillmentPreviewItemShippingWeightCalculationMethodDimensional string = "Dimensional"
)
View Source
const (

	// FulfillmentShipmentFulfillmentShipmentStatusPENDING captures enum value "PENDING"
	FulfillmentShipmentFulfillmentShipmentStatusPENDING string = "PENDING"

	// FulfillmentShipmentFulfillmentShipmentStatusSHIPPED captures enum value "SHIPPED"
	FulfillmentShipmentFulfillmentShipmentStatusSHIPPED string = "SHIPPED"

	// FulfillmentShipmentFulfillmentShipmentStatusCANCELLEDBYFULFILLER captures enum value "CANCELLED_BY_FULFILLER"
	FulfillmentShipmentFulfillmentShipmentStatusCANCELLEDBYFULFILLER string = "CANCELLED_BY_FULFILLER"

	// FulfillmentShipmentFulfillmentShipmentStatusCANCELLEDBYSELLER captures enum value "CANCELLED_BY_SELLER"
	FulfillmentShipmentFulfillmentShipmentStatusCANCELLEDBYSELLER string = "CANCELLED_BY_SELLER"
)
View Source
const (

	// WeightUnitKG captures enum value "KG"
	WeightUnitKG string = "KG"

	// WeightUnitKILOGRAMS captures enum value "KILOGRAMS"
	WeightUnitKILOGRAMS string = "KILOGRAMS"

	// WeightUnitLB captures enum value "LB"
	WeightUnitLB string = "LB"

	// WeightUnitPOUNDS captures enum value "POUNDS"
	WeightUnitPOUNDS string = "POUNDS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalLocationInfo

type AdditionalLocationInfo string

AdditionalLocationInfo Additional location information.

swagger:model AdditionalLocationInfo

const (

	// AdditionalLocationInfoASINSTRUCTED captures enum value "AS_INSTRUCTED"
	AdditionalLocationInfoASINSTRUCTED AdditionalLocationInfo = "AS_INSTRUCTED"

	// AdditionalLocationInfoCARPORT captures enum value "CARPORT"
	AdditionalLocationInfoCARPORT AdditionalLocationInfo = "CARPORT"

	// AdditionalLocationInfoCUSTOMERPICKUP captures enum value "CUSTOMER_PICKUP"
	AdditionalLocationInfoCUSTOMERPICKUP AdditionalLocationInfo = "CUSTOMER_PICKUP"

	// AdditionalLocationInfoDECK captures enum value "DECK"
	AdditionalLocationInfoDECK AdditionalLocationInfo = "DECK"

	// AdditionalLocationInfoDOORPERSON captures enum value "DOOR_PERSON"
	AdditionalLocationInfoDOORPERSON AdditionalLocationInfo = "DOOR_PERSON"

	// AdditionalLocationInfoFRONTDESK captures enum value "FRONT_DESK"
	AdditionalLocationInfoFRONTDESK AdditionalLocationInfo = "FRONT_DESK"

	// AdditionalLocationInfoFRONTDOOR captures enum value "FRONT_DOOR"
	AdditionalLocationInfoFRONTDOOR AdditionalLocationInfo = "FRONT_DOOR"

	// AdditionalLocationInfoGARAGE captures enum value "GARAGE"
	AdditionalLocationInfoGARAGE AdditionalLocationInfo = "GARAGE"

	// AdditionalLocationInfoGUARD captures enum value "GUARD"
	AdditionalLocationInfoGUARD AdditionalLocationInfo = "GUARD"

	// AdditionalLocationInfoMAILROOM captures enum value "MAIL_ROOM"
	AdditionalLocationInfoMAILROOM AdditionalLocationInfo = "MAIL_ROOM"

	// AdditionalLocationInfoMAILSLOT captures enum value "MAIL_SLOT"
	AdditionalLocationInfoMAILSLOT AdditionalLocationInfo = "MAIL_SLOT"

	// AdditionalLocationInfoMAILBOX captures enum value "MAILBOX"
	AdditionalLocationInfoMAILBOX AdditionalLocationInfo = "MAILBOX"

	// AdditionalLocationInfoMCBOY captures enum value "MC_BOY"
	AdditionalLocationInfoMCBOY AdditionalLocationInfo = "MC_BOY"

	// AdditionalLocationInfoMCGIRL captures enum value "MC_GIRL"
	AdditionalLocationInfoMCGIRL AdditionalLocationInfo = "MC_GIRL"

	// AdditionalLocationInfoMCMAN captures enum value "MC_MAN"
	AdditionalLocationInfoMCMAN AdditionalLocationInfo = "MC_MAN"

	// AdditionalLocationInfoMCWOMAN captures enum value "MC_WOMAN"
	AdditionalLocationInfoMCWOMAN AdditionalLocationInfo = "MC_WOMAN"

	// AdditionalLocationInfoNEIGHBOR captures enum value "NEIGHBOR"
	AdditionalLocationInfoNEIGHBOR AdditionalLocationInfo = "NEIGHBOR"

	// AdditionalLocationInfoOFFICE captures enum value "OFFICE"
	AdditionalLocationInfoOFFICE AdditionalLocationInfo = "OFFICE"

	// AdditionalLocationInfoOUTBUILDING captures enum value "OUTBUILDING"
	AdditionalLocationInfoOUTBUILDING AdditionalLocationInfo = "OUTBUILDING"

	// AdditionalLocationInfoPATIO captures enum value "PATIO"
	AdditionalLocationInfoPATIO AdditionalLocationInfo = "PATIO"

	// AdditionalLocationInfoPORCH captures enum value "PORCH"
	AdditionalLocationInfoPORCH AdditionalLocationInfo = "PORCH"

	// AdditionalLocationInfoREARDOOR captures enum value "REAR_DOOR"
	AdditionalLocationInfoREARDOOR AdditionalLocationInfo = "REAR_DOOR"

	// AdditionalLocationInfoRECEPTIONIST captures enum value "RECEPTIONIST"
	AdditionalLocationInfoRECEPTIONIST AdditionalLocationInfo = "RECEPTIONIST"

	// AdditionalLocationInfoRECEIVER captures enum value "RECEIVER"
	AdditionalLocationInfoRECEIVER AdditionalLocationInfo = "RECEIVER"

	// AdditionalLocationInfoSECURELOCATION captures enum value "SECURE_LOCATION"
	AdditionalLocationInfoSECURELOCATION AdditionalLocationInfo = "SECURE_LOCATION"

	// AdditionalLocationInfoSIDEDOOR captures enum value "SIDE_DOOR"
	AdditionalLocationInfoSIDEDOOR AdditionalLocationInfo = "SIDE_DOOR"
)

func NewAdditionalLocationInfo

func NewAdditionalLocationInfo(value AdditionalLocationInfo) *AdditionalLocationInfo

func (AdditionalLocationInfo) ContextValidate

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

ContextValidate validates this additional location info based on context it is used

func (AdditionalLocationInfo) Pointer

Pointer returns a pointer to a freshly-allocated AdditionalLocationInfo.

func (AdditionalLocationInfo) Validate

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

Validate validates this additional location info

type Address

type Address struct {

	// The first line of the address.
	// Required: true
	AddressLine1 *string `json:"addressLine1"`

	// Additional address information, if required.
	AddressLine2 string `json:"addressLine2,omitempty"`

	// Additional address information, if required.
	AddressLine3 string `json:"addressLine3,omitempty"`

	// The city where the person, business, or institution is located. This property is required in all countries except Japan. It should not be used in Japan.
	City string `json:"city,omitempty"`

	// The two digit country code. In ISO 3166-1 alpha-2 format.
	// Required: true
	CountryCode *string `json:"countryCode"`

	// The district or county where the person, business, or institution is located.
	DistrictOrCounty string `json:"districtOrCounty,omitempty"`

	// The name of the person, business or institution at the address.
	// Required: true
	Name *string `json:"name"`

	// The phone number of the person, business, or institution located at the address.
	Phone string `json:"phone,omitempty"`

	// The postal code of the address.
	// Required: true
	PostalCode *string `json:"postalCode"`

	// The state or region where the person, business or institution is located.
	// Required: true
	StateOrRegion *string `json:"stateOrRegion"`
}

Address A physical address.

swagger:model Address

func (*Address) ContextValidate

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

ContextValidate validates this address based on context it is used

func (*Address) MarshalBinary

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

MarshalBinary interface implementation

func (*Address) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Address) Validate

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

Validate validates this address

type CODSettings

type CODSettings struct {

	// The amount of the COD charge to be collected from the recipient for a COD order.
	CodCharge *Money `json:"codCharge,omitempty"`

	// The amount of the tax on the COD charge to be collected from the recipient for a COD order.
	CodChargeTax *Money `json:"codChargeTax,omitempty"`

	// When true, this fulfillment order requires a COD (Cash On Delivery) payment.
	// Required: true
	IsCodRequired *bool `json:"isCodRequired"`

	// The amount of the tax on the COD charge to be collected from the recipient for a COD order.
	ShippingCharge *Money `json:"shippingCharge,omitempty"`

	// The amount of the tax on the shipping charge to be collected from the recipient for a COD order.
	ShippingChargeTax *Money `json:"shippingChargeTax,omitempty"`
}

CODSettings The COD (Cash On Delivery) charges that you associate with a COD fulfillment order.

swagger:model CODSettings

func (*CODSettings) ContextValidate

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

ContextValidate validate this c o d settings based on the context it is used

func (*CODSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*CODSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CODSettings) Validate

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

Validate validates this c o d settings

type CancelFulfillmentOrderResponse

type CancelFulfillmentOrderResponse struct {

	// One or more unexpected errors occurred during the cancelFulfillmentOrder operation.
	Errors ErrorList `json:"errors,omitempty"`
}

CancelFulfillmentOrderResponse The response schema for the cancelFulfillmentOrder operation.

swagger:model CancelFulfillmentOrderResponse

func (*CancelFulfillmentOrderResponse) ContextValidate

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

ContextValidate validate this cancel fulfillment order response based on the context it is used

func (*CancelFulfillmentOrderResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CancelFulfillmentOrderResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CancelFulfillmentOrderResponse) Validate

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

Validate validates this cancel fulfillment order response

type CreateFulfillmentOrderItem

type CreateFulfillmentOrderItem struct {

	// Item-specific text that displays in recipient-facing materials such as the outbound shipment packing slip.
	// Max Length: 250
	DisplayableComment string `json:"displayableComment,omitempty"`

	// Amazon's fulfillment network SKU of the item.
	FulfillmentNetworkSku string `json:"fulfillmentNetworkSku,omitempty"`

	// A message to the gift recipient, if applicable.
	// Max Length: 512
	GiftMessage string `json:"giftMessage,omitempty"`

	// The monetary value assigned by the seller to this item.
	PerUnitDeclaredValue *Money `json:"perUnitDeclaredValue,omitempty"`

	// The amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
	PerUnitPrice *Money `json:"perUnitPrice,omitempty"`

	// The tax on the amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
	PerUnitTax *Money `json:"perUnitTax,omitempty"`

	// quantity
	// Required: true
	Quantity *Quantity `json:"quantity"`

	// A fulfillment order item identifier that the seller creates to track fulfillment order items. Used to disambiguate multiple fulfillment items that have the same SellerSKU. For example, the seller might assign different SellerFulfillmentOrderItemId values to two items in a fulfillment order that share the same SellerSKU but have different GiftMessage values.
	// Required: true
	// Max Length: 50
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// The seller SKU of the item.
	// Required: true
	// Max Length: 50
	SellerSku *string `json:"sellerSku"`
}

CreateFulfillmentOrderItem Item information for creating a fulfillment order.

swagger:model CreateFulfillmentOrderItem

func (*CreateFulfillmentOrderItem) ContextValidate

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

ContextValidate validate this create fulfillment order item based on the context it is used

func (*CreateFulfillmentOrderItem) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateFulfillmentOrderItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateFulfillmentOrderItem) Validate

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

Validate validates this create fulfillment order item

type CreateFulfillmentOrderItemList

type CreateFulfillmentOrderItemList []*CreateFulfillmentOrderItem

CreateFulfillmentOrderItemList An array of item information for creating a fulfillment order.

swagger:model CreateFulfillmentOrderItemList

func (CreateFulfillmentOrderItemList) ContextValidate

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

ContextValidate validate this create fulfillment order item list based on the context it is used

func (CreateFulfillmentOrderItemList) Validate

Validate validates this create fulfillment order item list

type CreateFulfillmentOrderRequest

type CreateFulfillmentOrderRequest struct {

	// cod settings
	CodSettings *CODSettings `json:"codSettings,omitempty"`

	// delivery window
	DeliveryWindow *DeliveryWindow `json:"deliveryWindow,omitempty"`

	// The destination address for the fulfillment order.
	// Required: true
	DestinationAddress *Address `json:"destinationAddress"`

	// Order-specific text that appears in recipient-facing materials such as the outbound shipment packing slip.
	// Required: true
	// Max Length: 1000
	DisplayableOrderComment *string `json:"displayableOrderComment"`

	// The date and time of the fulfillment order. Displays as the order date in recipient-facing materials such as the outbound shipment packing slip.
	// Required: true
	// Format: date-time
	DisplayableOrderDate *Timestamp `json:"displayableOrderDate"`

	// A fulfillment order identifier that the seller creates. This value displays as the order identifier in recipient-facing materials such as the outbound shipment packing slip. The value of DisplayableOrderId should match the order identifier that the seller provides to the recipient. The seller can use the SellerFulfillmentOrderId for this value or they can specify an alternate value if they want the recipient to reference an alternate order identifier.
	//
	// The value must be an alpha-numeric or ISO 8859-1 compliant string from one to 40 characters in length. Cannot contain two spaces in a row. Leading and trailing white space is removed.
	// Required: true
	// Max Length: 40
	DisplayableOrderID *string `json:"displayableOrderId"`

	// A list of features and their fulfillment policies to apply to the order.
	FeatureConstraints []*FeatureSettings `json:"featureConstraints"`

	// fulfillment action
	FulfillmentAction FulfillmentAction `json:"fulfillmentAction,omitempty"`

	// fulfillment policy
	FulfillmentPolicy FulfillmentPolicy `json:"fulfillmentPolicy,omitempty"`

	// A list of items to include in the fulfillment order preview, including quantity.
	// Required: true
	Items CreateFulfillmentOrderItemList `json:"items"`

	// The marketplace the fulfillment order is placed against.
	MarketplaceID string `json:"marketplaceId,omitempty"`

	// notification emails
	NotificationEmails NotificationEmailList `json:"notificationEmails,omitempty"`

	// A fulfillment order identifier that the seller creates to track their fulfillment order. The SellerFulfillmentOrderId must be unique for each fulfillment order that a seller creates. If the seller's system already creates unique order identifiers, then these might be good values for them to use.
	// Required: true
	// Max Length: 40
	SellerFulfillmentOrderID *string `json:"sellerFulfillmentOrderId"`

	// The two-character country code for the country from which the fulfillment order ships. Must be in ISO 3166-1 alpha-2 format.
	ShipFromCountryCode string `json:"shipFromCountryCode,omitempty"`

	// The shipping method for the fulfillment order. When this value is ScheduledDelivery, choose Ship for the fulfillmentAction. Hold is not a valid fulfillmentAction value when the shippingSpeedCategory value is ScheduledDelivery.
	// Required: true
	ShippingSpeedCategory *ShippingSpeedCategory `json:"shippingSpeedCategory"`
}

CreateFulfillmentOrderRequest The request body schema for the createFulfillmentOrder operation.

swagger:model CreateFulfillmentOrderRequest

func (*CreateFulfillmentOrderRequest) ContextValidate

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

ContextValidate validate this create fulfillment order request based on the context it is used

func (*CreateFulfillmentOrderRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateFulfillmentOrderRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateFulfillmentOrderRequest) Validate

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

Validate validates this create fulfillment order request

type CreateFulfillmentOrderResponse

type CreateFulfillmentOrderResponse struct {

	// One or more unexpected errors occurred during the createFulfillmentOrder operation.
	Errors ErrorList `json:"errors,omitempty"`
}

CreateFulfillmentOrderResponse The response schema for the createFulfillmentOrder operation.

swagger:model CreateFulfillmentOrderResponse

func (*CreateFulfillmentOrderResponse) ContextValidate

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

ContextValidate validate this create fulfillment order response based on the context it is used

func (*CreateFulfillmentOrderResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateFulfillmentOrderResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateFulfillmentOrderResponse) Validate

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

Validate validates this create fulfillment order response

type CreateFulfillmentReturnRequest

type CreateFulfillmentReturnRequest struct {

	// items
	// Required: true
	Items CreateReturnItemList `json:"items"`
}

CreateFulfillmentReturnRequest The createFulfillmentReturn operation creates a fulfillment return for items that were fulfilled using the createFulfillmentOrder operation. For calls to createFulfillmentReturn, you must include ReturnReasonCode values returned by a previous call to the listReturnReasonCodes operation.

swagger:model CreateFulfillmentReturnRequest

func (*CreateFulfillmentReturnRequest) ContextValidate

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

ContextValidate validate this create fulfillment return request based on the context it is used

func (*CreateFulfillmentReturnRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateFulfillmentReturnRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateFulfillmentReturnRequest) Validate

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

Validate validates this create fulfillment return request

type CreateFulfillmentReturnResponse

type CreateFulfillmentReturnResponse struct {

	// One or more unexpected errors occurred during the createFulfillmentReturn operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the createFulfillmentReturn operation.
	Payload *CreateFulfillmentReturnResult `json:"payload,omitempty"`
}

CreateFulfillmentReturnResponse The response schema for the createFulfillmentReturn operation.

swagger:model CreateFulfillmentReturnResponse

func (*CreateFulfillmentReturnResponse) ContextValidate

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

ContextValidate validate this create fulfillment return response based on the context it is used

func (*CreateFulfillmentReturnResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateFulfillmentReturnResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateFulfillmentReturnResponse) Validate

Validate validates this create fulfillment return response

type CreateFulfillmentReturnResult

type CreateFulfillmentReturnResult struct {

	// invalid return items
	InvalidReturnItems InvalidReturnItemList `json:"invalidReturnItems,omitempty"`

	// return authorizations
	ReturnAuthorizations ReturnAuthorizationList `json:"returnAuthorizations,omitempty"`

	// return items
	ReturnItems ReturnItemList `json:"returnItems,omitempty"`
}

CreateFulfillmentReturnResult create fulfillment return result

swagger:model CreateFulfillmentReturnResult

func (*CreateFulfillmentReturnResult) ContextValidate

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

ContextValidate validate this create fulfillment return result based on the context it is used

func (*CreateFulfillmentReturnResult) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateFulfillmentReturnResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateFulfillmentReturnResult) Validate

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

Validate validates this create fulfillment return result

type CreateReturnItem

type CreateReturnItem struct {

	// The identifier for the shipment that is associated with the return item.
	// Required: true
	AmazonShipmentID *string `json:"amazonShipmentId"`

	// An optional comment about the return item.
	// Max Length: 1000
	ReturnComment string `json:"returnComment,omitempty"`

	// The return reason code assigned to the return item by the seller.
	// Required: true
	ReturnReasonCode *string `json:"returnReasonCode"`

	// The identifier assigned to the item by the seller when the fulfillment order was created.
	// Required: true
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// An identifier assigned by the seller to the return item.
	// Required: true
	// Max Length: 80
	SellerReturnItemID *string `json:"sellerReturnItemId"`
}

CreateReturnItem An item that Amazon accepted for return.

swagger:model CreateReturnItem

func (*CreateReturnItem) ContextValidate

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

ContextValidate validates this create return item based on context it is used

func (*CreateReturnItem) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateReturnItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateReturnItem) Validate

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

Validate validates this create return item

type CreateReturnItemList

type CreateReturnItemList []*CreateReturnItem

CreateReturnItemList An array of items to be returned.

swagger:model CreateReturnItemList

func (CreateReturnItemList) ContextValidate

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

ContextValidate validate this create return item list based on the context it is used

func (CreateReturnItemList) Validate

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

Validate validates this create return item list

type CurrentStatus

type CurrentStatus string

CurrentStatus The current delivery status of the package.

swagger:model CurrentStatus

const (

	// CurrentStatusINTRANSIT captures enum value "IN_TRANSIT"
	CurrentStatusINTRANSIT CurrentStatus = "IN_TRANSIT"

	// CurrentStatusDELIVERED captures enum value "DELIVERED"
	CurrentStatusDELIVERED CurrentStatus = "DELIVERED"

	// CurrentStatusRETURNING captures enum value "RETURNING"
	CurrentStatusRETURNING CurrentStatus = "RETURNING"

	// CurrentStatusRETURNED captures enum value "RETURNED"
	CurrentStatusRETURNED CurrentStatus = "RETURNED"

	// CurrentStatusUNDELIVERABLE captures enum value "UNDELIVERABLE"
	CurrentStatusUNDELIVERABLE CurrentStatus = "UNDELIVERABLE"

	// CurrentStatusDELAYED captures enum value "DELAYED"
	CurrentStatusDELAYED CurrentStatus = "DELAYED"

	// CurrentStatusAVAILABLEFORPICKUP captures enum value "AVAILABLE_FOR_PICKUP"
	CurrentStatusAVAILABLEFORPICKUP CurrentStatus = "AVAILABLE_FOR_PICKUP"

	// CurrentStatusCUSTOMERACTION captures enum value "CUSTOMER_ACTION"
	CurrentStatusCUSTOMERACTION CurrentStatus = "CUSTOMER_ACTION"

	// CurrentStatusUNKNOWN captures enum value "UNKNOWN"
	CurrentStatusUNKNOWN CurrentStatus = "UNKNOWN"

	// CurrentStatusOUTFORDELIVERY captures enum value "OUT_FOR_DELIVERY"
	CurrentStatusOUTFORDELIVERY CurrentStatus = "OUT_FOR_DELIVERY"

	// CurrentStatusDELIVERYATTEMPTED captures enum value "DELIVERY_ATTEMPTED"
	CurrentStatusDELIVERYATTEMPTED CurrentStatus = "DELIVERY_ATTEMPTED"

	// CurrentStatusPICKUPSUCCESSFUL captures enum value "PICKUP_SUCCESSFUL"
	CurrentStatusPICKUPSUCCESSFUL CurrentStatus = "PICKUP_SUCCESSFUL"

	// CurrentStatusPICKUPCANCELLED captures enum value "PICKUP_CANCELLED"
	CurrentStatusPICKUPCANCELLED CurrentStatus = "PICKUP_CANCELLED"

	// CurrentStatusPICKUPATTEMPTED captures enum value "PICKUP_ATTEMPTED"
	CurrentStatusPICKUPATTEMPTED CurrentStatus = "PICKUP_ATTEMPTED"

	// CurrentStatusPICKUPSCHEDULED captures enum value "PICKUP_SCHEDULED"
	CurrentStatusPICKUPSCHEDULED CurrentStatus = "PICKUP_SCHEDULED"

	// CurrentStatusRETURNREQUESTACCEPTED captures enum value "RETURN_REQUEST_ACCEPTED"
	CurrentStatusRETURNREQUESTACCEPTED CurrentStatus = "RETURN_REQUEST_ACCEPTED"

	// CurrentStatusREFUNDISSUED captures enum value "REFUND_ISSUED"
	CurrentStatusREFUNDISSUED CurrentStatus = "REFUND_ISSUED"

	// CurrentStatusRETURNRECEIVEDINFC captures enum value "RETURN_RECEIVED_IN_FC"
	CurrentStatusRETURNRECEIVEDINFC CurrentStatus = "RETURN_RECEIVED_IN_FC"
)

func NewCurrentStatus

func NewCurrentStatus(value CurrentStatus) *CurrentStatus

func (CurrentStatus) ContextValidate

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

ContextValidate validates this current status based on context it is used

func (CurrentStatus) Pointer

func (m CurrentStatus) Pointer() *CurrentStatus

Pointer returns a pointer to a freshly-allocated CurrentStatus.

func (CurrentStatus) Validate

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

Validate validates this current status

type Decimal

type Decimal string

Decimal A decimal number with no loss of precision. Useful when precision loss is unacceptable, 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 DeliveryWindow

type DeliveryWindow struct {

	// The date and time of the end of the Scheduled Delivery window, in ISO 8601 date time format.
	// Required: true
	// Format: date-time
	EndDate *Timestamp `json:"endDate"`

	// The date and time of the start of the Scheduled Delivery window, in ISO 8601 date time format.
	// Required: true
	// Format: date-time
	StartDate *Timestamp `json:"startDate"`
}

DeliveryWindow The time range within which a Scheduled Delivery fulfillment order should be delivered. This is only available in the JP marketplace.

swagger:model DeliveryWindow

func (*DeliveryWindow) ContextValidate

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

ContextValidate validate this delivery window based on the context it is used

func (*DeliveryWindow) MarshalBinary

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

MarshalBinary interface implementation

func (*DeliveryWindow) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeliveryWindow) Validate

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

Validate validates this delivery window

type DeliveryWindowList

type DeliveryWindowList []*DeliveryWindow

DeliveryWindowList An array of delivery windows.

swagger:model DeliveryWindowList

func (DeliveryWindowList) ContextValidate

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

ContextValidate validate this delivery window list based on the context it is used

func (DeliveryWindowList) Validate

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

Validate validates this delivery window list

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 []*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 EventCode

type EventCode string

EventCode The event code for the delivery event.

swagger:model EventCode

const (

	// EventCodeEVENT101 captures enum value "EVENT_101"
	EventCodeEVENT101 EventCode = "EVENT_101"

	// EventCodeEVENT102 captures enum value "EVENT_102"
	EventCodeEVENT102 EventCode = "EVENT_102"

	// EventCodeEVENT201 captures enum value "EVENT_201"
	EventCodeEVENT201 EventCode = "EVENT_201"

	// EventCodeEVENT202 captures enum value "EVENT_202"
	EventCodeEVENT202 EventCode = "EVENT_202"

	// EventCodeEVENT203 captures enum value "EVENT_203"
	EventCodeEVENT203 EventCode = "EVENT_203"

	// EventCodeEVENT204 captures enum value "EVENT_204"
	EventCodeEVENT204 EventCode = "EVENT_204"

	// EventCodeEVENT205 captures enum value "EVENT_205"
	EventCodeEVENT205 EventCode = "EVENT_205"

	// EventCodeEVENT206 captures enum value "EVENT_206"
	EventCodeEVENT206 EventCode = "EVENT_206"

	// EventCodeEVENT301 captures enum value "EVENT_301"
	EventCodeEVENT301 EventCode = "EVENT_301"

	// EventCodeEVENT302 captures enum value "EVENT_302"
	EventCodeEVENT302 EventCode = "EVENT_302"

	// EventCodeEVENT304 captures enum value "EVENT_304"
	EventCodeEVENT304 EventCode = "EVENT_304"

	// EventCodeEVENT306 captures enum value "EVENT_306"
	EventCodeEVENT306 EventCode = "EVENT_306"

	// EventCodeEVENT307 captures enum value "EVENT_307"
	EventCodeEVENT307 EventCode = "EVENT_307"

	// EventCodeEVENT308 captures enum value "EVENT_308"
	EventCodeEVENT308 EventCode = "EVENT_308"

	// EventCodeEVENT309 captures enum value "EVENT_309"
	EventCodeEVENT309 EventCode = "EVENT_309"

	// EventCodeEVENT401 captures enum value "EVENT_401"
	EventCodeEVENT401 EventCode = "EVENT_401"

	// EventCodeEVENT402 captures enum value "EVENT_402"
	EventCodeEVENT402 EventCode = "EVENT_402"

	// EventCodeEVENT403 captures enum value "EVENT_403"
	EventCodeEVENT403 EventCode = "EVENT_403"

	// EventCodeEVENT404 captures enum value "EVENT_404"
	EventCodeEVENT404 EventCode = "EVENT_404"

	// EventCodeEVENT405 captures enum value "EVENT_405"
	EventCodeEVENT405 EventCode = "EVENT_405"

	// EventCodeEVENT406 captures enum value "EVENT_406"
	EventCodeEVENT406 EventCode = "EVENT_406"

	// EventCodeEVENT407 captures enum value "EVENT_407"
	EventCodeEVENT407 EventCode = "EVENT_407"

	// EventCodeEVENT408 captures enum value "EVENT_408"
	EventCodeEVENT408 EventCode = "EVENT_408"

	// EventCodeEVENT409 captures enum value "EVENT_409"
	EventCodeEVENT409 EventCode = "EVENT_409"

	// EventCodeEVENT411 captures enum value "EVENT_411"
	EventCodeEVENT411 EventCode = "EVENT_411"

	// EventCodeEVENT412 captures enum value "EVENT_412"
	EventCodeEVENT412 EventCode = "EVENT_412"

	// EventCodeEVENT413 captures enum value "EVENT_413"
	EventCodeEVENT413 EventCode = "EVENT_413"

	// EventCodeEVENT414 captures enum value "EVENT_414"
	EventCodeEVENT414 EventCode = "EVENT_414"

	// EventCodeEVENT415 captures enum value "EVENT_415"
	EventCodeEVENT415 EventCode = "EVENT_415"

	// EventCodeEVENT416 captures enum value "EVENT_416"
	EventCodeEVENT416 EventCode = "EVENT_416"

	// EventCodeEVENT417 captures enum value "EVENT_417"
	EventCodeEVENT417 EventCode = "EVENT_417"

	// EventCodeEVENT418 captures enum value "EVENT_418"
	EventCodeEVENT418 EventCode = "EVENT_418"

	// EventCodeEVENT419 captures enum value "EVENT_419"
	EventCodeEVENT419 EventCode = "EVENT_419"
)

func NewEventCode

func NewEventCode(value EventCode) *EventCode

func (EventCode) ContextValidate

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

ContextValidate validates this event code based on context it is used

func (EventCode) Pointer

func (m EventCode) Pointer() *EventCode

Pointer returns a pointer to a freshly-allocated EventCode.

func (EventCode) Validate

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

Validate validates this event code

type Feature

type Feature struct {

	// The feature description.
	// Required: true
	FeatureDescription *string `json:"featureDescription"`

	// The feature name.
	// Required: true
	FeatureName *string `json:"featureName"`

	// When true, indicates that the seller is eligible to use the feature.
	SellerEligible bool `json:"sellerEligible,omitempty"`
}

Feature A Multi-Channel Fulfillment feature.

swagger:model Feature

func (*Feature) ContextValidate

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

ContextValidate validates this feature based on context it is used

func (*Feature) MarshalBinary

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

MarshalBinary interface implementation

func (*Feature) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Feature) Validate

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

Validate validates this feature

type FeatureSettings

type FeatureSettings struct {

	// Specifies the policy to use when fulfilling an order.
	// Enum: [Required NotRequired]
	FeatureFulfillmentPolicy string `json:"featureFulfillmentPolicy,omitempty"`

	// The name of the feature.
	FeatureName string `json:"featureName,omitempty"`
}

FeatureSettings FeatureSettings allows users to apply fulfillment features to an order. To block an order from being shipped using Amazon Logistics (AMZL) and an AMZL tracking number, use featureName as BLOCK_AMZL and featureFulfillmentPolicy as Required. Blocking AMZL will incur an additional fee surcharge on your MCF orders and increase the risk of some of your orders being unfulfilled or delivered late if there are no alternative carriers available. Using BLOCK_AMZL in an order request will take precedence over your Seller Central account setting. To ship in non-Amazon branded packaging (blank boxes), use featureName BLANK_BOX.

swagger:model FeatureSettings

func (*FeatureSettings) ContextValidate

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

ContextValidate validates this feature settings based on context it is used

func (*FeatureSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*FeatureSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FeatureSettings) Validate

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

Validate validates this feature settings

type FeatureSku

type FeatureSku struct {

	// The Amazon Standard Identification Number (ASIN) of the item.
	Asin string `json:"asin,omitempty"`

	// The unique SKU used by Amazon's fulfillment network.
	FnSku string `json:"fnSku,omitempty"`

	// Other seller SKUs that are shared across the same inventory.
	OverlappingSkus []string `json:"overlappingSkus"`

	// Used to identify an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit.
	SellerSku string `json:"sellerSku,omitempty"`

	// The number of SKUs available for this service.
	SkuCount float64 `json:"skuCount,omitempty"`
}

FeatureSku Information about an SKU, including the count available, identifiers, and a list of overlapping SKUs that share the same inventory pool.

swagger:model FeatureSku

func (*FeatureSku) ContextValidate

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

ContextValidate validates this feature sku based on context it is used

func (*FeatureSku) MarshalBinary

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

MarshalBinary interface implementation

func (*FeatureSku) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FeatureSku) Validate

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

Validate validates this feature sku

type Features

type Features []*Feature

Features An array of features.

swagger:model Features

func (Features) ContextValidate

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

ContextValidate validate this features based on the context it is used

func (Features) Validate

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

Validate validates this features

type Fee

type Fee struct {

	// The amount of the fee.
	// Required: true
	Amount *Money `json:"amount"`

	// The type of fee.
	// Required: true
	// Enum: [FBAPerUnitFulfillmentFee FBAPerOrderFulfillmentFee FBATransportationFee FBAFulfillmentCODFee]
	Name *string `json:"name"`
}

Fee Fee type and cost.

swagger:model Fee

func (*Fee) ContextValidate

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

ContextValidate validate this fee based on the context it is used

func (*Fee) MarshalBinary

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

MarshalBinary interface implementation

func (*Fee) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Fee) Validate

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

Validate validates this fee

type FeeList

type FeeList []*Fee

FeeList An array of fee type and cost pairs.

swagger:model FeeList

func (FeeList) ContextValidate

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

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

func (FeeList) Validate

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

Validate validates this fee list

type FulfillmentAction

type FulfillmentAction string

FulfillmentAction Specifies whether the fulfillment order should ship now or have an order hold put on it.

swagger:model FulfillmentAction

const (

	// FulfillmentActionShip captures enum value "Ship"
	FulfillmentActionShip FulfillmentAction = "Ship"

	// FulfillmentActionHold captures enum value "Hold"
	FulfillmentActionHold FulfillmentAction = "Hold"
)

func NewFulfillmentAction

func NewFulfillmentAction(value FulfillmentAction) *FulfillmentAction

func (FulfillmentAction) ContextValidate

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

ContextValidate validates this fulfillment action based on context it is used

func (FulfillmentAction) Pointer

func (m FulfillmentAction) Pointer() *FulfillmentAction

Pointer returns a pointer to a freshly-allocated FulfillmentAction.

func (FulfillmentAction) Validate

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

Validate validates this fulfillment action

type FulfillmentOrder

type FulfillmentOrder struct {

	// cod settings
	CodSettings *CODSettings `json:"codSettings,omitempty"`

	// delivery window
	DeliveryWindow *DeliveryWindow `json:"deliveryWindow,omitempty"`

	// The destination address submitted with the createFulfillmentOrder operation.
	// Required: true
	DestinationAddress *Address `json:"destinationAddress"`

	// A text block submitted with the createFulfillmentOrder operation. Displays in recipient-facing materials such as the packing slip.
	// Required: true
	DisplayableOrderComment *string `json:"displayableOrderComment"`

	// A date and time submitted with the createFulfillmentOrder operation. Displays as the order date in recipient-facing materials such as the packing slip.
	// Required: true
	// Format: date-time
	DisplayableOrderDate *Timestamp `json:"displayableOrderDate"`

	// A fulfillment order identifier submitted with the createFulfillmentOrder operation. Displays as the order identifier in recipient-facing materials such as the packing slip.
	// Required: true
	DisplayableOrderID *string `json:"displayableOrderId"`

	// A list of features and their fulfillment policies to apply to the order.
	FeatureConstraints []*FeatureSettings `json:"featureConstraints"`

	// fulfillment action
	FulfillmentAction FulfillmentAction `json:"fulfillmentAction,omitempty"`

	// fulfillment order status
	// Required: true
	FulfillmentOrderStatus *FulfillmentOrderStatus `json:"fulfillmentOrderStatus"`

	// fulfillment policy
	FulfillmentPolicy FulfillmentPolicy `json:"fulfillmentPolicy,omitempty"`

	// The identifier for the marketplace the fulfillment order is placed against.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// notification emails
	NotificationEmails NotificationEmailList `json:"notificationEmails,omitempty"`

	// The date and time that the fulfillment order was received by an Amazon fulfillment center.
	// Required: true
	// Format: date-time
	ReceivedDate *Timestamp `json:"receivedDate"`

	// The fulfillment order identifier submitted with the createFulfillmentOrder operation.
	// Required: true
	SellerFulfillmentOrderID *string `json:"sellerFulfillmentOrderId"`

	// shipping speed category
	// Required: true
	ShippingSpeedCategory *ShippingSpeedCategory `json:"shippingSpeedCategory"`

	// The date and time that the status of the fulfillment order last changed, in ISO 8601 date time format.
	// Required: true
	// Format: date-time
	StatusUpdatedDate *Timestamp `json:"statusUpdatedDate"`
}

FulfillmentOrder General information about a fulfillment order, including its status.

swagger:model FulfillmentOrder

func (*FulfillmentOrder) ContextValidate

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

ContextValidate validate this fulfillment order based on the context it is used

func (*FulfillmentOrder) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentOrder) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentOrder) Validate

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

Validate validates this fulfillment order

type FulfillmentOrderItem

type FulfillmentOrderItem struct {

	// The item quantity that was cancelled by the seller.
	// Required: true
	CancelledQuantity *Quantity `json:"cancelledQuantity"`

	// Item-specific text that displays in recipient-facing materials such as the outbound shipment packing slip.
	DisplayableComment string `json:"displayableComment,omitempty"`

	// The estimated arrival date and time of the item quantity. Note that this value can change over time. If the shipment that contains the item quantity has been cancelled, estimatedArrivalDate is not returned.
	// Format: date-time
	EstimatedArrivalDate Timestamp `json:"estimatedArrivalDate,omitempty"`

	// The estimated date and time that the item quantity is scheduled to ship from the fulfillment center. Note that this value can change over time. If the shipment that contains the item quantity has been cancelled, estimatedShipDate is not returned.
	// Format: date-time
	EstimatedShipDate Timestamp `json:"estimatedShipDate,omitempty"`

	// Amazon's fulfillment network SKU of the item.
	FulfillmentNetworkSku string `json:"fulfillmentNetworkSku,omitempty"`

	// A message to the gift recipient, if applicable.
	GiftMessage string `json:"giftMessage,omitempty"`

	// Indicates whether the item is sellable or unsellable.
	OrderItemDisposition string `json:"orderItemDisposition,omitempty"`

	// The monetary value assigned by the seller to this item.
	PerUnitDeclaredValue *Money `json:"perUnitDeclaredValue,omitempty"`

	// The amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
	PerUnitPrice *Money `json:"perUnitPrice,omitempty"`

	// The tax on the amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
	PerUnitTax *Money `json:"perUnitTax,omitempty"`

	// quantity
	// Required: true
	Quantity *Quantity `json:"quantity"`

	// A fulfillment order item identifier submitted with a call to the createFulfillmentOrder operation.
	// Required: true
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// The seller SKU of the item.
	// Required: true
	SellerSku *string `json:"sellerSku"`

	// The item quantity that is unfulfillable.
	// Required: true
	UnfulfillableQuantity *Quantity `json:"unfulfillableQuantity"`
}

FulfillmentOrderItem Item information for a fulfillment order.

swagger:model FulfillmentOrderItem

func (*FulfillmentOrderItem) ContextValidate

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

ContextValidate validate this fulfillment order item based on the context it is used

func (*FulfillmentOrderItem) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentOrderItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentOrderItem) Validate

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

Validate validates this fulfillment order item

type FulfillmentOrderItemList

type FulfillmentOrderItemList []*FulfillmentOrderItem

FulfillmentOrderItemList An array of fulfillment order item information.

swagger:model FulfillmentOrderItemList

func (FulfillmentOrderItemList) ContextValidate

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

ContextValidate validate this fulfillment order item list based on the context it is used

func (FulfillmentOrderItemList) Validate

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

Validate validates this fulfillment order item list

type FulfillmentOrderStatus

type FulfillmentOrderStatus string

FulfillmentOrderStatus The current status of the fulfillment order.

swagger:model FulfillmentOrderStatus

const (

	// FulfillmentOrderStatusNew captures enum value "New"
	FulfillmentOrderStatusNew FulfillmentOrderStatus = "New"

	// FulfillmentOrderStatusReceived captures enum value "Received"
	FulfillmentOrderStatusReceived FulfillmentOrderStatus = "Received"

	// FulfillmentOrderStatusPlanning captures enum value "Planning"
	FulfillmentOrderStatusPlanning FulfillmentOrderStatus = "Planning"

	// FulfillmentOrderStatusProcessing captures enum value "Processing"
	FulfillmentOrderStatusProcessing FulfillmentOrderStatus = "Processing"

	// FulfillmentOrderStatusCancelled captures enum value "Cancelled"
	FulfillmentOrderStatusCancelled FulfillmentOrderStatus = "Cancelled"

	// FulfillmentOrderStatusComplete captures enum value "Complete"
	FulfillmentOrderStatusComplete FulfillmentOrderStatus = "Complete"

	// FulfillmentOrderStatusCompletePartialled captures enum value "CompletePartialled"
	FulfillmentOrderStatusCompletePartialled FulfillmentOrderStatus = "CompletePartialled"

	// FulfillmentOrderStatusUnfulfillable captures enum value "Unfulfillable"
	FulfillmentOrderStatusUnfulfillable FulfillmentOrderStatus = "Unfulfillable"

	// FulfillmentOrderStatusInvalid captures enum value "Invalid"
	FulfillmentOrderStatusInvalid FulfillmentOrderStatus = "Invalid"
)

func NewFulfillmentOrderStatus

func NewFulfillmentOrderStatus(value FulfillmentOrderStatus) *FulfillmentOrderStatus

func (FulfillmentOrderStatus) ContextValidate

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

ContextValidate validates this fulfillment order status based on context it is used

func (FulfillmentOrderStatus) Pointer

Pointer returns a pointer to a freshly-allocated FulfillmentOrderStatus.

func (FulfillmentOrderStatus) Validate

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

Validate validates this fulfillment order status

type FulfillmentPolicy

type FulfillmentPolicy string

FulfillmentPolicy The FulfillmentPolicy value specified when you submitted the createFulfillmentOrder operation.

swagger:model FulfillmentPolicy

const (

	// FulfillmentPolicyFillOrKill captures enum value "FillOrKill"
	FulfillmentPolicyFillOrKill FulfillmentPolicy = "FillOrKill"

	// FulfillmentPolicyFillAll captures enum value "FillAll"
	FulfillmentPolicyFillAll FulfillmentPolicy = "FillAll"

	// FulfillmentPolicyFillAllAvailable captures enum value "FillAllAvailable"
	FulfillmentPolicyFillAllAvailable FulfillmentPolicy = "FillAllAvailable"
)

func NewFulfillmentPolicy

func NewFulfillmentPolicy(value FulfillmentPolicy) *FulfillmentPolicy

func (FulfillmentPolicy) ContextValidate

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

ContextValidate validates this fulfillment policy based on context it is used

func (FulfillmentPolicy) Pointer

func (m FulfillmentPolicy) Pointer() *FulfillmentPolicy

Pointer returns a pointer to a freshly-allocated FulfillmentPolicy.

func (FulfillmentPolicy) Validate

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

Validate validates this fulfillment policy

type FulfillmentPreview

type FulfillmentPreview struct {

	// The estimated fulfillment fees for this fulfillment order preview, if applicable.
	EstimatedFees FeeList `json:"estimatedFees,omitempty"`

	// Estimated shipping weight for this fulfillment order preview.
	EstimatedShippingWeight *Weight `json:"estimatedShippingWeight,omitempty"`

	// A list of features and their fulfillment policies to apply to the order.
	FeatureConstraints []*FeatureSettings `json:"featureConstraints"`

	// fulfillment preview shipments
	FulfillmentPreviewShipments FulfillmentPreviewShipmentList `json:"fulfillmentPreviewShipments,omitempty"`

	// When true, this fulfillment order preview is for COD (Cash On Delivery).
	// Required: true
	IsCODCapable *bool `json:"isCODCapable"`

	// When true, this fulfillment order preview is fulfillable.
	// Required: true
	IsFulfillable *bool `json:"isFulfillable"`

	// The marketplace the fulfillment order is placed against.
	// Required: true
	MarketplaceID *string `json:"marketplaceId"`

	// Error codes associated with the fulfillment order preview that indicate why the order is not fulfillable.
	//
	// Error code examples:
	//
	// DeliverySLAUnavailable
	// InvalidDestinationAddress
	OrderUnfulfillableReasons StringList `json:"orderUnfulfillableReasons,omitempty"`

	// scheduled delivery info
	ScheduledDeliveryInfo *ScheduledDeliveryInfo `json:"scheduledDeliveryInfo,omitempty"`

	// shipping speed category
	// Required: true
	ShippingSpeedCategory *ShippingSpeedCategory `json:"shippingSpeedCategory"`

	// unfulfillable preview items
	UnfulfillablePreviewItems UnfulfillablePreviewItemList `json:"unfulfillablePreviewItems,omitempty"`
}

FulfillmentPreview Information about a fulfillment order preview, including delivery and fee information based on shipping method.

swagger:model FulfillmentPreview

func (*FulfillmentPreview) ContextValidate

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

ContextValidate validate this fulfillment preview based on the context it is used

func (*FulfillmentPreview) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentPreview) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentPreview) Validate

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

Validate validates this fulfillment preview

type FulfillmentPreviewItem

type FulfillmentPreviewItem struct {

	// The estimated shipping weight of the item quantity for a single item, as identified by sellerSku, in a shipment.
	EstimatedShippingWeight *Weight `json:"estimatedShippingWeight,omitempty"`

	// The item quantity.
	// Required: true
	Quantity *Quantity `json:"quantity"`

	// A fulfillment order item identifier that the seller created with a call to the createFulfillmentOrder operation.
	// Required: true
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// The seller SKU of the item.
	// Required: true
	SellerSku *string `json:"sellerSku"`

	// The method used to calculate the estimated shipping weight.
	// Enum: [Package Dimensional]
	ShippingWeightCalculationMethod string `json:"shippingWeightCalculationMethod,omitempty"`
}

FulfillmentPreviewItem Item information for a shipment in a fulfillment order preview.

swagger:model FulfillmentPreviewItem

func (*FulfillmentPreviewItem) ContextValidate

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

ContextValidate validate this fulfillment preview item based on the context it is used

func (*FulfillmentPreviewItem) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentPreviewItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentPreviewItem) Validate

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

Validate validates this fulfillment preview item

type FulfillmentPreviewItemList

type FulfillmentPreviewItemList []*FulfillmentPreviewItem

FulfillmentPreviewItemList An array of fulfillment preview item information.

swagger:model FulfillmentPreviewItemList

func (FulfillmentPreviewItemList) ContextValidate

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

ContextValidate validate this fulfillment preview item list based on the context it is used

func (FulfillmentPreviewItemList) Validate

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

Validate validates this fulfillment preview item list

type FulfillmentPreviewList

type FulfillmentPreviewList []*FulfillmentPreview

FulfillmentPreviewList An array of fulfillment preview information.

swagger:model FulfillmentPreviewList

func (FulfillmentPreviewList) ContextValidate

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

ContextValidate validate this fulfillment preview list based on the context it is used

func (FulfillmentPreviewList) Validate

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

Validate validates this fulfillment preview list

type FulfillmentPreviewShipment

type FulfillmentPreviewShipment struct {

	// The earliest date that the shipment is expected to arrive at its destination.
	// Format: date-time
	EarliestArrivalDate Timestamp `json:"earliestArrivalDate,omitempty"`

	// The earliest date that the shipment is expected to be sent from the fulfillment center, in ISO 8601 date time format.
	// Format: date-time
	EarliestShipDate Timestamp `json:"earliestShipDate,omitempty"`

	// Information about the items in the shipment.
	// Required: true
	FulfillmentPreviewItems FulfillmentPreviewItemList `json:"fulfillmentPreviewItems"`

	// The latest date that the shipment is expected to arrive at its destination, in ISO 8601 date time format.
	// Format: date-time
	LatestArrivalDate Timestamp `json:"latestArrivalDate,omitempty"`

	// The latest date that the shipment is expected to be sent from the fulfillment center, in ISO 8601 date time format.
	// Format: date-time
	LatestShipDate Timestamp `json:"latestShipDate,omitempty"`

	// Provides additional insight into the shipment timeline when exact delivery dates are not able to be precomputed.
	ShippingNotes []string `json:"shippingNotes"`
}

FulfillmentPreviewShipment Delivery and item information for a shipment in a fulfillment order preview.

swagger:model FulfillmentPreviewShipment

func (*FulfillmentPreviewShipment) ContextValidate

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

ContextValidate validate this fulfillment preview shipment based on the context it is used

func (*FulfillmentPreviewShipment) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentPreviewShipment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentPreviewShipment) Validate

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

Validate validates this fulfillment preview shipment

type FulfillmentPreviewShipmentList

type FulfillmentPreviewShipmentList []*FulfillmentPreviewShipment

FulfillmentPreviewShipmentList An array of fulfillment preview shipment information.

swagger:model FulfillmentPreviewShipmentList

func (FulfillmentPreviewShipmentList) ContextValidate

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

ContextValidate validate this fulfillment preview shipment list based on the context it is used

func (FulfillmentPreviewShipmentList) Validate

Validate validates this fulfillment preview shipment list

type FulfillmentReturnItemStatus

type FulfillmentReturnItemStatus string

FulfillmentReturnItemStatus Indicates if the return item has been processed by a fulfillment center.

swagger:model FulfillmentReturnItemStatus

const (

	// FulfillmentReturnItemStatusNew captures enum value "New"
	FulfillmentReturnItemStatusNew FulfillmentReturnItemStatus = "New"

	// FulfillmentReturnItemStatusProcessed captures enum value "Processed"
	FulfillmentReturnItemStatusProcessed FulfillmentReturnItemStatus = "Processed"
)

func (FulfillmentReturnItemStatus) ContextValidate

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

ContextValidate validates this fulfillment return item status based on context it is used

func (FulfillmentReturnItemStatus) Pointer

Pointer returns a pointer to a freshly-allocated FulfillmentReturnItemStatus.

func (FulfillmentReturnItemStatus) Validate

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

Validate validates this fulfillment return item status

type FulfillmentShipment

type FulfillmentShipment struct {

	// A shipment identifier assigned by Amazon.
	// Required: true
	AmazonShipmentID *string `json:"amazonShipmentId"`

	// The estimated arrival date and time of the shipment, in ISO 8601 date time format. Note that this value can change over time. If a shipment includes more than one package, estimatedArrivalDate applies to all of the packages in the shipment. If the shipment has been cancelled, estimatedArrivalDate is not returned.
	// Format: date-time
	EstimatedArrivalDate Timestamp `json:"estimatedArrivalDate,omitempty"`

	// An identifier for the fulfillment center that the shipment will be sent from.
	// Required: true
	FulfillmentCenterID *string `json:"fulfillmentCenterId"`

	// fulfillment shipment item
	// Required: true
	FulfillmentShipmentItem FulfillmentShipmentItemList `json:"fulfillmentShipmentItem"`

	// fulfillment shipment package
	FulfillmentShipmentPackage FulfillmentShipmentPackageList `json:"fulfillmentShipmentPackage,omitempty"`

	// The current status of the shipment.
	// Required: true
	// Enum: [PENDING SHIPPED CANCELLED_BY_FULFILLER CANCELLED_BY_SELLER]
	FulfillmentShipmentStatus *string `json:"fulfillmentShipmentStatus"`

	// The meaning of the shippingDate value depends on the current status of the shipment. If the current value of FulfillmentShipmentStatus is:
	//
	// * Pending - shippingDate represents the estimated time that the shipment will leave the Amazon fulfillment center.
	//
	// * Shipped - shippingDate represents the date that the shipment left the Amazon fulfillment center.
	// If a shipment includes more than one package, shippingDate applies to all of the packages in the shipment. If the value of FulfillmentShipmentStatus is CancelledByFulfiller or CancelledBySeller, shippingDate is not returned. The value must be in ISO 8601 date time format.
	// Format: date-time
	ShippingDate Timestamp `json:"shippingDate,omitempty"`

	// Provides additional insight into shipment timeline. Primairly used to communicate that actual delivery dates aren't available.
	ShippingNotes []string `json:"shippingNotes"`
}

FulfillmentShipment Delivery and item information for a shipment in a fulfillment order.

swagger:model FulfillmentShipment

func (*FulfillmentShipment) ContextValidate

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

ContextValidate validate this fulfillment shipment based on the context it is used

func (*FulfillmentShipment) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentShipment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentShipment) Validate

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

Validate validates this fulfillment shipment

type FulfillmentShipmentItem

type FulfillmentShipmentItem struct {

	// An identifier for the package that contains the item quantity.
	PackageNumber int32 `json:"packageNumber,omitempty"`

	// quantity
	// Required: true
	Quantity *Quantity `json:"quantity"`

	// The fulfillment order item identifier that the seller created and submitted with a call to the createFulfillmentOrder operation.
	// Required: true
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// The seller SKU of the item.
	// Required: true
	SellerSku *string `json:"sellerSku"`

	// The serial number of the shipped item.
	SerialNumber string `json:"serialNumber,omitempty"`
}

FulfillmentShipmentItem Item information for a shipment in a fulfillment order.

swagger:model FulfillmentShipmentItem

func (*FulfillmentShipmentItem) ContextValidate

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

ContextValidate validate this fulfillment shipment item based on the context it is used

func (*FulfillmentShipmentItem) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentShipmentItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentShipmentItem) Validate

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

Validate validates this fulfillment shipment item

type FulfillmentShipmentItemList

type FulfillmentShipmentItemList []*FulfillmentShipmentItem

FulfillmentShipmentItemList An array of fulfillment shipment item information.

swagger:model FulfillmentShipmentItemList

func (FulfillmentShipmentItemList) ContextValidate

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

ContextValidate validate this fulfillment shipment item list based on the context it is used

func (FulfillmentShipmentItemList) Validate

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

Validate validates this fulfillment shipment item list

type FulfillmentShipmentList

type FulfillmentShipmentList []*FulfillmentShipment

FulfillmentShipmentList An array of fulfillment shipment information.

swagger:model FulfillmentShipmentList

func (FulfillmentShipmentList) ContextValidate

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

ContextValidate validate this fulfillment shipment list based on the context it is used

func (FulfillmentShipmentList) Validate

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

Validate validates this fulfillment shipment list

type FulfillmentShipmentPackage

type FulfillmentShipmentPackage struct {

	// Identifies the carrier who will deliver the shipment to the recipient.
	// Required: true
	CarrierCode *string `json:"carrierCode"`

	// The estimated arrival date and time of the package, in ISO 8601 date time format.
	// Format: date-time
	EstimatedArrivalDate Timestamp `json:"estimatedArrivalDate,omitempty"`

	// Identifies a package in a shipment.
	// Required: true
	PackageNumber *int32 `json:"packageNumber"`

	// The tracking number, if provided, can be used to obtain tracking and delivery information.
	TrackingNumber string `json:"trackingNumber,omitempty"`
}

FulfillmentShipmentPackage Package information for a shipment in a fulfillment order.

swagger:model FulfillmentShipmentPackage

func (*FulfillmentShipmentPackage) ContextValidate

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

ContextValidate validate this fulfillment shipment package based on the context it is used

func (*FulfillmentShipmentPackage) MarshalBinary

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

MarshalBinary interface implementation

func (*FulfillmentShipmentPackage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FulfillmentShipmentPackage) Validate

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

Validate validates this fulfillment shipment package

type FulfillmentShipmentPackageList

type FulfillmentShipmentPackageList []*FulfillmentShipmentPackage

FulfillmentShipmentPackageList An array of fulfillment shipment package information.

swagger:model FulfillmentShipmentPackageList

func (FulfillmentShipmentPackageList) ContextValidate

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

ContextValidate validate this fulfillment shipment package list based on the context it is used

func (FulfillmentShipmentPackageList) Validate

Validate validates this fulfillment shipment package list

type GetFeatureInventoryResponse

type GetFeatureInventoryResponse struct {

	// One or more unexpected errors occurred during the getFeatureInventory operation.
	Errors ErrorList `json:"errors,omitempty"`

	// payload
	Payload *GetFeatureInventoryResult `json:"payload,omitempty"`
}

GetFeatureInventoryResponse The breakdown of eligibility inventory by feature.

swagger:model GetFeatureInventoryResponse

func (*GetFeatureInventoryResponse) ContextValidate

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

ContextValidate validate this get feature inventory response based on the context it is used

func (*GetFeatureInventoryResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFeatureInventoryResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFeatureInventoryResponse) Validate

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

Validate validates this get feature inventory response

type GetFeatureInventoryResult

type GetFeatureInventoryResult struct {

	// The name of the feature.
	// Required: true
	FeatureName *string `json:"featureName"`

	// An array of SKUs eligible for this feature and the quantity available.
	FeatureSkus []*FeatureSku `json:"featureSkus"`

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

	// When present and not empty, pass this string token in the next request to return the next response page.
	NextToken string `json:"nextToken,omitempty"`
}

GetFeatureInventoryResult The payload for the getEligibileInventory operation.

swagger:model GetFeatureInventoryResult

func (*GetFeatureInventoryResult) ContextValidate

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

ContextValidate validate this get feature inventory result based on the context it is used

func (*GetFeatureInventoryResult) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFeatureInventoryResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFeatureInventoryResult) Validate

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

Validate validates this get feature inventory result

type GetFeatureSkuResponse

type GetFeatureSkuResponse struct {

	// errors
	Errors ErrorList `json:"errors,omitempty"`

	// payload
	Payload *GetFeatureSkuResult `json:"payload,omitempty"`
}

GetFeatureSkuResponse The response schema for the getFeatureSKU operation.

swagger:model GetFeatureSkuResponse

func (*GetFeatureSkuResponse) ContextValidate

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

ContextValidate validate this get feature sku response based on the context it is used

func (*GetFeatureSkuResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFeatureSkuResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFeatureSkuResponse) Validate

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

Validate validates this get feature sku response

type GetFeatureSkuResult

type GetFeatureSkuResult struct {

	// The name of the feature.
	// Required: true
	FeatureName *string `json:"featureName"`

	// A list of one or more reasons that the seller SKU is ineligibile for the feature.
	//
	// Possible values:
	// * MERCHANT_NOT_ENROLLED - The merchant isn't enrolled for the feature.
	// * SKU_NOT_ELIGIBLE - The SKU doesn't reside in a warehouse that supports the feature.
	// * INVALID_SKU - There is an issue with the SKU provided.
	IneligibleReasons []string `json:"ineligibleReasons"`

	// When true, the seller SKU is eligible for the requested feature.
	// Required: true
	IsEligible *bool `json:"isEligible"`

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

	// Information about the SKU, including the count available, identifiers, and a list of overlapping SKUs that share the same inventory pool.
	SkuInfo *FeatureSku `json:"skuInfo,omitempty"`
}

GetFeatureSkuResult The payload for the getFeatureSKU operation.

swagger:model GetFeatureSkuResult

func (*GetFeatureSkuResult) ContextValidate

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

ContextValidate validate this get feature sku result based on the context it is used

func (*GetFeatureSkuResult) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFeatureSkuResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFeatureSkuResult) Validate

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

Validate validates this get feature sku result

type GetFeaturesResponse

type GetFeaturesResponse struct {

	// errors
	Errors ErrorList `json:"errors,omitempty"`

	// payload
	Payload *GetFeaturesResult `json:"payload,omitempty"`
}

GetFeaturesResponse The response schema for the getFeatures operation.

swagger:model GetFeaturesResponse

func (*GetFeaturesResponse) ContextValidate

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

ContextValidate validate this get features response based on the context it is used

func (*GetFeaturesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFeaturesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFeaturesResponse) Validate

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

Validate validates this get features response

type GetFeaturesResult

type GetFeaturesResult struct {

	// features
	// Required: true
	Features Features `json:"features"`
}

GetFeaturesResult The payload for the getFeatures operation.

swagger:model GetFeaturesResult

func (*GetFeaturesResult) ContextValidate

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

ContextValidate validate this get features result based on the context it is used

func (*GetFeaturesResult) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFeaturesResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFeaturesResult) Validate

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

Validate validates this get features result

type GetFulfillmentOrderResponse

type GetFulfillmentOrderResponse struct {

	// One or more unexpected errors occurred during the getFulfillmentOrder operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the getFulfillmentOrder operation.
	Payload *GetFulfillmentOrderResult `json:"payload,omitempty"`
}

GetFulfillmentOrderResponse The response schema for the getFulfillmentOrder operation.

swagger:model GetFulfillmentOrderResponse

func (*GetFulfillmentOrderResponse) ContextValidate

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

ContextValidate validate this get fulfillment order response based on the context it is used

func (*GetFulfillmentOrderResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFulfillmentOrderResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFulfillmentOrderResponse) Validate

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

Validate validates this get fulfillment order response

type GetFulfillmentOrderResult

type GetFulfillmentOrderResult struct {

	// fulfillment order
	// Required: true
	FulfillmentOrder *FulfillmentOrder `json:"fulfillmentOrder"`

	// fulfillment order items
	// Required: true
	FulfillmentOrderItems FulfillmentOrderItemList `json:"fulfillmentOrderItems"`

	// fulfillment shipments
	FulfillmentShipments FulfillmentShipmentList `json:"fulfillmentShipments,omitempty"`

	// return authorizations
	// Required: true
	ReturnAuthorizations ReturnAuthorizationList `json:"returnAuthorizations"`

	// return items
	// Required: true
	ReturnItems ReturnItemList `json:"returnItems"`
}

GetFulfillmentOrderResult get fulfillment order result

swagger:model GetFulfillmentOrderResult

func (*GetFulfillmentOrderResult) ContextValidate

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

ContextValidate validate this get fulfillment order result based on the context it is used

func (*GetFulfillmentOrderResult) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFulfillmentOrderResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFulfillmentOrderResult) Validate

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

Validate validates this get fulfillment order result

type GetFulfillmentPreviewItem

type GetFulfillmentPreviewItem struct {

	// The monetary value assigned by the seller to this item. This is a required field if this order is an export order.
	PerUnitDeclaredValue *Money `json:"perUnitDeclaredValue,omitempty"`

	// quantity
	// Required: true
	Quantity *Quantity `json:"quantity"`

	// A fulfillment order item identifier that the seller creates to track items in the fulfillment preview.
	// Required: true
	// Max Length: 50
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// The seller SKU of the item.
	// Required: true
	// Max Length: 50
	SellerSku *string `json:"sellerSku"`
}

GetFulfillmentPreviewItem Item information for a fulfillment order preview.

swagger:model GetFulfillmentPreviewItem

func (*GetFulfillmentPreviewItem) ContextValidate

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

ContextValidate validate this get fulfillment preview item based on the context it is used

func (*GetFulfillmentPreviewItem) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFulfillmentPreviewItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFulfillmentPreviewItem) Validate

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

Validate validates this get fulfillment preview item

type GetFulfillmentPreviewItemList

type GetFulfillmentPreviewItemList []*GetFulfillmentPreviewItem

GetFulfillmentPreviewItemList An array of fulfillment preview item information.

swagger:model GetFulfillmentPreviewItemList

func (GetFulfillmentPreviewItemList) ContextValidate

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

ContextValidate validate this get fulfillment preview item list based on the context it is used

func (GetFulfillmentPreviewItemList) Validate

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

Validate validates this get fulfillment preview item list

type GetFulfillmentPreviewRequest

type GetFulfillmentPreviewRequest struct {

	// The destination address for the fulfillment order preview.
	// Required: true
	Address *Address `json:"address"`

	// A list of features and their fulfillment policies to apply to the order.
	FeatureConstraints []*FeatureSettings `json:"featureConstraints"`

	// When true, returns all fulfillment order previews both for COD and not for COD. Otherwise, returns only fulfillment order previews that are not for COD.
	IncludeCODFulfillmentPreview bool `json:"includeCODFulfillmentPreview,omitempty"`

	// When true, returns the ScheduledDeliveryInfo response object, which contains the available delivery windows for a Scheduled Delivery. The ScheduledDeliveryInfo response object can only be returned for fulfillment order previews with ShippingSpeedCategories = ScheduledDelivery.
	IncludeDeliveryWindows bool `json:"includeDeliveryWindows,omitempty"`

	// Identifying information and quantity information for the items in the fulfillment order preview.
	// Required: true
	Items GetFulfillmentPreviewItemList `json:"items"`

	// The marketplace the fulfillment order is placed against.
	MarketplaceID string `json:"marketplaceId,omitempty"`

	// A list of shipping methods used for creating fulfillment order previews.
	//
	// Possible values:
	//
	// * Standard - Standard shipping method.
	// * Expedited - Expedited shipping method.
	// * Priority - Priority shipping method.
	// * ScheduledDelivery - Scheduled Delivery shipping method.
	// Note: Shipping method service level agreements vary by marketplace. Sellers should see the Seller Central website in their marketplace for shipping method service level agreements and fulfillment fees.
	ShippingSpeedCategories ShippingSpeedCategoryList `json:"shippingSpeedCategories,omitempty"`
}

GetFulfillmentPreviewRequest The request body schema for the getFulfillmentPreview operation.

swagger:model GetFulfillmentPreviewRequest

func (*GetFulfillmentPreviewRequest) ContextValidate

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

ContextValidate validate this get fulfillment preview request based on the context it is used

func (*GetFulfillmentPreviewRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFulfillmentPreviewRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFulfillmentPreviewRequest) Validate

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

Validate validates this get fulfillment preview request

type GetFulfillmentPreviewResponse

type GetFulfillmentPreviewResponse struct {

	// One or more unexpected errors occurred during the getFulfillmentPreview operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The response payload for the getFulfillmentPreview operation.
	Payload *GetFulfillmentPreviewResult `json:"payload,omitempty"`
}

GetFulfillmentPreviewResponse The response schema for the getFulfillmentPreview operation.

swagger:model GetFulfillmentPreviewResponse

func (*GetFulfillmentPreviewResponse) ContextValidate

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

ContextValidate validate this get fulfillment preview response based on the context it is used

func (*GetFulfillmentPreviewResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFulfillmentPreviewResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFulfillmentPreviewResponse) Validate

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

Validate validates this get fulfillment preview response

type GetFulfillmentPreviewResult

type GetFulfillmentPreviewResult struct {

	// fulfillment previews
	FulfillmentPreviews FulfillmentPreviewList `json:"fulfillmentPreviews,omitempty"`
}

GetFulfillmentPreviewResult A list of fulfillment order previews, including estimated shipping weights, estimated shipping fees, and estimated ship dates and arrival dates.

swagger:model GetFulfillmentPreviewResult

func (*GetFulfillmentPreviewResult) ContextValidate

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

ContextValidate validate this get fulfillment preview result based on the context it is used

func (*GetFulfillmentPreviewResult) MarshalBinary

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

MarshalBinary interface implementation

func (*GetFulfillmentPreviewResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetFulfillmentPreviewResult) Validate

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

Validate validates this get fulfillment preview result

type GetPackageTrackingDetailsResponse

type GetPackageTrackingDetailsResponse struct {

	// One or more unexpected errors occurred during the getPackageTrackingDetails operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the getPackageTrackingDetails operation.
	Payload *PackageTrackingDetails `json:"payload,omitempty"`
}

GetPackageTrackingDetailsResponse The response schema for the getPackageTrackingDetails operation.

swagger:model GetPackageTrackingDetailsResponse

func (*GetPackageTrackingDetailsResponse) ContextValidate

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

ContextValidate validate this get package tracking details response based on the context it is used

func (*GetPackageTrackingDetailsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetPackageTrackingDetailsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetPackageTrackingDetailsResponse) Validate

Validate validates this get package tracking details response

type InvalidItemReason

type InvalidItemReason struct {

	// A human readable description of the invalid item reason code.
	// Required: true
	Description *string `json:"description"`

	// invalid item reason code
	// Required: true
	InvalidItemReasonCode *InvalidItemReasonCode `json:"invalidItemReasonCode"`
}

InvalidItemReason The reason that the item is invalid for return.

swagger:model InvalidItemReason

func (*InvalidItemReason) ContextValidate

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

ContextValidate validate this invalid item reason based on the context it is used

func (*InvalidItemReason) MarshalBinary

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

MarshalBinary interface implementation

func (*InvalidItemReason) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InvalidItemReason) Validate

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

Validate validates this invalid item reason

type InvalidItemReasonCode

type InvalidItemReasonCode string

InvalidItemReasonCode A code for why the item is invalid for return.

swagger:model InvalidItemReasonCode

const (

	// InvalidItemReasonCodeInvalidValues captures enum value "InvalidValues"
	InvalidItemReasonCodeInvalidValues InvalidItemReasonCode = "InvalidValues"

	// InvalidItemReasonCodeDuplicateRequest captures enum value "DuplicateRequest"
	InvalidItemReasonCodeDuplicateRequest InvalidItemReasonCode = "DuplicateRequest"

	// InvalidItemReasonCodeNoCompletedShipItems captures enum value "NoCompletedShipItems"
	InvalidItemReasonCodeNoCompletedShipItems InvalidItemReasonCode = "NoCompletedShipItems"

	// InvalidItemReasonCodeNoReturnableQuantity captures enum value "NoReturnableQuantity"
	InvalidItemReasonCodeNoReturnableQuantity InvalidItemReasonCode = "NoReturnableQuantity"
)

func NewInvalidItemReasonCode

func NewInvalidItemReasonCode(value InvalidItemReasonCode) *InvalidItemReasonCode

func (InvalidItemReasonCode) ContextValidate

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

ContextValidate validates this invalid item reason code based on context it is used

func (InvalidItemReasonCode) Pointer

Pointer returns a pointer to a freshly-allocated InvalidItemReasonCode.

func (InvalidItemReasonCode) Validate

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

Validate validates this invalid item reason code

type InvalidReturnItem

type InvalidReturnItem struct {

	// invalid item reason
	// Required: true
	InvalidItemReason *InvalidItemReason `json:"invalidItemReason"`

	// The identifier assigned to the item by the seller when the fulfillment order was created.
	// Required: true
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// An identifier assigned by the seller to the return item.
	// Required: true
	SellerReturnItemID *string `json:"sellerReturnItemId"`
}

InvalidReturnItem An item that is invalid for return.

swagger:model InvalidReturnItem

func (*InvalidReturnItem) ContextValidate

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

ContextValidate validate this invalid return item based on the context it is used

func (*InvalidReturnItem) MarshalBinary

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

MarshalBinary interface implementation

func (*InvalidReturnItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InvalidReturnItem) Validate

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

Validate validates this invalid return item

type InvalidReturnItemList

type InvalidReturnItemList []*InvalidReturnItem

InvalidReturnItemList An array of invalid return item information.

swagger:model InvalidReturnItemList

func (InvalidReturnItemList) ContextValidate

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

ContextValidate validate this invalid return item list based on the context it is used

func (InvalidReturnItemList) Validate

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

Validate validates this invalid return item list

type ListAllFulfillmentOrdersResponse

type ListAllFulfillmentOrdersResponse struct {

	// One or more unexpected errors occurred during the listAllFulfillmentOrders operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the listAllFulfillmentOrders operation.
	Payload *ListAllFulfillmentOrdersResult `json:"payload,omitempty"`
}

ListAllFulfillmentOrdersResponse The response schema for the listAllFulfillmentOrders operation.

swagger:model ListAllFulfillmentOrdersResponse

func (*ListAllFulfillmentOrdersResponse) ContextValidate

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

ContextValidate validate this list all fulfillment orders response based on the context it is used

func (*ListAllFulfillmentOrdersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListAllFulfillmentOrdersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListAllFulfillmentOrdersResponse) Validate

Validate validates this list all fulfillment orders response

type ListAllFulfillmentOrdersResult

type ListAllFulfillmentOrdersResult struct {

	// An array of fulfillment order information.
	FulfillmentOrders []*FulfillmentOrder `json:"fulfillmentOrders"`

	// When present and not empty, pass this string token in the next request to return the next response page.
	NextToken string `json:"nextToken,omitempty"`
}

ListAllFulfillmentOrdersResult list all fulfillment orders result

swagger:model ListAllFulfillmentOrdersResult

func (*ListAllFulfillmentOrdersResult) ContextValidate

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

ContextValidate validate this list all fulfillment orders result based on the context it is used

func (*ListAllFulfillmentOrdersResult) MarshalBinary

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

MarshalBinary interface implementation

func (*ListAllFulfillmentOrdersResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListAllFulfillmentOrdersResult) Validate

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

Validate validates this list all fulfillment orders result

type ListReturnReasonCodesResponse

type ListReturnReasonCodesResponse struct {

	// One or more unexpected errors occurred during the listReturnReasonCodes operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the listReturnReasonCodes operation.
	Payload *ListReturnReasonCodesResult `json:"payload,omitempty"`
}

ListReturnReasonCodesResponse The response schema for the listReturnReasonCodes operation.

swagger:model ListReturnReasonCodesResponse

func (*ListReturnReasonCodesResponse) ContextValidate

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

ContextValidate validate this list return reason codes response based on the context it is used

func (*ListReturnReasonCodesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListReturnReasonCodesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListReturnReasonCodesResponse) Validate

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

Validate validates this list return reason codes response

type ListReturnReasonCodesResult

type ListReturnReasonCodesResult struct {

	// reason code details
	ReasonCodeDetails ReasonCodeDetailsList `json:"reasonCodeDetails,omitempty"`
}

ListReturnReasonCodesResult list return reason codes result

swagger:model ListReturnReasonCodesResult

func (*ListReturnReasonCodesResult) ContextValidate

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

ContextValidate validate this list return reason codes result based on the context it is used

func (*ListReturnReasonCodesResult) MarshalBinary

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

MarshalBinary interface implementation

func (*ListReturnReasonCodesResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListReturnReasonCodesResult) Validate

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

Validate validates this list return reason codes result

type Money

type Money struct {

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

	// value
	// Required: true
	Value *Decimal `json:"value"`
}

Money An amount of money, including units in the form of currency.

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 NotificationEmailList

type NotificationEmailList []string

NotificationEmailList A list of email addresses that the seller provides that are used by Amazon to send ship-complete notifications to recipients on behalf of the seller.

swagger:model NotificationEmailList

func (NotificationEmailList) ContextValidate

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

ContextValidate validates this notification email list based on context it is used

func (NotificationEmailList) Validate

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

Validate validates this notification email list

type PackageTrackingDetails

type PackageTrackingDetails struct {

	// additional location info
	AdditionalLocationInfo AdditionalLocationInfo `json:"additionalLocationInfo,omitempty"`

	// The name of the carrier.
	CarrierCode string `json:"carrierCode,omitempty"`

	// The phone number of the carrier.
	CarrierPhoneNumber string `json:"carrierPhoneNumber,omitempty"`

	// The URL of the carrier's website.
	CarrierURL string `json:"carrierURL,omitempty"`

	// current status
	CurrentStatus CurrentStatus `json:"currentStatus,omitempty"`

	// Description corresponding to the CurrentStatus value.
	CurrentStatusDescription string `json:"currentStatusDescription,omitempty"`

	// Link on swiship.com that allows customers to track the package.
	CustomerTrackingLink string `json:"customerTrackingLink,omitempty"`

	// The estimated arrival date.
	// Format: date-time
	EstimatedArrivalDate Timestamp `json:"estimatedArrivalDate,omitempty"`

	// The package identifier.
	// Required: true
	PackageNumber *int32 `json:"packageNumber"`

	// The shipping date for the package.
	// Format: date-time
	ShipDate Timestamp `json:"shipDate,omitempty"`

	// The destination city for the package.
	ShipToAddress *TrackingAddress `json:"shipToAddress,omitempty"`

	// The name of the person who signed for the package.
	SignedForBy string `json:"signedForBy,omitempty"`

	// tracking events
	TrackingEvents TrackingEventList `json:"trackingEvents,omitempty"`

	// The tracking number for the package.
	TrackingNumber string `json:"trackingNumber,omitempty"`
}

PackageTrackingDetails package tracking details

swagger:model PackageTrackingDetails

func (*PackageTrackingDetails) ContextValidate

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

ContextValidate validate this package tracking details based on the context it is used

func (*PackageTrackingDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*PackageTrackingDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PackageTrackingDetails) Validate

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

Validate validates this package tracking details

type Quantity

type Quantity int32

Quantity The item quantity.

swagger:model Quantity

func (Quantity) ContextValidate

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

ContextValidate validates this quantity based on context it is used

func (Quantity) Validate

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

Validate validates this quantity

type ReasonCodeDetails

type ReasonCodeDetails struct {

	// A human readable description of the return reason code.
	// Required: true
	Description *string `json:"description"`

	// A code that indicates a valid return reason.
	// Required: true
	ReturnReasonCode *string `json:"returnReasonCode"`

	// A translation of the description. The translation is in the language specified in the Language request parameter.
	TranslatedDescription string `json:"translatedDescription,omitempty"`
}

ReasonCodeDetails A return reason code, a description, and an optional description translation.

swagger:model ReasonCodeDetails

func (*ReasonCodeDetails) ContextValidate

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

ContextValidate validates this reason code details based on context it is used

func (*ReasonCodeDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ReasonCodeDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ReasonCodeDetails) Validate

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

Validate validates this reason code details

type ReasonCodeDetailsList

type ReasonCodeDetailsList []*ReasonCodeDetails

ReasonCodeDetailsList An array of return reason code details.

swagger:model ReasonCodeDetailsList

func (ReasonCodeDetailsList) ContextValidate

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

ContextValidate validate this reason code details list based on the context it is used

func (ReasonCodeDetailsList) Validate

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

Validate validates this reason code details list

type ReturnAuthorization

type ReturnAuthorization struct {

	// The return merchandise authorization (RMA) that Amazon needs to process the return.
	// Required: true
	AmazonRmaID *string `json:"amazonRmaId"`

	// An identifier for the Amazon fulfillment center that the return items should be sent to.
	// Required: true
	FulfillmentCenterID *string `json:"fulfillmentCenterId"`

	// An identifier for the return authorization. This identifier associates return items with the return authorization used to return them.
	// Required: true
	ReturnAuthorizationID *string `json:"returnAuthorizationId"`

	// The address of the Amazon fulfillment center that the return items should be sent to.
	// Required: true
	ReturnToAddress *Address `json:"returnToAddress"`

	// A URL for a web page that contains the return authorization barcode and the mailing label. This does not include pre-paid shipping.
	// Required: true
	RmaPageURL *string `json:"rmaPageURL"`
}

ReturnAuthorization Return authorization information for items accepted for return.

swagger:model ReturnAuthorization

func (*ReturnAuthorization) ContextValidate

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

ContextValidate validate this return authorization based on the context it is used

func (*ReturnAuthorization) MarshalBinary

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

MarshalBinary interface implementation

func (*ReturnAuthorization) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ReturnAuthorization) Validate

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

Validate validates this return authorization

type ReturnAuthorizationList

type ReturnAuthorizationList []*ReturnAuthorization

ReturnAuthorizationList An array of return authorization information.

swagger:model ReturnAuthorizationList

func (ReturnAuthorizationList) ContextValidate

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

ContextValidate validate this return authorization list based on the context it is used

func (ReturnAuthorizationList) Validate

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

Validate validates this return authorization list

type ReturnItem

type ReturnItem struct {

	// The return reason code that the Amazon fulfillment center assigned to the return item.
	AmazonReturnReasonCode string `json:"amazonReturnReasonCode,omitempty"`

	// The identifier for the shipment that is associated with the return item.
	// Required: true
	AmazonShipmentID *string `json:"amazonShipmentId"`

	// The identifier for the Amazon fulfillment center that processed the return item.
	FulfillmentCenterID string `json:"fulfillmentCenterId,omitempty"`

	// Identifies the return authorization used to return this item. See ReturnAuthorization.
	ReturnAuthorizationID string `json:"returnAuthorizationId,omitempty"`

	// An optional comment about the return item.
	ReturnComment string `json:"returnComment,omitempty"`

	// return received condition
	ReturnReceivedCondition ReturnItemDisposition `json:"returnReceivedCondition,omitempty"`

	// The identifier assigned to the item by the seller when the fulfillment order was created.
	// Required: true
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// An identifier assigned by the seller to the return item.
	// Required: true
	SellerReturnItemID *string `json:"sellerReturnItemId"`

	// The return reason code assigned to the return item by the seller.
	// Required: true
	SellerReturnReasonCode *string `json:"sellerReturnReasonCode"`

	// Indicates if the return item has been processed by an Amazon fulfillment center.
	// Required: true
	Status *FulfillmentReturnItemStatus `json:"status"`

	// Indicates when the status last changed.
	// Required: true
	// Format: date-time
	StatusChangedDate *Timestamp `json:"statusChangedDate"`
}

ReturnItem An item that Amazon accepted for return.

swagger:model ReturnItem

func (*ReturnItem) ContextValidate

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

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

func (*ReturnItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ReturnItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ReturnItem) Validate

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

Validate validates this return item

type ReturnItemDisposition

type ReturnItemDisposition string

ReturnItemDisposition The condition of the return item when received by an Amazon fulfillment center.

swagger:model ReturnItemDisposition

const (

	// ReturnItemDispositionSellable captures enum value "Sellable"
	ReturnItemDispositionSellable ReturnItemDisposition = "Sellable"

	// ReturnItemDispositionDefective captures enum value "Defective"
	ReturnItemDispositionDefective ReturnItemDisposition = "Defective"

	// ReturnItemDispositionCustomerDamaged captures enum value "CustomerDamaged"
	ReturnItemDispositionCustomerDamaged ReturnItemDisposition = "CustomerDamaged"

	// ReturnItemDispositionCarrierDamaged captures enum value "CarrierDamaged"
	ReturnItemDispositionCarrierDamaged ReturnItemDisposition = "CarrierDamaged"

	// ReturnItemDispositionFulfillerDamaged captures enum value "FulfillerDamaged"
	ReturnItemDispositionFulfillerDamaged ReturnItemDisposition = "FulfillerDamaged"
)

func NewReturnItemDisposition

func NewReturnItemDisposition(value ReturnItemDisposition) *ReturnItemDisposition

func (ReturnItemDisposition) ContextValidate

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

ContextValidate validates this return item disposition based on context it is used

func (ReturnItemDisposition) Pointer

Pointer returns a pointer to a freshly-allocated ReturnItemDisposition.

func (ReturnItemDisposition) Validate

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

Validate validates this return item disposition

type ReturnItemList

type ReturnItemList []*ReturnItem

ReturnItemList An array of items that Amazon accepted for return. Returns empty if no items were accepted for return.

swagger:model ReturnItemList

func (ReturnItemList) ContextValidate

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

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

func (ReturnItemList) Validate

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

Validate validates this return item list

type ScheduledDeliveryInfo

type ScheduledDeliveryInfo struct {

	// The time zone of the destination address for the fulfillment order preview. Must be an IANA time zone name. Example: Asia/Tokyo.
	// Required: true
	DeliveryTimeZone *string `json:"deliveryTimeZone"`

	// An array of time ranges that are available for scheduled delivery.
	// Required: true
	DeliveryWindows DeliveryWindowList `json:"deliveryWindows"`
}

ScheduledDeliveryInfo Delivery information for a scheduled delivery. This is only available in the JP marketplace.

swagger:model ScheduledDeliveryInfo

func (*ScheduledDeliveryInfo) ContextValidate

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

ContextValidate validate this scheduled delivery info based on the context it is used

func (*ScheduledDeliveryInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*ScheduledDeliveryInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ScheduledDeliveryInfo) Validate

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

Validate validates this scheduled delivery info

type ShippingSpeedCategory

type ShippingSpeedCategory string

ShippingSpeedCategory The shipping method used for the fulfillment order. When this value is ScheduledDelivery, choose Ship for the fulfillmentAction. Hold is not a valid fulfillmentAction value when the shippingSpeedCategory value is ScheduledDelivery.

swagger:model ShippingSpeedCategory

const (

	// ShippingSpeedCategoryStandard captures enum value "Standard"
	ShippingSpeedCategoryStandard ShippingSpeedCategory = "Standard"

	// ShippingSpeedCategoryExpedited captures enum value "Expedited"
	ShippingSpeedCategoryExpedited ShippingSpeedCategory = "Expedited"

	// ShippingSpeedCategoryPriority captures enum value "Priority"
	ShippingSpeedCategoryPriority ShippingSpeedCategory = "Priority"

	// ShippingSpeedCategoryScheduledDelivery captures enum value "ScheduledDelivery"
	ShippingSpeedCategoryScheduledDelivery ShippingSpeedCategory = "ScheduledDelivery"
)

func NewShippingSpeedCategory

func NewShippingSpeedCategory(value ShippingSpeedCategory) *ShippingSpeedCategory

func (ShippingSpeedCategory) ContextValidate

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

ContextValidate validates this shipping speed category based on context it is used

func (ShippingSpeedCategory) Pointer

Pointer returns a pointer to a freshly-allocated ShippingSpeedCategory.

func (ShippingSpeedCategory) Validate

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

Validate validates this shipping speed category

type ShippingSpeedCategoryList

type ShippingSpeedCategoryList []ShippingSpeedCategory

ShippingSpeedCategoryList shipping speed category list

swagger:model ShippingSpeedCategoryList

func (ShippingSpeedCategoryList) ContextValidate

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

ContextValidate validate this shipping speed category list based on the context it is used

func (ShippingSpeedCategoryList) Validate

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

Validate validates this shipping speed category list

type StringList

type StringList []string

StringList string list

swagger:model StringList

func (StringList) ContextValidate

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

ContextValidate validates this string list based on context it is used

func (StringList) Validate

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

Validate validates this string list

type SubmitFulfillmentOrderStatusUpdateRequest

type SubmitFulfillmentOrderStatusUpdateRequest struct {

	// fulfillment order status
	FulfillmentOrderStatus FulfillmentOrderStatus `json:"fulfillmentOrderStatus,omitempty"`
}

SubmitFulfillmentOrderStatusUpdateRequest The request body schema for the submitFulfillmentOrderStatusUpdate operation.

swagger:model SubmitFulfillmentOrderStatusUpdateRequest

func (*SubmitFulfillmentOrderStatusUpdateRequest) ContextValidate

ContextValidate validate this submit fulfillment order status update request based on the context it is used

func (*SubmitFulfillmentOrderStatusUpdateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SubmitFulfillmentOrderStatusUpdateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubmitFulfillmentOrderStatusUpdateRequest) Validate

Validate validates this submit fulfillment order status update request

type SubmitFulfillmentOrderStatusUpdateResponse

type SubmitFulfillmentOrderStatusUpdateResponse struct {

	// One or more unexpected errors occurred during the SubmitFulfillmentOrderStatusUpdate operation.
	Errors ErrorList `json:"errors,omitempty"`
}

SubmitFulfillmentOrderStatusUpdateResponse The response schema for the SubmitFulfillmentOrderStatusUpdate operation.

swagger:model SubmitFulfillmentOrderStatusUpdateResponse

func (*SubmitFulfillmentOrderStatusUpdateResponse) ContextValidate

ContextValidate validate this submit fulfillment order status update response based on the context it is used

func (*SubmitFulfillmentOrderStatusUpdateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SubmitFulfillmentOrderStatusUpdateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubmitFulfillmentOrderStatusUpdateResponse) Validate

Validate validates this submit fulfillment order status update response

type Timestamp

type Timestamp strfmt.DateTime

Timestamp timestamp

swagger:model Timestamp

func (Timestamp) ContextValidate

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

ContextValidate validates this timestamp based on context it is used

func (*Timestamp) MarshalBinary

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

MarshalBinary interface implementation

func (Timestamp) MarshalJSON

func (m Timestamp) MarshalJSON() ([]byte, error)

MarshalJSON retrieves a Timestamp value as JSON output

func (*Timestamp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Timestamp) UnmarshalJSON

func (m *Timestamp) UnmarshalJSON(b []byte) error

UnmarshalJSON sets a Timestamp value from JSON input

func (Timestamp) Validate

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

Validate validates this timestamp

type TrackingAddress

type TrackingAddress struct {

	// The city.
	// Required: true
	// Max Length: 150
	City *string `json:"city"`

	// The country.
	// Required: true
	// Max Length: 6
	Country *string `json:"country"`

	// The state.
	// Required: true
	// Max Length: 150
	State *string `json:"state"`
}

TrackingAddress Address information for tracking the package.

swagger:model TrackingAddress

func (*TrackingAddress) ContextValidate

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

ContextValidate validates this tracking address based on context it is used

func (*TrackingAddress) MarshalBinary

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

MarshalBinary interface implementation

func (*TrackingAddress) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TrackingAddress) Validate

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

Validate validates this tracking address

type TrackingEvent

type TrackingEvent struct {

	// The city where the delivery event took place.
	// Required: true
	EventAddress *TrackingAddress `json:"eventAddress"`

	// The event code for the delivery event.
	// Required: true
	EventCode *EventCode `json:"eventCode"`

	// The date and time that the delivery event took place, in ISO 8601 date time format.
	// Required: true
	// Format: date-time
	EventDate *Timestamp `json:"eventDate"`

	// A description for the corresponding event code.
	// Required: true
	EventDescription *string `json:"eventDescription"`
}

TrackingEvent Information for tracking package deliveries.

swagger:model TrackingEvent

func (*TrackingEvent) ContextValidate

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

ContextValidate validate this tracking event based on the context it is used

func (*TrackingEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*TrackingEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TrackingEvent) Validate

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

Validate validates this tracking event

type TrackingEventList

type TrackingEventList []*TrackingEvent

TrackingEventList An array of tracking event information.

swagger:model TrackingEventList

func (TrackingEventList) ContextValidate

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

ContextValidate validate this tracking event list based on the context it is used

func (TrackingEventList) Validate

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

Validate validates this tracking event list

type UnfulfillablePreviewItem

type UnfulfillablePreviewItem struct {

	// Error codes associated with the fulfillment order preview that indicate why the item is unfulfillable.
	ItemUnfulfillableReasons StringList `json:"itemUnfulfillableReasons,omitempty"`

	// quantity
	// Required: true
	Quantity *Quantity `json:"quantity"`

	// A fulfillment order item identifier created with a call to the getFulfillmentPreview operation.
	// Required: true
	// Max Length: 50
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// The seller SKU of the item.
	// Required: true
	// Max Length: 50
	SellerSku *string `json:"sellerSku"`
}

UnfulfillablePreviewItem Information about unfulfillable items in a fulfillment order preview.

swagger:model UnfulfillablePreviewItem

func (*UnfulfillablePreviewItem) ContextValidate

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

ContextValidate validate this unfulfillable preview item based on the context it is used

func (*UnfulfillablePreviewItem) MarshalBinary

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

MarshalBinary interface implementation

func (*UnfulfillablePreviewItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UnfulfillablePreviewItem) Validate

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

Validate validates this unfulfillable preview item

type UnfulfillablePreviewItemList

type UnfulfillablePreviewItemList []*UnfulfillablePreviewItem

UnfulfillablePreviewItemList An array of unfulfillable preview item information.

swagger:model UnfulfillablePreviewItemList

func (UnfulfillablePreviewItemList) ContextValidate

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

ContextValidate validate this unfulfillable preview item list based on the context it is used

func (UnfulfillablePreviewItemList) Validate

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

Validate validates this unfulfillable preview item list

type UpdateFulfillmentOrderItem

type UpdateFulfillmentOrderItem struct {

	// Item-specific text that displays in recipient-facing materials such as the outbound shipment packing slip.
	// Max Length: 250
	DisplayableComment string `json:"displayableComment,omitempty"`

	// Amazon's fulfillment network SKU of the item.
	FulfillmentNetworkSku string `json:"fulfillmentNetworkSku,omitempty"`

	// A message to the gift recipient, if applicable.
	// Max Length: 512
	GiftMessage string `json:"giftMessage,omitempty"`

	// Indicates whether the item is sellable or unsellable.
	OrderItemDisposition string `json:"orderItemDisposition,omitempty"`

	// The monetary value assigned by the seller to this item.
	PerUnitDeclaredValue *Money `json:"perUnitDeclaredValue,omitempty"`

	// The amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
	PerUnitPrice *Money `json:"perUnitPrice,omitempty"`

	// The tax on the amount to be collected from the recipient for this item in a COD (Cash On Delivery) order.
	PerUnitTax *Money `json:"perUnitTax,omitempty"`

	// quantity
	// Required: true
	Quantity *Quantity `json:"quantity"`

	// Identifies the fulfillment order item to update. Created with a previous call to the createFulfillmentOrder operation.
	// Required: true
	// Max Length: 50
	SellerFulfillmentOrderItemID *string `json:"sellerFulfillmentOrderItemId"`

	// The seller SKU of the item.
	SellerSku string `json:"sellerSku,omitempty"`
}

UpdateFulfillmentOrderItem Item information for updating a fulfillment order.

swagger:model UpdateFulfillmentOrderItem

func (*UpdateFulfillmentOrderItem) ContextValidate

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

ContextValidate validate this update fulfillment order item based on the context it is used

func (*UpdateFulfillmentOrderItem) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateFulfillmentOrderItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateFulfillmentOrderItem) Validate

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

Validate validates this update fulfillment order item

type UpdateFulfillmentOrderItemList

type UpdateFulfillmentOrderItemList []*UpdateFulfillmentOrderItem

UpdateFulfillmentOrderItemList An array of fulfillment order item information for updating a fulfillment order.

swagger:model UpdateFulfillmentOrderItemList

func (UpdateFulfillmentOrderItemList) ContextValidate

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

ContextValidate validate this update fulfillment order item list based on the context it is used

func (UpdateFulfillmentOrderItemList) Validate

Validate validates this update fulfillment order item list

type UpdateFulfillmentOrderRequest

type UpdateFulfillmentOrderRequest struct {

	// The destination address for the fulfillment order.
	DestinationAddress *Address `json:"destinationAddress,omitempty"`

	// Order-specific text that appears in recipient-facing materials such as the outbound shipment packing slip.
	// Max Length: 1000
	DisplayableOrderComment string `json:"displayableOrderComment,omitempty"`

	// The date and time of the fulfillment order. Displays as the order date in recipient-facing materials such as the outbound shipment packing slip.
	// Format: date-time
	DisplayableOrderDate Timestamp `json:"displayableOrderDate,omitempty"`

	// A fulfillment order identifier that the seller creates. This value displays as the order identifier in recipient-facing materials such as the outbound shipment packing slip. The value of DisplayableOrderId should match the order identifier that the seller provides to the recipient. The seller can use the SellerFulfillmentOrderId for this value or they can specify an alternate value if they want the recipient to reference an alternate order identifier.
	// Max Length: 40
	DisplayableOrderID string `json:"displayableOrderId,omitempty"`

	// A list of features and their fulfillment policies to apply to the order.
	FeatureConstraints []*FeatureSettings `json:"featureConstraints"`

	// fulfillment action
	FulfillmentAction FulfillmentAction `json:"fulfillmentAction,omitempty"`

	// fulfillment policy
	FulfillmentPolicy FulfillmentPolicy `json:"fulfillmentPolicy,omitempty"`

	// A list of items to include in the fulfillment order preview, including quantity.
	Items UpdateFulfillmentOrderItemList `json:"items,omitempty"`

	// The marketplace the fulfillment order is placed against.
	MarketplaceID string `json:"marketplaceId,omitempty"`

	// notification emails
	NotificationEmails NotificationEmailList `json:"notificationEmails,omitempty"`

	// The two-character country code for the country from which the fulfillment order ships. Must be in ISO 3166-1 alpha-2 format.
	ShipFromCountryCode string `json:"shipFromCountryCode,omitempty"`

	// shipping speed category
	ShippingSpeedCategory ShippingSpeedCategory `json:"shippingSpeedCategory,omitempty"`
}

UpdateFulfillmentOrderRequest The request body schema for the updateFulfillmentOrder operation.

swagger:model UpdateFulfillmentOrderRequest

func (*UpdateFulfillmentOrderRequest) ContextValidate

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

ContextValidate validate this update fulfillment order request based on the context it is used

func (*UpdateFulfillmentOrderRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateFulfillmentOrderRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateFulfillmentOrderRequest) Validate

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

Validate validates this update fulfillment order request

type UpdateFulfillmentOrderResponse

type UpdateFulfillmentOrderResponse struct {

	// One or more unexpected errors occurred during the updateFulfillmentOrder operation.
	Errors ErrorList `json:"errors,omitempty"`
}

UpdateFulfillmentOrderResponse The response schema for the updateFulfillmentOrder operation.

swagger:model UpdateFulfillmentOrderResponse

func (*UpdateFulfillmentOrderResponse) ContextValidate

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

ContextValidate validate this update fulfillment order response based on the context it is used

func (*UpdateFulfillmentOrderResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateFulfillmentOrderResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateFulfillmentOrderResponse) Validate

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

Validate validates this update fulfillment order response

type Weight

type Weight struct {

	// The unit of weight.
	// Required: true
	// Enum: [KG KILOGRAMS LB POUNDS]
	Unit *string `json:"unit"`

	// The weight value.
	// Required: true
	Value *string `json:"value"`
}

Weight The weight.

swagger:model Weight

func (*Weight) ContextValidate

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

ContextValidate validates this weight based on context it is used

func (*Weight) MarshalBinary

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

MarshalBinary interface implementation

func (*Weight) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Weight) Validate

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

Validate validates this weight

Source Files

Jump to

Keyboard shortcuts

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