Documentation ¶
Index ¶
- Constants
- type AcknowledgementStatus
- type Address
- type BuyerCustomizedInfoDetail
- func (m *BuyerCustomizedInfoDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BuyerCustomizedInfoDetail) MarshalBinary() ([]byte, error)
- func (m *BuyerCustomizedInfoDetail) UnmarshalBinary(b []byte) error
- func (m *BuyerCustomizedInfoDetail) Validate(formats strfmt.Registry) error
- type Decimal
- type Error
- type ErrorList
- type GiftDetails
- type ItemQuantity
- type Money
- type Order
- type OrderAcknowledgementItem
- func (m *OrderAcknowledgementItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrderAcknowledgementItem) MarshalBinary() ([]byte, error)
- func (m *OrderAcknowledgementItem) UnmarshalBinary(b []byte) error
- func (m *OrderAcknowledgementItem) Validate(formats strfmt.Registry) error
- type OrderDetails
- type OrderItem
- type OrderItemAcknowledgement
- func (m *OrderItemAcknowledgement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrderItemAcknowledgement) MarshalBinary() ([]byte, error)
- func (m *OrderItemAcknowledgement) UnmarshalBinary(b []byte) error
- func (m *OrderItemAcknowledgement) Validate(formats strfmt.Registry) error
- type OrderList
- type Pagination
- type PartyIdentification
- type ScheduledDeliveryShipment
- func (m *ScheduledDeliveryShipment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ScheduledDeliveryShipment) MarshalBinary() ([]byte, error)
- func (m *ScheduledDeliveryShipment) UnmarshalBinary(b []byte) error
- func (m *ScheduledDeliveryShipment) Validate(formats strfmt.Registry) error
- type ShipmentDates
- type ShipmentDetails
- type SubmitAcknowledgementRequest
- func (m *SubmitAcknowledgementRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SubmitAcknowledgementRequest) MarshalBinary() ([]byte, error)
- func (m *SubmitAcknowledgementRequest) UnmarshalBinary(b []byte) error
- func (m *SubmitAcknowledgementRequest) Validate(formats strfmt.Registry) error
- type SubmitAcknowledgementResponse
- func (m *SubmitAcknowledgementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SubmitAcknowledgementResponse) MarshalBinary() ([]byte, error)
- func (m *SubmitAcknowledgementResponse) UnmarshalBinary(b []byte) error
- func (m *SubmitAcknowledgementResponse) Validate(formats strfmt.Registry) error
- type TaxDetails
- type TaxItemDetails
- type TaxLineItem
- type TaxRegistrationDetails
- func (m *TaxRegistrationDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TaxRegistrationDetails) MarshalBinary() ([]byte, error)
- func (m *TaxRegistrationDetails) UnmarshalBinary(b []byte) error
- func (m *TaxRegistrationDetails) Validate(formats strfmt.Registry) error
- type TransactionID
Constants ¶
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" )
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" )
const ( // TaxRegistrationDetailsTaxRegistrationTypeVAT captures enum value "VAT" TaxRegistrationDetailsTaxRegistrationTypeVAT string = "VAT" // TaxRegistrationDetailsTaxRegistrationTypeGST captures enum value "GST" TaxRegistrationDetailsTaxRegistrationTypeGST string = "GST" )
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 ¶
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
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 ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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 ¶
ContextValidate validates this decimal based on context it is used
type Error ¶
type Error struct { // An error code that identifies the type of error that occurred. // Required: true Code *string `json:"code"` // Additional details that can help the caller understand or fix the issue. Details string `json:"details,omitempty"` // A message that describes the error condition. // Required: true Message *string `json:"message"` }
Error Error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList struct { // errors // Required: true Errors []*Error `json:"errors"` }
ErrorList A list of error responses returned when a request is unsuccessful.
swagger:model ErrorList
func (*ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
func (*ErrorList) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErrorList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type 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 ¶
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
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 ¶
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
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 ¶
ContextValidate validate this money based on the context it is used
func (*Money) MarshalBinary ¶
MarshalBinary interface implementation
func (*Money) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this order based on the context it is used
func (*Order) MarshalBinary ¶
MarshalBinary interface implementation
func (*Order) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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 ¶
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
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 ¶
ContextValidate validate this order item based on the context it is used
func (*OrderItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*OrderItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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 ¶
ContextValidate validate this order list based on the context it is used
func (*OrderList) MarshalBinary ¶
MarshalBinary interface implementation
func (*OrderList) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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
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 ¶
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
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 ¶
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
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
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
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 ¶
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
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 ¶
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
type TaxLineItem ¶
type TaxLineItem []*TaxDetails
TaxLineItem A list of tax line items.
swagger:model TaxLineItem
func (TaxLineItem) ContextValidate ¶
ContextValidate validate this tax line item based on the context it is used
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
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 ¶
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
Source Files ¶
- acknowledgement_status.go
- address.go
- buyer_customized_info_detail.go
- decimal.go
- error.go
- error_list.go
- gift_details.go
- item_quantity.go
- money.go
- order.go
- order_acknowledgement_item.go
- order_details.go
- order_item.go
- order_item_acknowledgement.go
- order_list.go
- pagination.go
- party_identification.go
- scheduled_delivery_shipment.go
- shipment_dates.go
- shipment_details.go
- submit_acknowledgement_request.go
- submit_acknowledgement_response.go
- tax_details.go
- tax_item_details.go
- tax_line_item.go
- tax_registration_details.go
- transaction_id.go