Documentation
¶
Index ¶
- type Address
- type AddressTypeEnum
- type Blob
- func (m Blob) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Blob) MarshalBinary() ([]byte, error)
- func (m Blob) MarshalJSON() ([]byte, error)
- func (m *Blob) UnmarshalBinary(b []byte) error
- func (m *Blob) UnmarshalJSON(b []byte) error
- func (m Blob) Validate(formats strfmt.Registry) error
- type BuyerTaxInfo
- type Error
- type ErrorList
- type GetInvoiceStatusResponse
- func (m *GetInvoiceStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetInvoiceStatusResponse) MarshalBinary() ([]byte, error)
- func (m *GetInvoiceStatusResponse) UnmarshalBinary(b []byte) error
- func (m *GetInvoiceStatusResponse) Validate(formats strfmt.Registry) error
- type GetShipmentDetailsResponse
- func (m *GetShipmentDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetShipmentDetailsResponse) MarshalBinary() ([]byte, error)
- func (m *GetShipmentDetailsResponse) UnmarshalBinary(b []byte) error
- func (m *GetShipmentDetailsResponse) Validate(formats strfmt.Registry) error
- type MarketplaceTaxInfo
- type Money
- type PaymentMethodDetailItemList
- type SerialNumbersList
- type ShipmentDetail
- type ShipmentInvoiceStatus
- type ShipmentInvoiceStatusInfo
- func (m *ShipmentInvoiceStatusInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ShipmentInvoiceStatusInfo) MarshalBinary() ([]byte, error)
- func (m *ShipmentInvoiceStatusInfo) UnmarshalBinary(b []byte) error
- func (m *ShipmentInvoiceStatusInfo) Validate(formats strfmt.Registry) error
- type ShipmentInvoiceStatusResponse
- func (m *ShipmentInvoiceStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ShipmentInvoiceStatusResponse) MarshalBinary() ([]byte, error)
- func (m *ShipmentInvoiceStatusResponse) UnmarshalBinary(b []byte) error
- func (m *ShipmentInvoiceStatusResponse) Validate(formats strfmt.Registry) error
- type ShipmentItem
- type ShipmentItems
- type SubmitInvoiceRequest
- type SubmitInvoiceResponse
- type TaxClassification
- type TaxClassificationList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // The street address. AddressLine1 string `json:"AddressLine1,omitempty"` // Additional street address information, if required. AddressLine2 string `json:"AddressLine2,omitempty"` // Additional street address information, if required. AddressLine3 string `json:"AddressLine3,omitempty"` // address type AddressType AddressTypeEnum `json:"AddressType,omitempty"` // The city. City string `json:"City,omitempty"` // The country code. CountryCode string `json:"CountryCode,omitempty"` // The county. County string `json:"County,omitempty"` // The district. District string `json:"District,omitempty"` // The name. Name string `json:"Name,omitempty"` // The phone number. Phone string `json:"Phone,omitempty"` // The postal code. PostalCode string `json:"PostalCode,omitempty"` // The state or region. StateOrRegion string `json:"StateOrRegion,omitempty"` }
Address The shipping address details of the shipment.
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validate this address based on the context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AddressTypeEnum ¶
type AddressTypeEnum string
AddressTypeEnum The shipping address type.
swagger:model AddressTypeEnum
const ( // AddressTypeEnumResidential captures enum value "Residential" AddressTypeEnumResidential AddressTypeEnum = "Residential" // AddressTypeEnumCommercial captures enum value "Commercial" AddressTypeEnumCommercial AddressTypeEnum = "Commercial" )
func NewAddressTypeEnum ¶
func NewAddressTypeEnum(value AddressTypeEnum) *AddressTypeEnum
func (AddressTypeEnum) ContextValidate ¶
ContextValidate validates this address type enum based on context it is used
func (AddressTypeEnum) Pointer ¶
func (m AddressTypeEnum) Pointer() *AddressTypeEnum
Pointer returns a pointer to a freshly-allocated AddressTypeEnum.
type Blob ¶
Blob Shipment invoice document content.
swagger:model Blob
func (Blob) ContextValidate ¶
ContextValidate validates this blob based on context it is used
func (*Blob) MarshalBinary ¶
MarshalBinary interface implementation
func (Blob) MarshalJSON ¶
MarshalJSON retrieves a Blob value as JSON output
func (*Blob) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Blob) UnmarshalJSON ¶
UnmarshalJSON sets a Blob value from JSON input
type BuyerTaxInfo ¶
type BuyerTaxInfo struct { // The legal name of the company. CompanyLegalName string `json:"CompanyLegalName,omitempty"` // tax classifications TaxClassifications TaxClassificationList `json:"TaxClassifications,omitempty"` // The country or region imposing the tax. TaxingRegion string `json:"TaxingRegion,omitempty"` }
BuyerTaxInfo Tax information about the buyer.
swagger:model BuyerTaxInfo
func (*BuyerTaxInfo) ContextValidate ¶
ContextValidate validate this buyer tax info based on the context it is used
func (*BuyerTaxInfo) MarshalBinary ¶
func (m *BuyerTaxInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuyerTaxInfo) UnmarshalBinary ¶
func (m *BuyerTaxInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 An 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 []*Error
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
type GetInvoiceStatusResponse ¶
type GetInvoiceStatusResponse struct { // errors Errors ErrorList `json:"errors,omitempty"` // The payload for the getInvoiceStatus operation. Payload *ShipmentInvoiceStatusResponse `json:"payload,omitempty"` }
GetInvoiceStatusResponse The response schema for the getInvoiceStatus operation.
swagger:model GetInvoiceStatusResponse
func (*GetInvoiceStatusResponse) ContextValidate ¶
func (m *GetInvoiceStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get invoice status response based on the context it is used
func (*GetInvoiceStatusResponse) MarshalBinary ¶
func (m *GetInvoiceStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetInvoiceStatusResponse) UnmarshalBinary ¶
func (m *GetInvoiceStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetShipmentDetailsResponse ¶
type GetShipmentDetailsResponse struct { // errors Errors ErrorList `json:"errors,omitempty"` // The payload for the getShipmentDetails operation Payload *ShipmentDetail `json:"payload,omitempty"` }
GetShipmentDetailsResponse The response schema for the getShipmentDetails operation.
swagger:model GetShipmentDetailsResponse
func (*GetShipmentDetailsResponse) ContextValidate ¶
func (m *GetShipmentDetailsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get shipment details response based on the context it is used
func (*GetShipmentDetailsResponse) MarshalBinary ¶
func (m *GetShipmentDetailsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetShipmentDetailsResponse) UnmarshalBinary ¶
func (m *GetShipmentDetailsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MarketplaceTaxInfo ¶
type MarketplaceTaxInfo struct { // The legal name of the company. CompanyLegalName string `json:"CompanyLegalName,omitempty"` // tax classifications TaxClassifications TaxClassificationList `json:"TaxClassifications,omitempty"` // The country or region imposing the tax. TaxingRegion string `json:"TaxingRegion,omitempty"` }
MarketplaceTaxInfo Tax information about the marketplace.
swagger:model MarketplaceTaxInfo
func (*MarketplaceTaxInfo) ContextValidate ¶
ContextValidate validate this marketplace tax info based on the context it is used
func (*MarketplaceTaxInfo) MarshalBinary ¶
func (m *MarketplaceTaxInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MarketplaceTaxInfo) UnmarshalBinary ¶
func (m *MarketplaceTaxInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Money ¶
type Money struct { // The currency amount. Amount string `json:"Amount,omitempty"` // Three-digit currency code in ISO 4217 format. CurrencyCode string `json:"CurrencyCode,omitempty"` }
Money The currency type and amount.
swagger:model Money
func (*Money) ContextValidate ¶
ContextValidate validates this money based on context it is used
func (*Money) MarshalBinary ¶
MarshalBinary interface implementation
func (*Money) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PaymentMethodDetailItemList ¶
type PaymentMethodDetailItemList []string
PaymentMethodDetailItemList The list of payment method details.
swagger:model PaymentMethodDetailItemList
func (PaymentMethodDetailItemList) ContextValidate ¶
func (m PaymentMethodDetailItemList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this payment method detail item list based on context it is used
type SerialNumbersList ¶
type SerialNumbersList []string
SerialNumbersList The list of serial numbers.
swagger:model SerialNumbersList
func (SerialNumbersList) ContextValidate ¶
ContextValidate validates this serial numbers list based on context it is used
type ShipmentDetail ¶
type ShipmentDetail struct { // The Amazon-defined identifier for the order. AmazonOrderID string `json:"AmazonOrderId,omitempty"` // The Amazon-defined identifier for the shipment. AmazonShipmentID string `json:"AmazonShipmentId,omitempty"` // The county of the buyer. BuyerCounty string `json:"BuyerCounty,omitempty"` // The name of the buyer. BuyerName string `json:"BuyerName,omitempty"` // buyer tax info BuyerTaxInfo *BuyerTaxInfo `json:"BuyerTaxInfo,omitempty"` // The identifier for the marketplace where the order was placed. MarketplaceID string `json:"MarketplaceId,omitempty"` // marketplace tax info MarketplaceTaxInfo *MarketplaceTaxInfo `json:"MarketplaceTaxInfo,omitempty"` // payment method details PaymentMethodDetails PaymentMethodDetailItemList `json:"PaymentMethodDetails,omitempty"` // The date and time when the order was created. // Format: date-time PurchaseDate strfmt.DateTime `json:"PurchaseDate,omitempty"` // The seller’s friendly name registered in the marketplace. SellerDisplayName string `json:"SellerDisplayName,omitempty"` // The seller identifier. SellerID string `json:"SellerId,omitempty"` // shipment items ShipmentItems ShipmentItems `json:"ShipmentItems,omitempty"` // shipping address ShippingAddress *Address `json:"ShippingAddress,omitempty"` // The Amazon-defined identifier for the warehouse. WarehouseID string `json:"WarehouseId,omitempty"` }
ShipmentDetail The information required by a selling partner to issue a shipment invoice.
swagger:model ShipmentDetail
func (*ShipmentDetail) ContextValidate ¶
ContextValidate validate this shipment detail based on the context it is used
func (*ShipmentDetail) MarshalBinary ¶
func (m *ShipmentDetail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShipmentDetail) UnmarshalBinary ¶
func (m *ShipmentDetail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShipmentInvoiceStatus ¶
type ShipmentInvoiceStatus string
ShipmentInvoiceStatus The shipment invoice status.
swagger:model ShipmentInvoiceStatus
const ( // ShipmentInvoiceStatusProcessing captures enum value "Processing" ShipmentInvoiceStatusProcessing ShipmentInvoiceStatus = "Processing" // ShipmentInvoiceStatusAccepted captures enum value "Accepted" ShipmentInvoiceStatusAccepted ShipmentInvoiceStatus = "Accepted" // ShipmentInvoiceStatusErrored captures enum value "Errored" ShipmentInvoiceStatusErrored ShipmentInvoiceStatus = "Errored" // ShipmentInvoiceStatusNotFound captures enum value "NotFound" ShipmentInvoiceStatusNotFound ShipmentInvoiceStatus = "NotFound" )
func NewShipmentInvoiceStatus ¶
func NewShipmentInvoiceStatus(value ShipmentInvoiceStatus) *ShipmentInvoiceStatus
func (ShipmentInvoiceStatus) ContextValidate ¶
ContextValidate validates this shipment invoice status based on context it is used
func (ShipmentInvoiceStatus) Pointer ¶
func (m ShipmentInvoiceStatus) Pointer() *ShipmentInvoiceStatus
Pointer returns a pointer to a freshly-allocated ShipmentInvoiceStatus.
type ShipmentInvoiceStatusInfo ¶
type ShipmentInvoiceStatusInfo struct { // The Amazon-defined shipment identifier. AmazonShipmentID string `json:"AmazonShipmentId,omitempty"` // invoice status InvoiceStatus ShipmentInvoiceStatus `json:"InvoiceStatus,omitempty"` }
ShipmentInvoiceStatusInfo The shipment invoice status information.
swagger:model ShipmentInvoiceStatusInfo
func (*ShipmentInvoiceStatusInfo) ContextValidate ¶
func (m *ShipmentInvoiceStatusInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this shipment invoice status info based on the context it is used
func (*ShipmentInvoiceStatusInfo) MarshalBinary ¶
func (m *ShipmentInvoiceStatusInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShipmentInvoiceStatusInfo) UnmarshalBinary ¶
func (m *ShipmentInvoiceStatusInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShipmentInvoiceStatusResponse ¶
type ShipmentInvoiceStatusResponse struct { // shipments Shipments *ShipmentInvoiceStatusInfo `json:"Shipments,omitempty"` }
ShipmentInvoiceStatusResponse The shipment invoice status response.
swagger:model ShipmentInvoiceStatusResponse
func (*ShipmentInvoiceStatusResponse) ContextValidate ¶
func (m *ShipmentInvoiceStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this shipment invoice status response based on the context it is used
func (*ShipmentInvoiceStatusResponse) MarshalBinary ¶
func (m *ShipmentInvoiceStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShipmentInvoiceStatusResponse) UnmarshalBinary ¶
func (m *ShipmentInvoiceStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShipmentItem ¶
type ShipmentItem struct { // The Amazon Standard Identification Number (ASIN) of the item. ASIN string `json:"ASIN,omitempty"` // The gift wrap price of the item. GiftWrapPrice *Money `json:"GiftWrapPrice,omitempty"` // The selling price of the item multiplied by the quantity ordered. Note that ItemPrice excludes ShippingPrice and GiftWrapPrice. ItemPrice *Money `json:"ItemPrice,omitempty"` // The Amazon-defined identifier for the order item. OrderItemID string `json:"OrderItemId,omitempty"` // The total of all promotional discounts in the offer. PromotionDiscount *Money `json:"PromotionDiscount,omitempty"` // The number of items ordered. QuantityOrdered float64 `json:"QuantityOrdered,omitempty"` // The seller SKU of the item. SellerSKU string `json:"SellerSKU,omitempty"` // The list of serial numbers. SerialNumbers SerialNumbersList `json:"SerialNumbers,omitempty"` // The discount on the shipping price. ShippingDiscount *Money `json:"ShippingDiscount,omitempty"` // The shipping price of the item. ShippingPrice *Money `json:"ShippingPrice,omitempty"` // The name of the item. Title string `json:"Title,omitempty"` }
ShipmentItem The shipment item information required by a seller to issue a shipment invoice.
swagger:model ShipmentItem
func (*ShipmentItem) ContextValidate ¶
ContextValidate validate this shipment item based on the context it is used
func (*ShipmentItem) MarshalBinary ¶
func (m *ShipmentItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShipmentItem) UnmarshalBinary ¶
func (m *ShipmentItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShipmentItems ¶
type ShipmentItems []*ShipmentItem
ShipmentItems A list of shipment items.
swagger:model ShipmentItems
func (ShipmentItems) ContextValidate ¶
ContextValidate validate this shipment items based on the context it is used
type SubmitInvoiceRequest ¶
type SubmitInvoiceRequest struct { // MD5 sum for validating the invoice data. For more information about calculating this value, see [Working with Content-MD5 Checksums](https://docs.developer.amazonservices.com/en_US/dev_guide/DG_MD5.html). // Required: true ContentMD5Value *string `json:"ContentMD5Value"` // invoice content // Required: true // Format: byte InvoiceContent *Blob `json:"InvoiceContent"` // An Amazon marketplace identifier. MarketplaceID string `json:"MarketplaceId,omitempty"` }
SubmitInvoiceRequest The request schema for the submitInvoice operation.
swagger:model SubmitInvoiceRequest
func (*SubmitInvoiceRequest) ContextValidate ¶
ContextValidate validate this submit invoice request based on the context it is used
func (*SubmitInvoiceRequest) MarshalBinary ¶
func (m *SubmitInvoiceRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubmitInvoiceRequest) UnmarshalBinary ¶
func (m *SubmitInvoiceRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubmitInvoiceResponse ¶
type SubmitInvoiceResponse struct { // errors Errors ErrorList `json:"errors,omitempty"` }
SubmitInvoiceResponse The response schema for the submitInvoice operation.
swagger:model SubmitInvoiceResponse
func (*SubmitInvoiceResponse) ContextValidate ¶
ContextValidate validate this submit invoice response based on the context it is used
func (*SubmitInvoiceResponse) MarshalBinary ¶
func (m *SubmitInvoiceResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubmitInvoiceResponse) UnmarshalBinary ¶
func (m *SubmitInvoiceResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaxClassification ¶
type TaxClassification struct { // The type of tax. Name string `json:"Name,omitempty"` // The entity's tax identifier. Value string `json:"Value,omitempty"` }
TaxClassification The tax classification for the entity.
swagger:model TaxClassification
func (*TaxClassification) ContextValidate ¶
ContextValidate validates this tax classification based on context it is used
func (*TaxClassification) MarshalBinary ¶
func (m *TaxClassification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaxClassification) UnmarshalBinary ¶
func (m *TaxClassification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaxClassificationList ¶
type TaxClassificationList []*TaxClassification
TaxClassificationList The list of tax classifications.
swagger:model TaxClassificationList
func (TaxClassificationList) ContextValidate ¶
ContextValidate validate this tax classification list based on the context it is used
Source Files
¶
- address.go
- address_type_enum.go
- blob.go
- buyer_tax_info.go
- error.go
- error_list.go
- get_invoice_status_response.go
- get_shipment_details_response.go
- marketplace_tax_info.go
- money.go
- payment_method_detail_item_list.go
- serial_numbers_list.go
- shipment_detail.go
- shipment_invoice_status.go
- shipment_invoice_status_info.go
- shipment_invoice_status_response.go
- shipment_item.go
- shipment_items.go
- submit_invoice_request.go
- submit_invoice_response.go
- tax_classification.go
- tax_classification_list.go