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

	// OrderDetailsOrderStatusNEW captures enum value "NEW"
	OrderDetailsOrderStatusNEW string = "NEW"

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

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

	// OrderDetailsOrderStatusCANCELLED captures enum value "CANCELLED"
	OrderDetailsOrderStatusCANCELLED string = "CANCELLED"
)
View Source
const (

	// TaxDetailsTypeCONSUMPTION captures enum value "CONSUMPTION"
	TaxDetailsTypeCONSUMPTION string = "CONSUMPTION"

	// TaxDetailsTypeGST captures enum value "GST"
	TaxDetailsTypeGST string = "GST"

	// TaxDetailsTypeMwStDot captures enum value "MwSt."
	TaxDetailsTypeMwStDot string = "MwSt."

	// TaxDetailsTypePST captures enum value "PST"
	TaxDetailsTypePST string = "PST"

	// TaxDetailsTypeTOTAL captures enum value "TOTAL"
	TaxDetailsTypeTOTAL string = "TOTAL"

	// TaxDetailsTypeTVA captures enum value "TVA"
	TaxDetailsTypeTVA string = "TVA"

	// TaxDetailsTypeVAT captures enum value "VAT"
	TaxDetailsTypeVAT string = "VAT"
)
View Source
const (

	// TaxRegistrationDetailsTaxRegistrationTypeVAT captures enum value "VAT"
	TaxRegistrationDetailsTaxRegistrationTypeVAT string = "VAT"

	// TaxRegistrationDetailsTaxRegistrationTypeGST captures enum value "GST"
	TaxRegistrationDetailsTaxRegistrationTypeGST string = "GST"
)
View Source
const (

	// ItemQuantityUnitOfMeasureEach captures enum value "Each"
	ItemQuantityUnitOfMeasureEach string = "Each"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcknowledgementStatus

type AcknowledgementStatus struct {

	// Acknowledgement code is a unique two digit value which indicates the status of the acknowledgement. For a list of acknowledgement codes that Amazon supports, see the Vendor Direct Fulfillment APIs Use Case Guide.
	Code string `json:"code,omitempty"`

	// Reason for the acknowledgement code.
	Description string `json:"description,omitempty"`
}

AcknowledgementStatus Status of acknowledgement.

swagger:model AcknowledgementStatus

func (*AcknowledgementStatus) ContextValidate

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

ContextValidate validates this acknowledgement status based on context it is used

func (*AcknowledgementStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*AcknowledgementStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AcknowledgementStatus) Validate

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

Validate validates this acknowledgement status

type Address

type Address struct {

	// First line of the address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	// Required: true
	AddressLine1 *string `json:"addressLine1"`

	// Additional address information, if required. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	AddressLine2 string `json:"addressLine2,omitempty"`

	// Additional address information, if required. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	AddressLine3 string `json:"addressLine3,omitempty"`

	// The attention name of the person at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	Attention string `json:"attention,omitempty"`

	// The city where the person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	City string `json:"city,omitempty"`

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

	// The county where person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	County string `json:"county,omitempty"`

	// The district where person, business or institution is located. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	District string `json:"district,omitempty"`

	// The name of the person, business or institution at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	// Required: true
	Name *string `json:"name"`

	// The phone number of the person, business or institution located at that address. For Amazon label only vendors, this field will have the value `xxxxx` within the object `shipToParty`.
	Phone string `json:"phone,omitempty"`

	// The postal code of that address. It conatins a series of letters or digits or both, sometimes including spaces or punctuation.
	PostalCode string `json:"postalCode,omitempty"`

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

Address Address of the party.

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 BuyerCustomizedInfoDetail

type BuyerCustomizedInfoDetail struct {

	// A [Base 64](https://datatracker.ietf.org/doc/html/rfc4648#section-4) encoded URL using the UTF-8 character set. The URL provides the location of the zip file that specifies the types of customizations or configurations allowed by the vendor, along with types and ranges for the attributes of their products.
	CustomizedURL string `json:"customizedUrl,omitempty"`
}

BuyerCustomizedInfoDetail buyer customized info detail

swagger:model buyerCustomizedInfoDetail

func (*BuyerCustomizedInfoDetail) ContextValidate

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

ContextValidate validates this buyer customized info detail based on context it is used

func (*BuyerCustomizedInfoDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*BuyerCustomizedInfoDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BuyerCustomizedInfoDetail) Validate

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

Validate validates this buyer customized info detail

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 Error

type Error struct {

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

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

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

Error Error response returned when the request is unsuccessful.

swagger:model Error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type ErrorList

type ErrorList struct {

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

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

swagger:model ErrorList

func (*ErrorList) ContextValidate

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

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

func (*ErrorList) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorList) Validate

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

Validate validates this error list

type GiftDetails

type GiftDetails struct {

	// Gift message to be printed in shipment.
	GiftMessage string `json:"giftMessage,omitempty"`

	// Gift wrap identifier for the gift wrapping, if any.
	GiftWrapID string `json:"giftWrapId,omitempty"`
}

GiftDetails Gift details for the item.

swagger:model GiftDetails

func (*GiftDetails) ContextValidate

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

ContextValidate validates this gift details based on context it is used

func (*GiftDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*GiftDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GiftDetails) Validate

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

Validate validates this gift details

type ItemQuantity

type ItemQuantity struct {

	// Acknowledged quantity. This value should not be zero.
	Amount int64 `json:"amount,omitempty"`

	// Unit of measure for the acknowledged quantity.
	// Enum: [Each]
	UnitOfMeasure string `json:"unitOfMeasure,omitempty"`
}

ItemQuantity Details of quantity ordered.

swagger:model ItemQuantity

func (*ItemQuantity) ContextValidate

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

ContextValidate validates this item quantity based on context it is used

func (*ItemQuantity) MarshalBinary

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

MarshalBinary interface implementation

func (*ItemQuantity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ItemQuantity) Validate

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

Validate validates this item quantity

type Money

type Money struct {

	// amount
	Amount Decimal `json:"amount,omitempty"`

	// Three digit currency code in ISO 4217 format. String of length 3.
	CurrencyCode string `json:"currencyCode,omitempty"`
}

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 Order

type Order struct {

	// Purchase order details.
	OrderDetails *OrderDetails `json:"orderDetails,omitempty"`

	// The purchase order number for this order. Formatting Notes: alpha-numeric code.
	// Required: true
	PurchaseOrderNumber *string `json:"purchaseOrderNumber"`
}

Order order

swagger:model Order

func (*Order) ContextValidate

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

ContextValidate validate this order based on the context it is used

func (*Order) MarshalBinary

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

MarshalBinary interface implementation

func (*Order) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Order) Validate

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

Validate validates this order

type OrderAcknowledgementItem

type OrderAcknowledgementItem struct {

	// The date and time when the order is acknowledged, in ISO-8601 date/time format. For example: 2018-07-16T23:00:00Z / 2018-07-16T23:00:00-05:00 / 2018-07-16T23:00:00-08:00.
	// Required: true
	// Format: date-time
	AcknowledgementDate *strfmt.DateTime `json:"acknowledgementDate"`

	// Status of acknowledgement.
	// Required: true
	AcknowledgementStatus *AcknowledgementStatus `json:"acknowledgementStatus"`

	// Item details including acknowledged quantity.
	// Required: true
	ItemAcknowledgements []*OrderItemAcknowledgement `json:"itemAcknowledgements"`

	// The purchase order number for this order. Formatting Notes: alpha-numeric code.
	// Required: true
	PurchaseOrderNumber *string `json:"purchaseOrderNumber"`

	// PartyID as vendor code.
	// Required: true
	SellingParty *PartyIdentification `json:"sellingParty"`

	// PartyID as the vendor's warehouseId.
	// Required: true
	ShipFromParty *PartyIdentification `json:"shipFromParty"`

	// The vendor's order number for this order.
	// Required: true
	VendorOrderNumber *string `json:"vendorOrderNumber"`
}

OrderAcknowledgementItem Details of an individual order being acknowledged.

swagger:model OrderAcknowledgementItem

func (*OrderAcknowledgementItem) ContextValidate

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

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

func (*OrderAcknowledgementItem) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderAcknowledgementItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderAcknowledgementItem) Validate

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

Validate validates this order acknowledgement item

type OrderDetails

type OrderDetails struct {

	// Name/Address and tax details of the bill to party.
	// Required: true
	BillToParty *PartyIdentification `json:"billToParty"`

	// The customer order number.
	// Required: true
	CustomerOrderNumber *string `json:"customerOrderNumber"`

	// A list of items in this purchase order.
	// Required: true
	Items []*OrderItem `json:"items"`

	// The date the order was placed. This  field is expected to be in ISO-8601 date/time format, for example:2018-07-16T23:00:00Z/ 2018-07-16T23:00:00-05:00 /2018-07-16T23:00:00-08:00. If no time zone is specified, UTC should be assumed.
	// Required: true
	// Format: date-time
	OrderDate *strfmt.DateTime `json:"orderDate"`

	// Current status of the order.
	// Enum: [NEW SHIPPED ACCEPTED CANCELLED]
	OrderStatus string `json:"orderStatus,omitempty"`

	// PartyID of vendor code.
	// Required: true
	SellingParty *PartyIdentification `json:"sellingParty"`

	// PartyID of vendor's warehouse.
	// Required: true
	ShipFromParty *PartyIdentification `json:"shipFromParty"`

	// Name/Address and tax details of the ship to party.
	// Required: true
	ShipToParty *Address `json:"shipToParty"`

	// shipment details
	// Required: true
	ShipmentDetails *ShipmentDetails `json:"shipmentDetails"`

	// tax total
	TaxTotal *TaxItemDetails `json:"taxTotal,omitempty"`
}

OrderDetails Details of an order.

swagger:model OrderDetails

func (*OrderDetails) ContextValidate

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

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

func (*OrderDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderDetails) Validate

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

Validate validates this order details

type OrderItem

type OrderItem struct {

	// The buyer information for products the vendor has configured as customizable, specifying the types of customizations or configurations along with types and ranges for their product. This provides the ability for buyers to customize multiple aspects of the products according to what the vendor allows.
	BuyerCustomizedInfo *BuyerCustomizedInfoDetail `json:"buyerCustomizedInfo,omitempty"`

	// Buyer's standard identification number (ASIN) of an item.
	BuyerProductIdentifier string `json:"buyerProductIdentifier,omitempty"`

	// Gift message and wrapId details.
	GiftDetails *GiftDetails `json:"giftDetails,omitempty"`

	// Numbering of the item on the purchase order. The first item will be 1, the second 2, and so on.
	// Required: true
	ItemSequenceNumber *string `json:"itemSequenceNumber"`

	// Net price (before tax) to vendor with currency details.
	// Required: true
	NetPrice *Money `json:"netPrice"`

	// Item quantity ordered.
	// Required: true
	OrderedQuantity *ItemQuantity `json:"orderedQuantity"`

	// Details for the scheduled delivery shipment.
	ScheduledDeliveryShipment *ScheduledDeliveryShipment `json:"scheduledDeliveryShipment,omitempty"`

	// Total tax details for the line item.
	TaxDetails *TaxItemDetails `json:"taxDetails,omitempty"`

	// Title for the item.
	Title string `json:"title,omitempty"`

	// The price to Amazon each (cost).
	TotalPrice *Money `json:"totalPrice,omitempty"`

	// The vendor selected product identification of the item.
	VendorProductIdentifier string `json:"vendorProductIdentifier,omitempty"`
}

OrderItem order item

swagger:model OrderItem

func (*OrderItem) ContextValidate

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

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

func (*OrderItem) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderItem) Validate

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

Validate validates this order item

type OrderItemAcknowledgement

type OrderItemAcknowledgement struct {

	// Details of quantity acknowledged with the above acknowledgement code.
	// Required: true
	AcknowledgedQuantity *ItemQuantity `json:"acknowledgedQuantity"`

	// Buyer's standard identification number (ASIN) of an item.
	BuyerProductIdentifier string `json:"buyerProductIdentifier,omitempty"`

	// Line item sequence number for the item.
	// Required: true
	ItemSequenceNumber *string `json:"itemSequenceNumber"`

	// The vendor selected product identification of the item. Should be the same as was provided in the purchase order.
	VendorProductIdentifier string `json:"vendorProductIdentifier,omitempty"`
}

OrderItemAcknowledgement order item acknowledgement

swagger:model OrderItemAcknowledgement

func (*OrderItemAcknowledgement) ContextValidate

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

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

func (*OrderItemAcknowledgement) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderItemAcknowledgement) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderItemAcknowledgement) Validate

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

Validate validates this order item acknowledgement

type OrderList

type OrderList struct {

	// orders
	Orders []*Order `json:"orders"`

	// pagination
	Pagination *Pagination `json:"pagination,omitempty"`
}

OrderList order list

swagger:model OrderList

func (*OrderList) ContextValidate

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

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

func (*OrderList) MarshalBinary

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

MarshalBinary interface implementation

func (*OrderList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OrderList) Validate

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

Validate validates this order list

type Pagination

type Pagination struct {

	// A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more order items to return.
	NextToken string `json:"nextToken,omitempty"`
}

Pagination pagination

swagger:model Pagination

func (*Pagination) ContextValidate

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

ContextValidate validates this pagination based on context it is used

func (*Pagination) MarshalBinary

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

MarshalBinary interface implementation

func (*Pagination) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Pagination) Validate

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

Validate validates this pagination

type PartyIdentification

type PartyIdentification struct {

	// Address details of the party.
	Address *Address `json:"address,omitempty"`

	// Assigned identification for the party. For example, warehouse code or vendor code. Please refer to specific party for more details.
	// Required: true
	PartyID *string `json:"partyId"`

	// Tax registration details of the entity.
	TaxInfo *TaxRegistrationDetails `json:"taxInfo,omitempty"`
}

PartyIdentification party identification

swagger:model PartyIdentification

func (*PartyIdentification) ContextValidate

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

ContextValidate validate this party identification based on the context it is used

func (*PartyIdentification) MarshalBinary

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

MarshalBinary interface implementation

func (*PartyIdentification) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PartyIdentification) Validate

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

Validate validates this party identification

type ScheduledDeliveryShipment

type ScheduledDeliveryShipment struct {

	// Earliest nominated delivery date for the scheduled delivery.
	// Format: date-time
	EarliestNominatedDeliveryDate strfmt.DateTime `json:"earliestNominatedDeliveryDate,omitempty"`

	// Latest nominated delivery date for the scheduled delivery.
	// Format: date-time
	LatestNominatedDeliveryDate strfmt.DateTime `json:"latestNominatedDeliveryDate,omitempty"`

	// Scheduled delivery service type.
	ScheduledDeliveryServiceType string `json:"scheduledDeliveryServiceType,omitempty"`
}

ScheduledDeliveryShipment Dates for the scheduled delivery shipments.

swagger:model ScheduledDeliveryShipment

func (*ScheduledDeliveryShipment) ContextValidate

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

ContextValidate validates this scheduled delivery shipment based on context it is used

func (*ScheduledDeliveryShipment) MarshalBinary

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

MarshalBinary interface implementation

func (*ScheduledDeliveryShipment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ScheduledDeliveryShipment) Validate

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

Validate validates this scheduled delivery shipment

type ShipmentDates

type ShipmentDates struct {

	// Delivery date promised to the Amazon customer.
	// Format: date-time
	PromisedDeliveryDate strfmt.DateTime `json:"promisedDeliveryDate,omitempty"`

	// Time by which the vendor is required to ship the order.
	// Required: true
	// Format: date-time
	RequiredShipDate *strfmt.DateTime `json:"requiredShipDate"`
}

ShipmentDates Shipment dates.

swagger:model ShipmentDates

func (*ShipmentDates) ContextValidate

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

ContextValidate validates this shipment dates based on context it is used

func (*ShipmentDates) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentDates) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentDates) Validate

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

Validate validates this shipment dates

type ShipmentDetails

type ShipmentDetails struct {

	// When true, the order contain a gift. Include the gift message and gift wrap information.
	IsGift bool `json:"isGift,omitempty"`

	// When true, this is a priority shipment.
	// Required: true
	IsPriorityShipment *bool `json:"isPriorityShipment"`

	// When true, a packing slip is required to be sent to the customer.
	// Required: true
	IsPslipRequired *bool `json:"isPslipRequired"`

	// When true, this order is part of a scheduled delivery program.
	IsScheduledDeliveryShipment bool `json:"isScheduledDeliveryShipment,omitempty"`

	// Message to customer for order status.
	// Required: true
	MessageToCustomer *string `json:"messageToCustomer"`

	// Ship method to be used for shipping the order. Amazon defines ship method codes indicating the shipping carrier and shipment service level. To see the full list of ship methods in use, including both the code and the friendly name, search the 'Help' section on Vendor Central for 'ship methods'.
	// Required: true
	ShipMethod *string `json:"shipMethod"`

	// shipment dates
	// Required: true
	ShipmentDates *ShipmentDates `json:"shipmentDates"`
}

ShipmentDetails Shipment details required for the shipment.

swagger:model ShipmentDetails

func (*ShipmentDetails) ContextValidate

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

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

func (*ShipmentDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentDetails) Validate

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

Validate validates this shipment details

type SubmitAcknowledgementRequest

type SubmitAcknowledgementRequest struct {

	// A list of one or more purchase orders.
	OrderAcknowledgements []*OrderAcknowledgementItem `json:"orderAcknowledgements"`
}

SubmitAcknowledgementRequest The request schema for the submitAcknowledgement operation.

swagger:model SubmitAcknowledgementRequest

func (*SubmitAcknowledgementRequest) ContextValidate

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

ContextValidate validate this submit acknowledgement request based on the context it is used

func (*SubmitAcknowledgementRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SubmitAcknowledgementRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubmitAcknowledgementRequest) Validate

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

Validate validates this submit acknowledgement request

type SubmitAcknowledgementResponse

type SubmitAcknowledgementResponse struct {

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

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

SubmitAcknowledgementResponse The response schema for the submitAcknowledgement operation.

swagger:model SubmitAcknowledgementResponse

func (*SubmitAcknowledgementResponse) ContextValidate

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

ContextValidate validate this submit acknowledgement response based on the context it is used

func (*SubmitAcknowledgementResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SubmitAcknowledgementResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubmitAcknowledgementResponse) Validate

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

Validate validates this submit acknowledgement response

type TaxDetails

type TaxDetails struct {

	// tax amount
	// Required: true
	TaxAmount *Money `json:"taxAmount"`

	// tax rate
	TaxRate Decimal `json:"taxRate,omitempty"`

	// taxable amount
	TaxableAmount *Money `json:"taxableAmount,omitempty"`

	// Tax type.
	// Enum: [CONSUMPTION GST MwSt. PST TOTAL TVA VAT]
	Type string `json:"type,omitempty"`
}

TaxDetails tax details

swagger:model TaxDetails

func (*TaxDetails) ContextValidate

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

ContextValidate validate this tax details based on the context it is used

func (*TaxDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*TaxDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaxDetails) Validate

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

Validate validates this tax details

type TaxItemDetails

type TaxItemDetails struct {

	// Tax details.
	TaxLineItem TaxLineItem `json:"taxLineItem,omitempty"`
}

TaxItemDetails Total tax details for the line item.

swagger:model TaxItemDetails

func (*TaxItemDetails) ContextValidate

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

ContextValidate validate this tax item details based on the context it is used

func (*TaxItemDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*TaxItemDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaxItemDetails) Validate

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

Validate validates this tax item details

type TaxLineItem

type TaxLineItem []*TaxDetails

TaxLineItem A list of tax line items.

swagger:model TaxLineItem

func (TaxLineItem) ContextValidate

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

ContextValidate validate this tax line item based on the context it is used

func (TaxLineItem) Validate

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

Validate validates this tax line item

type TaxRegistrationDetails

type TaxRegistrationDetails struct {

	// Address associated with the tax registration number.
	TaxRegistrationAddress *Address `json:"taxRegistrationAddress,omitempty"`

	// Tax registration message that can be used for additional tax related details.
	TaxRegistrationMessages string `json:"taxRegistrationMessages,omitempty"`

	// Tax registration number for the party. For example, VAT ID.
	// Required: true
	TaxRegistrationNumber *string `json:"taxRegistrationNumber"`

	// Tax registration type for the entity.
	// Enum: [VAT GST]
	TaxRegistrationType string `json:"taxRegistrationType,omitempty"`
}

TaxRegistrationDetails Tax registration details of the entity.

swagger:model TaxRegistrationDetails

func (*TaxRegistrationDetails) ContextValidate

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

ContextValidate validate this tax registration details based on the context it is used

func (*TaxRegistrationDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*TaxRegistrationDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaxRegistrationDetails) Validate

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

Validate validates this tax registration details

type TransactionID

type TransactionID struct {

	// GUID assigned by Amazon to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.
	TransactionID string `json:"transactionId,omitempty"`
}

TransactionID transaction Id

swagger:model TransactionId

func (*TransactionID) ContextValidate

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

ContextValidate validates this transaction Id based on context it is used

func (*TransactionID) MarshalBinary

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

MarshalBinary interface implementation

func (*TransactionID) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransactionID) Validate

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

Validate validates this transaction Id

Jump to

Keyboard shortcuts

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