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

	// ContainerIdentificationContainerIdentificationTypeSSCC captures enum value "SSCC"
	ContainerIdentificationContainerIdentificationTypeSSCC string = "SSCC"

	// ContainerIdentificationContainerIdentificationTypeAMZNCC captures enum value "AMZNCC"
	ContainerIdentificationContainerIdentificationTypeAMZNCC string = "AMZNCC"

	// ContainerIdentificationContainerIdentificationTypeGTIN captures enum value "GTIN"
	ContainerIdentificationContainerIdentificationTypeGTIN string = "GTIN"

	// ContainerIdentificationContainerIdentificationTypeBPS captures enum value "BPS"
	ContainerIdentificationContainerIdentificationTypeBPS string = "BPS"

	// ContainerIdentificationContainerIdentificationTypeCID captures enum value "CID"
	ContainerIdentificationContainerIdentificationTypeCID string = "CID"
)
View Source
const (

	// ContainersContainerTypeCarton captures enum value "carton"
	ContainersContainerTypeCarton string = "carton"

	// ContainersContainerTypePallet captures enum value "pallet"
	ContainersContainerTypePallet string = "pallet"
)
View Source
const (

	// DimensionsUnitOfMeasureIn captures enum value "In"
	DimensionsUnitOfMeasureIn string = "In"

	// DimensionsUnitOfMeasureFt captures enum value "Ft"
	DimensionsUnitOfMeasureFt string = "Ft"

	// DimensionsUnitOfMeasureMeter captures enum value "Meter"
	DimensionsUnitOfMeasureMeter string = "Meter"

	// DimensionsUnitOfMeasureYard captures enum value "Yard"
	DimensionsUnitOfMeasureYard string = "Yard"
)
View Source
const (

	// DurationDurationUnitDays captures enum value "Days"
	DurationDurationUnitDays string = "Days"

	// DurationDurationUnitMonths captures enum value "Months"
	DurationDurationUnitMonths string = "Months"
)
View Source
const (

	// ImportDetailsHandlingInstructionsOversized captures enum value "Oversized"
	ImportDetailsHandlingInstructionsOversized string = "Oversized"

	// ImportDetailsHandlingInstructionsFragile captures enum value "Fragile"
	ImportDetailsHandlingInstructionsFragile string = "Fragile"

	// ImportDetailsHandlingInstructionsFood captures enum value "Food"
	ImportDetailsHandlingInstructionsFood string = "Food"

	// ImportDetailsHandlingInstructionsHandleWithCare captures enum value "HandleWithCare"
	ImportDetailsHandlingInstructionsHandleWithCare string = "HandleWithCare"
)
View Source
const (

	// ImportDetailsMethodOfPaymentPaidByBuyer captures enum value "PaidByBuyer"
	ImportDetailsMethodOfPaymentPaidByBuyer string = "PaidByBuyer"

	// ImportDetailsMethodOfPaymentCollectOnDelivery captures enum value "CollectOnDelivery"
	ImportDetailsMethodOfPaymentCollectOnDelivery string = "CollectOnDelivery"

	// ImportDetailsMethodOfPaymentDefinedByBuyerAndSeller captures enum value "DefinedByBuyerAndSeller"
	ImportDetailsMethodOfPaymentDefinedByBuyerAndSeller string = "DefinedByBuyerAndSeller"

	// ImportDetailsMethodOfPaymentFOBPortOfCall captures enum value "FOBPortOfCall"
	ImportDetailsMethodOfPaymentFOBPortOfCall string = "FOBPortOfCall"

	// ImportDetailsMethodOfPaymentPrepaidBySeller captures enum value "PrepaidBySeller"
	ImportDetailsMethodOfPaymentPrepaidBySeller string = "PrepaidBySeller"

	// ImportDetailsMethodOfPaymentPaidBySeller captures enum value "PaidBySeller"
	ImportDetailsMethodOfPaymentPaidBySeller string = "PaidBySeller"
)
View Source
const (

	// ItemDetailsHandlingCodeOversized captures enum value "Oversized"
	ItemDetailsHandlingCodeOversized string = "Oversized"

	// ItemDetailsHandlingCodeFragile captures enum value "Fragile"
	ItemDetailsHandlingCodeFragile string = "Fragile"

	// ItemDetailsHandlingCodeFood captures enum value "Food"
	ItemDetailsHandlingCodeFood string = "Food"

	// ItemDetailsHandlingCodeHandleWithCare captures enum value "HandleWithCare"
	ItemDetailsHandlingCodeHandleWithCare string = "HandleWithCare"
)
View Source
const (

	// ItemQuantityUnitOfMeasureCases captures enum value "Cases"
	ItemQuantityUnitOfMeasureCases string = "Cases"

	// ItemQuantityUnitOfMeasureEaches captures enum value "Eaches"
	ItemQuantityUnitOfMeasureEaches string = "Eaches"
)
View Source
const (

	// PackedQuantityUnitOfMeasureCases captures enum value "Cases"
	PackedQuantityUnitOfMeasureCases string = "Cases"

	// PackedQuantityUnitOfMeasureEaches captures enum value "Eaches"
	PackedQuantityUnitOfMeasureEaches string = "Eaches"
)
View Source
const (

	// ShipmentCurrentShipmentStatusCreated captures enum value "Created"
	ShipmentCurrentShipmentStatusCreated string = "Created"

	// ShipmentCurrentShipmentStatusTransportationRequested captures enum value "TransportationRequested"
	ShipmentCurrentShipmentStatusTransportationRequested string = "TransportationRequested"

	// ShipmentCurrentShipmentStatusCarrierAssigned captures enum value "CarrierAssigned"
	ShipmentCurrentShipmentStatusCarrierAssigned string = "CarrierAssigned"

	// ShipmentCurrentShipmentStatusShipped captures enum value "Shipped"
	ShipmentCurrentShipmentStatusShipped string = "Shipped"
)
View Source
const (

	// ShipmentShipmentFreightTermCollect captures enum value "Collect"
	ShipmentShipmentFreightTermCollect string = "Collect"

	// ShipmentShipmentFreightTermPrepaid captures enum value "Prepaid"
	ShipmentShipmentFreightTermPrepaid string = "Prepaid"
)
View Source
const (

	// ShipmentTransactionTypeNew captures enum value "New"
	ShipmentTransactionTypeNew string = "New"

	// ShipmentTransactionTypeCancel captures enum value "Cancel"
	ShipmentTransactionTypeCancel string = "Cancel"
)
View Source
const (

	// ShipmentConfirmationShipmentConfirmationTypeOriginal captures enum value "Original"
	ShipmentConfirmationShipmentConfirmationTypeOriginal string = "Original"

	// ShipmentConfirmationShipmentConfirmationTypeReplace captures enum value "Replace"
	ShipmentConfirmationShipmentConfirmationTypeReplace string = "Replace"
)
View Source
const (

	// ShipmentConfirmationShipmentStructurePalletizedAssortmentCase captures enum value "PalletizedAssortmentCase"
	ShipmentConfirmationShipmentStructurePalletizedAssortmentCase string = "PalletizedAssortmentCase"

	// ShipmentConfirmationShipmentStructureLooseAssortmentCase captures enum value "LooseAssortmentCase"
	ShipmentConfirmationShipmentStructureLooseAssortmentCase string = "LooseAssortmentCase"

	// ShipmentConfirmationShipmentStructurePalletOfItems captures enum value "PalletOfItems"
	ShipmentConfirmationShipmentStructurePalletOfItems string = "PalletOfItems"

	// ShipmentConfirmationShipmentStructurePalletizedStandardCase captures enum value "PalletizedStandardCase"
	ShipmentConfirmationShipmentStructurePalletizedStandardCase string = "PalletizedStandardCase"

	// ShipmentConfirmationShipmentStructureLooseStandardCase captures enum value "LooseStandardCase"
	ShipmentConfirmationShipmentStructureLooseStandardCase string = "LooseStandardCase"

	// ShipmentConfirmationShipmentStructureMasterPallet captures enum value "MasterPallet"
	ShipmentConfirmationShipmentStructureMasterPallet string = "MasterPallet"

	// ShipmentConfirmationShipmentStructureMasterCase captures enum value "MasterCase"
	ShipmentConfirmationShipmentStructureMasterCase string = "MasterCase"
)
View Source
const (

	// ShipmentConfirmationShipmentTypeTruckLoad captures enum value "TruckLoad"
	ShipmentConfirmationShipmentTypeTruckLoad string = "TruckLoad"

	// ShipmentConfirmationShipmentTypeLessThanTruckLoad captures enum value "LessThanTruckLoad"
	ShipmentConfirmationShipmentTypeLessThanTruckLoad string = "LessThanTruckLoad"

	// ShipmentConfirmationShipmentTypeSmallParcel captures enum value "SmallParcel"
	ShipmentConfirmationShipmentTypeSmallParcel string = "SmallParcel"
)
View Source
const (

	// ShipmentInformationShipModeSmallParcel captures enum value "SmallParcel"
	ShipmentInformationShipModeSmallParcel string = "SmallParcel"

	// ShipmentInformationShipModeLTL captures enum value "LTL"
	ShipmentInformationShipModeLTL string = "LTL"
)
View Source
const (

	// ShipmentStatusDetailsShipmentStatusCreated captures enum value "Created"
	ShipmentStatusDetailsShipmentStatusCreated string = "Created"

	// ShipmentStatusDetailsShipmentStatusTransportationRequested captures enum value "TransportationRequested"
	ShipmentStatusDetailsShipmentStatusTransportationRequested string = "TransportationRequested"

	// ShipmentStatusDetailsShipmentStatusCarrierAssigned captures enum value "CarrierAssigned"
	ShipmentStatusDetailsShipmentStatusCarrierAssigned string = "CarrierAssigned"

	// ShipmentStatusDetailsShipmentStatusShipped captures enum value "Shipped"
	ShipmentStatusDetailsShipmentStatusShipped string = "Shipped"
)
View Source
const (

	// StopFunctionCodePortOfDischarge captures enum value "PortOfDischarge"
	StopFunctionCodePortOfDischarge string = "PortOfDischarge"

	// StopFunctionCodeFreightPayableAt captures enum value "FreightPayableAt"
	StopFunctionCodeFreightPayableAt string = "FreightPayableAt"

	// StopFunctionCodePortOfLoading captures enum value "PortOfLoading"
	StopFunctionCodePortOfLoading string = "PortOfLoading"
)
View Source
const (

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

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

	// TransportationDetailsShipModeTruckLoad captures enum value "TruckLoad"
	TransportationDetailsShipModeTruckLoad string = "TruckLoad"

	// TransportationDetailsShipModeLessThanTruckLoad captures enum value "LessThanTruckLoad"
	TransportationDetailsShipModeLessThanTruckLoad string = "LessThanTruckLoad"

	// TransportationDetailsShipModeSmallParcel captures enum value "SmallParcel"
	TransportationDetailsShipModeSmallParcel string = "SmallParcel"
)
View Source
const (

	// TransportationDetailsTransportationModeRoad captures enum value "Road"
	TransportationDetailsTransportationModeRoad string = "Road"

	// TransportationDetailsTransportationModeAir captures enum value "Air"
	TransportationDetailsTransportationModeAir string = "Air"

	// TransportationDetailsTransportationModeOcean captures enum value "Ocean"
	TransportationDetailsTransportationModeOcean string = "Ocean"
)
View Source
const (

	// VolumeUnitOfMeasureCuFt captures enum value "CuFt"
	VolumeUnitOfMeasureCuFt string = "CuFt"

	// VolumeUnitOfMeasureCuIn captures enum value "CuIn"
	VolumeUnitOfMeasureCuIn string = "CuIn"

	// VolumeUnitOfMeasureCuM captures enum value "CuM"
	VolumeUnitOfMeasureCuM string = "CuM"

	// VolumeUnitOfMeasureCuY captures enum value "CuY"
	VolumeUnitOfMeasureCuY string = "CuY"
)
View Source
const (

	// WeightUnitOfMeasureG captures enum value "G"
	WeightUnitOfMeasureG string = "G"

	// WeightUnitOfMeasureKg captures enum value "Kg"
	WeightUnitOfMeasureKg string = "Kg"

	// WeightUnitOfMeasureOz captures enum value "Oz"
	WeightUnitOfMeasureOz string = "Oz"

	// WeightUnitOfMeasureLb captures enum value "Lb"
	WeightUnitOfMeasureLb string = "Lb"
)
View Source
const (

	// LabelDataLabelFormatPDF captures enum value "PDF"
	LabelDataLabelFormatPDF string = "PDF"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {

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

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

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

	// The city where the person, business or institution is located.
	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.
	County string `json:"county,omitempty"`

	// The district where person, business or institution is located.
	District string `json:"district,omitempty"`

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

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

	// The postal code of that address. It contains 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.
	StateOrRegion string `json:"stateOrRegion,omitempty"`
}

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 CarrierDetails

type CarrierDetails struct {

	// Code that identifies the carrier for the shipment. The Standard Carrier Alpha Code (SCAC) is a unique two to four letter code used to identify a carrier. Carrier SCAC codes are assigned and maintained by the NMFTA (National Motor Freight Association).
	Code string `json:"code,omitempty"`

	// The field is used to represent the carrier Email id.
	Email string `json:"email,omitempty"`

	// The field is used to represent the carrier used for performing the shipment.
	Name string `json:"name,omitempty"`

	// The field is used to represent the Carrier contact number.
	Phone string `json:"phone,omitempty"`

	// The field is also known as PRO number is a unique number assigned by the carrier. It is used to identify and track the shipment that goes out for delivery. This field is mandatory for US, CA, MX shipment confirmations.
	ShipmentReferenceNumber string `json:"shipmentReferenceNumber,omitempty"`
}

CarrierDetails carrier details

swagger:model CarrierDetails

func (*CarrierDetails) ContextValidate

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

ContextValidate validates this carrier details based on context it is used

func (*CarrierDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*CarrierDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CarrierDetails) Validate

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

Validate validates this carrier details

type Carton

type Carton struct {

	// A list of carton identifiers.
	CartonIdentifiers []*ContainerIdentification `json:"cartonIdentifiers"`

	// Carton sequence number for the carton. The first carton will be 001, the second 002, and so on. This number is used as a reference to refer to this carton from the pallet level.
	// Required: true
	CartonSequenceNumber *string `json:"cartonSequenceNumber"`

	// dimensions
	Dimensions *Dimensions `json:"dimensions,omitempty"`

	// A list of container item details.
	// Required: true
	Items []*ContainerItem `json:"items"`

	// This is required to be provided for every carton in the small parcel shipments.
	TrackingNumber string `json:"trackingNumber,omitempty"`

	// weight
	Weight *Weight `json:"weight,omitempty"`
}

Carton Details of the carton/package being shipped.

swagger:model Carton

func (*Carton) ContextValidate

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

ContextValidate validate this carton based on the context it is used

func (*Carton) MarshalBinary

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

MarshalBinary interface implementation

func (*Carton) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Carton) Validate

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

Validate validates this carton

type CartonReferenceDetails

type CartonReferenceDetails struct {

	// Pallet level carton count is mandatory for single item pallet and optional for mixed item pallet.
	CartonCount int64 `json:"cartonCount,omitempty"`

	// Array of reference numbers for the carton that are part of this pallet/shipment. Please provide the cartonSequenceNumber from the 'cartons' segment to refer to that carton's details here.
	// Required: true
	CartonReferenceNumbers []string `json:"cartonReferenceNumbers"`
}

CartonReferenceDetails carton reference details

swagger:model CartonReferenceDetails

func (*CartonReferenceDetails) ContextValidate

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

ContextValidate validates this carton reference details based on context it is used

func (*CartonReferenceDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*CartonReferenceDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CartonReferenceDetails) Validate

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

Validate validates this carton reference details

type CollectFreightPickupDetails

type CollectFreightPickupDetails struct {

	// Date on which the carrier is being scheduled to pickup items from vendor warehouse by Byer used for WePay/Collect vendors.
	// Format: date-time
	CarrierAssignmentDate strfmt.DateTime `json:"carrierAssignmentDate,omitempty"`

	// Date on which the items can be picked up from vendor warehouse by Buyer used for WePay/Collect vendors.
	// Format: date-time
	RequestedPickUp strfmt.DateTime `json:"requestedPickUp,omitempty"`

	// Date on which the items are scheduled to be picked from vendor warehouse by Buyer used for WePay/Collect vendors.
	// Format: date-time
	ScheduledPickUp strfmt.DateTime `json:"scheduledPickUp,omitempty"`
}

CollectFreightPickupDetails Transport Request pickup date from Vendor Warehouse by Buyer

swagger:model collectFreightPickupDetails

func (*CollectFreightPickupDetails) ContextValidate

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

ContextValidate validates this collect freight pickup details based on context it is used

func (*CollectFreightPickupDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectFreightPickupDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectFreightPickupDetails) Validate

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

Validate validates this collect freight pickup details

type ContainerIdentification

type ContainerIdentification struct {

	// Container identification number that adheres to the definition of the container identification type.
	// Required: true
	ContainerIdentificationNumber *string `json:"containerIdentificationNumber"`

	// The container identification type.
	// Required: true
	// Enum: [SSCC AMZNCC GTIN BPS CID]
	ContainerIdentificationType *string `json:"containerIdentificationType"`
}

ContainerIdentification container identification

swagger:model ContainerIdentification

func (*ContainerIdentification) ContextValidate

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

ContextValidate validates this container identification based on context it is used

func (*ContainerIdentification) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerIdentification) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerIdentification) Validate

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

Validate validates this container identification

type ContainerItem

type ContainerItem struct {

	// item details
	ItemDetails *ItemDetails `json:"itemDetails,omitempty"`

	// The reference number for the item. Please provide the itemSequenceNumber from the 'items' segment to refer to that item's details here.
	// Required: true
	ItemReference *string `json:"itemReference"`

	// Total item quantity shipped in this carton/pallet.
	// Required: true
	ShippedQuantity *ItemQuantity `json:"shippedQuantity"`
}

ContainerItem Carton/Pallet level details for the item.

swagger:model ContainerItem

func (*ContainerItem) ContextValidate

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

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

func (*ContainerItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerItem) Validate

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

Validate validates this container item

type ContainerSequenceNumbers

type ContainerSequenceNumbers struct {

	// A list of containers shipped
	ContainerSequenceNumber string `json:"containerSequenceNumber,omitempty"`
}

ContainerSequenceNumbers container sequence numbers

swagger:model ContainerSequenceNumbers

func (*ContainerSequenceNumbers) ContextValidate

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

ContextValidate validates this container sequence numbers based on context it is used

func (*ContainerSequenceNumbers) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerSequenceNumbers) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerSequenceNumbers) Validate

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

Validate validates this container sequence numbers

type Containers

type Containers struct {

	// Number of cartons per layer on the pallet.
	Block int64 `json:"block,omitempty"`

	// A list of carton identifiers.
	// Required: true
	ContainerIdentifiers []*ContainerIdentification `json:"containerIdentifiers"`

	// An integer that must be submitted for multi-box shipments only, where one item may come in separate packages.
	ContainerSequenceNumber string `json:"containerSequenceNumber,omitempty"`

	// The type of container.
	// Required: true
	// Enum: [carton pallet]
	ContainerType *string `json:"containerType"`

	// dimensions
	Dimensions *Dimensions `json:"dimensions,omitempty"`

	// inner containers details
	InnerContainersDetails *InnerContainersDetails `json:"innerContainersDetails,omitempty"`

	// A list of packed items.
	PackedItems []*PackedItems `json:"packedItems"`

	// Number of layers per pallet.
	Tier int64 `json:"tier,omitempty"`

	// The tracking number used for identifying the shipment.
	TrackingNumber string `json:"trackingNumber,omitempty"`

	// weight
	Weight *Weight `json:"weight,omitempty"`
}

Containers containers

swagger:model containers

func (*Containers) ContextValidate

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

ContextValidate validate this containers based on the context it is used

func (*Containers) MarshalBinary

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

MarshalBinary interface implementation

func (*Containers) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Containers) Validate

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

Validate validates this containers

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. <br>**Pattern** : `^-?(0|([1-9]\d*))(\.\d+)?([eE][+-]?\d+)?$`.

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 Dimensions

type Dimensions struct {

	// The height of the container.
	// Required: true
	Height *Decimal `json:"height"`

	// The length of the container.
	// Required: true
	Length *Decimal `json:"length"`

	// The unit of measure for dimensions.
	// Required: true
	// Enum: [In Ft Meter Yard]
	UnitOfMeasure *string `json:"unitOfMeasure"`

	// The width of the container.
	// Required: true
	Width *Decimal `json:"width"`
}

Dimensions Physical dimensional measurements of a container.

swagger:model Dimensions

func (*Dimensions) ContextValidate

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

ContextValidate validate this dimensions based on the context it is used

func (*Dimensions) MarshalBinary

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

MarshalBinary interface implementation

func (*Dimensions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Dimensions) Validate

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

Validate validates this dimensions

type Duration

type Duration struct {

	// Unit for duration.
	// Required: true
	// Enum: [Days Months]
	DurationUnit *string `json:"durationUnit"`

	// Value for the duration in terms of the durationUnit.
	// Required: true
	DurationValue *int64 `json:"durationValue"`
}

Duration duration

swagger:model Duration

func (*Duration) ContextValidate

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

ContextValidate validates this duration based on context it is used

func (*Duration) MarshalBinary

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

MarshalBinary interface implementation

func (*Duration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Duration) Validate

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

Validate validates this duration

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 Expiry

type Expiry struct {

	// Duration after manufacturing date during which the product is valid for consumption.
	ExpiryAfterDuration *Duration `json:"expiryAfterDuration,omitempty"`

	// The date that determines the limit of consumption or use of a product. Its meaning is determined based on the trade item context.
	// Format: date-time
	ExpiryDate strfmt.DateTime `json:"expiryDate,omitempty"`

	// Production, packaging or assembly date determined by the manufacturer. Its meaning is determined based on the trade item context.
	// Format: date-time
	ManufacturerDate strfmt.DateTime `json:"manufacturerDate,omitempty"`
}

Expiry expiry

swagger:model Expiry

func (*Expiry) ContextValidate

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

ContextValidate validate this expiry based on the context it is used

func (*Expiry) MarshalBinary

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

MarshalBinary interface implementation

func (*Expiry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Expiry) Validate

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

Validate validates this expiry

type GetShipmentDetailsResponse

type GetShipmentDetailsResponse struct {

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

	// payload
	Payload *ShipmentDetails `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

func (*GetShipmentDetailsResponse) Validate

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

Validate validates this get shipment details response

type GetShipmentLabels

type GetShipmentLabels struct {

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

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

GetShipmentLabels The response schema for the GetShipmentLabels operation.

swagger:model GetShipmentLabels

func (*GetShipmentLabels) ContextValidate

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

ContextValidate validate this get shipment labels based on the context it is used

func (*GetShipmentLabels) MarshalBinary

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

MarshalBinary interface implementation

func (*GetShipmentLabels) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetShipmentLabels) Validate

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

Validate validates this get shipment labels

type ImportDetails

type ImportDetails struct {

	// Billable weight of the direct imports shipment.
	BillableWeight *Weight `json:"billableWeight,omitempty"`

	// Date on which the shipment is expected to be shipped. This value should not be in the past and not more than 60 days out in the future.
	// Format: date-time
	EstimatedShipByDate strfmt.DateTime `json:"estimatedShipByDate,omitempty"`

	// Identification of the instructions on how specified item/carton/pallet should be handled.
	// Enum: [Oversized Fragile Food HandleWithCare]
	HandlingInstructions string `json:"handlingInstructions,omitempty"`

	// Types and numbers of container(s) for import purchase orders. Can be a comma-separated list if shipment has multiple containers.
	// Max Length: 64
	ImportContainers string `json:"importContainers,omitempty"`

	// This is used for import purchase orders only. If the recipient requests, this field will contain the shipment method of payment.
	// Enum: [PaidByBuyer CollectOnDelivery DefinedByBuyerAndSeller FOBPortOfCall PrepaidBySeller PaidBySeller]
	MethodOfPayment string `json:"methodOfPayment,omitempty"`

	// The route and stop details for this shipment.
	Route *Route `json:"route,omitempty"`

	// The container's seal number.
	SealNumber string `json:"sealNumber,omitempty"`
}

ImportDetails import details

swagger:model ImportDetails

func (*ImportDetails) ContextValidate

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

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

func (*ImportDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ImportDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImportDetails) Validate

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

Validate validates this import details

type InnerContainersDetails

type InnerContainersDetails struct {

	// Total containers as part of the shipment
	ContainerCount int64 `json:"containerCount,omitempty"`

	// Container sequence numbers that are involved in this shipment.
	ContainerSequenceNumbers []*ContainerSequenceNumbers `json:"containerSequenceNumbers"`
}

InnerContainersDetails Details of the innerContainersDetails.

swagger:model InnerContainersDetails

func (*InnerContainersDetails) ContextValidate

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

ContextValidate validate this inner containers details based on the context it is used

func (*InnerContainersDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*InnerContainersDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InnerContainersDetails) Validate

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

Validate validates this inner containers details

type Item

type Item struct {

	// Buyer Standard Identification Number (ASIN) of an item.
	AmazonProductIdentifier string `json:"amazonProductIdentifier,omitempty"`

	// item details
	ItemDetails *ItemDetails `json:"itemDetails,omitempty"`

	// Item sequence number for the item. The first item will be 001, the second 002, and so on. This number is used as a reference to refer to this item from the carton or pallet level.
	// Required: true
	ItemSequenceNumber *string `json:"itemSequenceNumber"`

	// Total item quantity shipped in this shipment.
	// Required: true
	ShippedQuantity *ItemQuantity `json:"shippedQuantity"`

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

Item Details of the item being shipped.

swagger:model Item

func (*Item) ContextValidate

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

ContextValidate validate this item based on the context it is used

func (*Item) MarshalBinary

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

MarshalBinary interface implementation

func (*Item) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Item) Validate

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

Validate validates this item

type ItemDetails

type ItemDetails struct {

	// Either expiryDate or mfgDate and expiryAfterDuration are mandatory for perishable items.
	Expiry *Expiry `json:"expiry,omitempty"`

	// Identification of the instructions on how specified item/carton/pallet should be handled.
	// Enum: [Oversized Fragile Food HandleWithCare]
	HandlingCode string `json:"handlingCode,omitempty"`

	// The batch or lot number associates an item with information the manufacturer considers relevant for traceability of the trade item to which the Element String is applied. The data may refer to the trade item itself or to items contained. This field is mandatory for all perishable items.
	LotNumber string `json:"lotNumber,omitempty"`

	// Maximum retail price of the item being shipped.
	MaximumRetailPrice *Money `json:"maximumRetailPrice,omitempty"`

	// The purchase order number for the shipment being confirmed. If the items in this shipment belong to multiple purchase order numbers that are in particular carton or pallet within the shipment, then provide the purchaseOrderNumber at the appropriate carton or pallet level. Formatting Notes: 8-character alpha-numeric code.
	PurchaseOrderNumber string `json:"purchaseOrderNumber,omitempty"`
}

ItemDetails Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.

swagger:model ItemDetails

func (*ItemDetails) ContextValidate

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

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

func (*ItemDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ItemDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ItemDetails) Validate

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

Validate validates this item details

type ItemQuantity

type ItemQuantity struct {

	// Amount of units shipped for a specific item at a shipment level. If the item is present only in certain cartons or pallets within the shipment, please provide this at the appropriate carton or pallet level.
	// Required: true
	Amount *int64 `json:"amount"`

	// Unit of measure for the shipped quantity.
	// Required: true
	// Enum: [Cases Eaches]
	UnitOfMeasure *string `json:"unitOfMeasure"`

	// The case size, in the event that we ordered using cases. Otherwise, 1.
	UnitSize int64 `json:"unitSize,omitempty"`
}

ItemQuantity Details of item quantity.

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 LabelData

type LabelData struct {

	// Unique identification for  the carrier like UPS,DHL,USPS..etc
	CarrierCode string `json:"carrierCode,omitempty"`

	// Label created as part of the transportation and it is base64 encoded
	Label string `json:"label,omitempty"`

	// Type of the label format like PDF
	// Enum: [PDF]
	LabelFormat string `json:"labelFormat,omitempty"`

	// Label list sequence number
	LabelSequenceNumber int64 `json:"labelSequenceNumber,omitempty"`

	// Tracking Id for the transportation.
	TrackingID string `json:"trackingId,omitempty"`
}

LabelData Label details as part of the transport label response

swagger:model LabelData

func (*LabelData) ContextValidate

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

ContextValidate validates this label data based on context it is used

func (*LabelData) MarshalBinary

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

MarshalBinary interface implementation

func (*LabelData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LabelData) Validate

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

Validate validates this label data

type Location

type Location struct {

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

	// Location code.
	LocationCode string `json:"locationCode,omitempty"`

	// Type of location identification.
	Type string `json:"type,omitempty"`
}

Location Location identifier.

swagger:model Location

func (*Location) ContextValidate

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

ContextValidate validates this location based on context it is used

func (*Location) MarshalBinary

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

MarshalBinary interface implementation

func (*Location) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Location) Validate

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

Validate validates this location

type Money

type Money struct {

	// amount
	// Required: true
	Amount *Decimal `json:"amount"`

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

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 PackageItemDetails

type PackageItemDetails struct {

	// Either expiryDate or mfgDate and expiryAfterDuration are mandatory for perishable items.
	Expiry *Expiry `json:"expiry,omitempty"`

	// The batch or lot number associates an item with information the manufacturer considers relevant for traceability of the trade item to which the Element String is applied. The data may refer to the trade item itself or to items contained. This field is mandatory for all perishable items.
	LotNumber string `json:"lotNumber,omitempty"`

	// The purchase order number for the shipment being confirmed. If the items in this shipment belong to multiple purchase order numbers that are in particular carton or pallet within the shipment, then provide the purchaseOrderNumber at the appropriate carton or pallet level. Formatting Notes: 8-character alpha-numeric code.
	PurchaseOrderNumber string `json:"purchaseOrderNumber,omitempty"`
}

PackageItemDetails Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.

swagger:model PackageItemDetails

func (*PackageItemDetails) ContextValidate

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

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

func (*PackageItemDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*PackageItemDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PackageItemDetails) Validate

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

Validate validates this package item details

type PackedItems

type PackedItems struct {

	// Buyer Standard Identification Number (ASIN) of an item.
	BuyerProductIdentifier string `json:"buyerProductIdentifier,omitempty"`

	// item details
	ItemDetails *PackageItemDetails `json:"itemDetails,omitempty"`

	// Item sequence number for the item. The first item will be 001, the second 002, and so on. This number is used as a reference to refer to this item from the carton or pallet level.
	ItemSequenceNumber string `json:"itemSequenceNumber,omitempty"`

	// Total item quantity shipped in this shipment.
	PackedQuantity *ItemQuantity `json:"packedQuantity,omitempty"`

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

PackedItems Details of the item being shipped.

swagger:model PackedItems

func (*PackedItems) ContextValidate

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

ContextValidate validate this packed items based on the context it is used

func (*PackedItems) MarshalBinary

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

MarshalBinary interface implementation

func (*PackedItems) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PackedItems) Validate

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

Validate validates this packed items

type PackedQuantity

type PackedQuantity struct {

	// Amount of units shipped for a specific item at a shipment level. If the item is present only in certain cartons or pallets within the shipment, please provide this at the appropriate carton or pallet level.
	// Required: true
	Amount *int64 `json:"amount"`

	// Unit of measure for the shipped quantity.
	// Required: true
	// Enum: [Cases Eaches]
	UnitOfMeasure *string `json:"unitOfMeasure"`

	// The case size, in the event that we ordered using cases. Otherwise, 1.
	UnitSize int64 `json:"unitSize,omitempty"`
}

PackedQuantity Details of item quantity.

swagger:model packedQuantity

func (*PackedQuantity) ContextValidate

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

ContextValidate validates this packed quantity based on context it is used

func (*PackedQuantity) MarshalBinary

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

MarshalBinary interface implementation

func (*PackedQuantity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PackedQuantity) Validate

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

Validate validates this packed quantity

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 Pallet

type Pallet struct {

	// Number of cartons per layer on the pallet. Only applicable to container type Pallet.
	Block int64 `json:"block,omitempty"`

	// Carton reference details.
	CartonReferenceDetails *CartonReferenceDetails `json:"cartonReferenceDetails,omitempty"`

	// dimensions
	Dimensions *Dimensions `json:"dimensions,omitempty"`

	// A list of container item details.
	Items []*ContainerItem `json:"items"`

	// A list of pallet identifiers.
	// Required: true
	PalletIdentifiers []*ContainerIdentification `json:"palletIdentifiers"`

	// Number of layers per pallet. Only applicable to container type Pallet.
	Tier int64 `json:"tier,omitempty"`

	// weight
	Weight *Weight `json:"weight,omitempty"`
}

Pallet Details of the Pallet/Tare being shipped.

swagger:model Pallet

func (*Pallet) ContextValidate

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

ContextValidate validate this pallet based on the context it is used

func (*Pallet) MarshalBinary

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

MarshalBinary interface implementation

func (*Pallet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Pallet) Validate

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

Validate validates this pallet

type PartyIdentification

type PartyIdentification struct {

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

	// Assigned identification for the party.
	// Required: true
	PartyID *string `json:"partyId"`

	// Tax registration details of the entity.
	TaxRegistrationDetails []*TaxRegistrationDetails `json:"taxRegistrationDetails"`
}

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 PurchaseOrderItemDetails

type PurchaseOrderItemDetails struct {

	// Maximum retail price of the item being shipped.
	MaximumRetailPrice *Money `json:"maximumRetailPrice,omitempty"`
}

PurchaseOrderItemDetails Item details for be provided for every item in shipment at either the item or carton or pallet level, whichever is appropriate.

swagger:model PurchaseOrderItemDetails

func (*PurchaseOrderItemDetails) ContextValidate

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

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

func (*PurchaseOrderItemDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*PurchaseOrderItemDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PurchaseOrderItemDetails) Validate

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

Validate validates this purchase order item details

type PurchaseOrderItems

type PurchaseOrderItems struct {

	// Amazon Standard Identification Number (ASIN) for a SKU
	BuyerProductIdentifier string `json:"buyerProductIdentifier,omitempty"`

	// Item sequence number for the item. The first item will be 001, the second 002, and so on. This number is used as a reference to refer to this item from the carton or pallet level.
	// Required: true
	ItemSequenceNumber *string `json:"itemSequenceNumber"`

	// maximum retail price
	MaximumRetailPrice *Money `json:"maximumRetailPrice,omitempty"`

	// Total item quantity shipped in this shipment.
	// Required: true
	ShippedQuantity *ItemQuantity `json:"shippedQuantity"`

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

PurchaseOrderItems Details of the item being shipped.

swagger:model PurchaseOrderItems

func (*PurchaseOrderItems) ContextValidate

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

ContextValidate validate this purchase order items based on the context it is used

func (*PurchaseOrderItems) MarshalBinary

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

MarshalBinary interface implementation

func (*PurchaseOrderItems) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PurchaseOrderItems) Validate

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

Validate validates this purchase order items

type PurchaseOrders

type PurchaseOrders struct {

	// A list of the items that are associated to the PO in this transport and their associated details.
	Items []*PurchaseOrderItems `json:"items"`

	// Purchase order numbers involved in this shipment, list all the PO that are involved as part of this shipment.
	// Format: date-time
	PurchaseOrderDate strfmt.DateTime `json:"purchaseOrderDate,omitempty"`

	// Purchase order numbers involved in this shipment, list all the PO that are involved as part of this shipment.
	PurchaseOrderNumber string `json:"purchaseOrderNumber,omitempty"`

	// Date range in which shipment is expected for these purchase orders.
	ShipWindow string `json:"shipWindow,omitempty"`
}

PurchaseOrders Transport Request pickup date

swagger:model purchaseOrders

func (*PurchaseOrders) ContextValidate

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

ContextValidate validate this purchase orders based on the context it is used

func (*PurchaseOrders) MarshalBinary

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

MarshalBinary interface implementation

func (*PurchaseOrders) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PurchaseOrders) Validate

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

Validate validates this purchase orders

type Route

type Route struct {

	// stops
	// Required: true
	Stops []*Stop `json:"stops"`
}

Route This is used only for direct import shipment confirmations.

swagger:model Route

func (*Route) ContextValidate

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

ContextValidate validate this route based on the context it is used

func (*Route) MarshalBinary

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

MarshalBinary interface implementation

func (*Route) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Route) Validate

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

Validate validates this route

type Shipment

type Shipment struct {

	// The buyer Reference Number is a unique identifier generated by buyer for all Collect/WePay shipments when you submit a transportation request. This field is mandatory for Collect/WePay shipments.
	BuyerReferenceNumber string `json:"buyerReferenceNumber,omitempty"`

	// Indicates the earliest pickup date for the transportation from vendor warehouse. This information is mandatory to be filled for requesting transportation from Buyer (WePay/Collect).
	CollectFreightPickupDetails *CollectFreightPickupDetails `json:"collectFreightPickupDetails,omitempty"`

	// A list of the items in this transportation and their associated inner container details. If any of the item detail fields are common at a carton or a pallet level, provide them at the corresponding carton or pallet level.
	Containers []*Containers `json:"containers"`

	// Indicates the current shipment status.
	// Enum: [Created TransportationRequested CarrierAssigned Shipped]
	CurrentShipmentStatus string `json:"currentShipmentStatus,omitempty"`

	// Date and time when the last status was updated.
	// Format: date-time
	CurrentshipmentStatusDate strfmt.DateTime `json:"currentshipmentStatusDate,omitempty"`

	// Provide these fields only if this shipment is a direct import.
	ImportDetails *ImportDetails `json:"importDetails,omitempty"`

	// The date and time of the package label created for the shipment by buyer.
	// Format: date-time
	PackageLabelCreateDate strfmt.DateTime `json:"packageLabelCreateDate,omitempty"`

	// Indicates the purchase orders involved for the transportation request. This group is an array create 1 for each PO and list their corresponding items. This information is used for deciding the route,truck allocation and storage efficiently. This is a mandatory information for Buyer performing transportation from vendor warehouse (WePay/Collect)
	PurchaseOrders []*PurchaseOrders `json:"purchaseOrders"`

	// Name/Address and tax details of the selling party.
	// Required: true
	SellingParty *PartyIdentification `json:"sellingParty"`

	// Name/Address and tax details of the ship from party.
	// Required: true
	ShipFromParty *PartyIdentification `json:"shipFromParty"`

	// Name/Address of the destination warehouse where the shipment is being shipped to.
	// Required: true
	ShipToParty *PartyIdentification `json:"shipToParty"`

	// The date and time of the departure of the shipment from the vendor's location. Vendors are requested to send ASNs within 30 minutes of departure from their warehouse/distribution center or at least 6 hours prior to the appointment time at the Buyer destination warehouse, whichever is sooner. Shipped date mentioned in the shipment confirmation should not be in the future.
	// Format: date-time
	ShipmentConfirmDate strfmt.DateTime `json:"shipmentConfirmDate,omitempty"`

	// The date and time of the shipment request created by vendor.
	// Format: date-time
	ShipmentCreateDate strfmt.DateTime `json:"shipmentCreateDate,omitempty"`

	// Indicates if this transportation request is WePay/Collect or TheyPay/Prepaid. This is a mandatory information.
	// Enum: [Collect Prepaid]
	ShipmentFreightTerm string `json:"shipmentFreightTerm,omitempty"`

	// Indicates the shipment measurement details on how many cartons and pallets and the total transportation weight and volume as part of this request. This is a mandatory detail which will help determining the transportation cost, truck allocations and route determination efficiently.
	ShipmentMeasurements *TransportShipmentMeasurements `json:"shipmentMeasurements,omitempty"`

	// Indicates the list of current shipment status details and when the last update was received from carrier this is available on shipment Details response.
	ShipmentStatusDetails []*ShipmentStatusDetails `json:"shipmentStatusDetails"`

	// Date on which the transportation request was submitted.
	// Required: true
	// Format: date-time
	TransactionDate *strfmt.DateTime `json:"transactionDate"`

	// Indicates the type of  transportation request such as (New,Cancel,Confirm and PackageLabelRequest). Each transactiontype has a unique set of operation and there are corresponding details to be populated for each operation.
	// Required: true
	// Enum: [New Cancel]
	TransactionType *string `json:"transactionType"`

	// Transportation details this a mandatory information which states delivery date, shipping date and carrier details.
	TransportationDetails *TransportationDetails `json:"transportationDetails,omitempty"`

	// Unique Transportation ID created by Vendor (Should not be used over the last 365 days).
	// Required: true
	VendorShipmentIdentifier *string `json:"vendorShipmentIdentifier"`
}

Shipment shipment

swagger:model Shipment

func (*Shipment) ContextValidate

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

ContextValidate validate this shipment based on the context it is used

func (*Shipment) MarshalBinary

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

MarshalBinary interface implementation

func (*Shipment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Shipment) Validate

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

Validate validates this shipment

type ShipmentConfirmation

type ShipmentConfirmation struct {

	// The Amazon Reference Number is a unique identifier generated by Amazon for all Collect/WePay shipments when you submit  a routing request. This field is mandatory for Collect/WePay shipments.
	AmazonReferenceNumber string `json:"amazonReferenceNumber,omitempty"`

	// A list of the cartons in this shipment.
	Cartons []*Carton `json:"cartons"`

	// The date and time on which the shipment is estimated to reach buyer's warehouse. It needs to be an estimate based on the average transit time between ship from location and the destination. The exact appointment time will be provided by the buyer and is potentially not known when creating the shipment confirmation.
	// Format: date-time
	EstimatedDeliveryDate strfmt.DateTime `json:"estimatedDeliveryDate,omitempty"`

	// Provide these fields only if this shipment is a direct import.
	ImportDetails *ImportDetails `json:"importDetails,omitempty"`

	// A list of the pallets in this shipment.
	Pallets []*Pallet `json:"pallets"`

	// Name/Address and tax details of the selling party.
	// Required: true
	SellingParty *PartyIdentification `json:"sellingParty"`

	// Name/Address and tax details of the ship from party.
	// Required: true
	ShipFromParty *PartyIdentification `json:"shipFromParty"`

	// Name/Address of the destination warehouse where the shipment is being shipped to.
	// Required: true
	ShipToParty *PartyIdentification `json:"shipToParty"`

	// Date on which the shipment confirmation was submitted.
	// Required: true
	// Format: date-time
	ShipmentConfirmationDate *strfmt.DateTime `json:"shipmentConfirmationDate"`

	// Indicates if this shipment confirmation is the initial confirmation, or intended to replace an already posted shipment confirmation. If replacing an existing shipment confirmation, be sure to provide the identical shipmentIdentifier and sellingParty information as in the previous confirmation.
	// Required: true
	// Enum: [Original Replace]
	ShipmentConfirmationType *string `json:"shipmentConfirmationType"`

	// Unique shipment ID (not used over the last 365 days).
	// Required: true
	ShipmentIdentifier *string `json:"shipmentIdentifier"`

	// shipment measurements
	ShipmentMeasurements *ShipmentMeasurements `json:"shipmentMeasurements,omitempty"`

	// Shipment hierarchical structure.
	// Enum: [PalletizedAssortmentCase LooseAssortmentCase PalletOfItems PalletizedStandardCase LooseStandardCase MasterPallet MasterCase]
	ShipmentStructure string `json:"shipmentStructure,omitempty"`

	// The type of shipment.
	// Enum: [TruckLoad LessThanTruckLoad SmallParcel]
	ShipmentType string `json:"shipmentType,omitempty"`

	// The date and time of the departure of the shipment from the vendor's location. Vendors are requested to send ASNs within 30 minutes of departure from their warehouse/distribution center or at least 6 hours prior to the appointment time at the buyer destination warehouse, whichever is sooner. Shipped date mentioned in the shipment confirmation should not be in the future.
	// Format: date-time
	ShippedDate strfmt.DateTime `json:"shippedDate,omitempty"`

	// A list of the items in this shipment and their associated details. If any of the item detail fields are common at a carton or a pallet level, provide them at the corresponding carton or pallet level.
	// Required: true
	ShippedItems []*Item `json:"shippedItems"`

	// Transportation details for this shipment.
	TransportationDetails *TransportationDetails `json:"transportationDetails,omitempty"`
}

ShipmentConfirmation shipment confirmation

swagger:model ShipmentConfirmation

func (*ShipmentConfirmation) ContextValidate

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

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

func (*ShipmentConfirmation) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentConfirmation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentConfirmation) Validate

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

Validate validates this shipment confirmation

type ShipmentDetails

type ShipmentDetails struct {

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

	// shipments
	Shipments []*Shipment `json:"shipments"`
}

ShipmentDetails shipment details

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 ShipmentInformation

type ShipmentInformation struct {

	// Buyer Reference number which is a unique number.
	BuyerReferenceNumber string `json:"buyerReferenceNumber,omitempty"`

	// Unique Id with  which  the shipment can be tracked for Small Parcels.
	MasterTrackingID string `json:"masterTrackingId,omitempty"`

	// Name/Address of the destination warehouse where the shipment is being shipped to.
	ShipFromParty *PartyIdentification `json:"shipFromParty,omitempty"`

	// Type of shipment whether it is Small Parcel
	// Enum: [SmallParcel LTL]
	ShipMode string `json:"shipMode,omitempty"`

	// Name/Address of the destination warehouse where the shipment is being shipped to.
	ShipToParty *PartyIdentification `json:"shipToParty,omitempty"`

	// Number of Labels that are created as part of this shipment.
	TotalLabelCount int64 `json:"totalLabelCount,omitempty"`

	// Vendor Details requesting for Shipment Label
	VendorDetails *VendorDetails `json:"vendorDetails,omitempty"`

	// Vendor Warehouse ID from where the shipment is scheduled to be picked up by buyer / Carrier.
	WarehouseID string `json:"warehouseId,omitempty"`
}

ShipmentInformation Shipment Information details for Label request.

swagger:model ShipmentInformation

func (*ShipmentInformation) ContextValidate

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

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

func (*ShipmentInformation) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentInformation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentInformation) Validate

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

Validate validates this shipment information

type ShipmentMeasurements

type ShipmentMeasurements struct {

	// Number of cartons present in the shipment. Provide the cartonCount only for non-palletized shipments.
	CartonCount int64 `json:"cartonCount,omitempty"`

	// Gross weight of the shipment.
	GrossShipmentWeight *Weight `json:"grossShipmentWeight,omitempty"`

	// Number of pallets present in the shipment. Provide the palletCount only for palletized shipments.
	PalletCount int64 `json:"palletCount,omitempty"`

	// Gross Volume of the shipment.
	ShipmentVolume *Volume `json:"shipmentVolume,omitempty"`
}

ShipmentMeasurements Shipment measurement details.

swagger:model ShipmentMeasurements

func (*ShipmentMeasurements) ContextValidate

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

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

func (*ShipmentMeasurements) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentMeasurements) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentMeasurements) Validate

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

Validate validates this shipment measurements

type ShipmentStatusDetails

type ShipmentStatusDetails struct {

	// Current status of the shipment on whether it is picked up or scheduled.
	// Enum: [Created TransportationRequested CarrierAssigned Shipped]
	ShipmentStatus string `json:"shipmentStatus,omitempty"`

	// Date and time on last status update received for the shipment
	// Format: date-time
	ShipmentStatusDate strfmt.DateTime `json:"shipmentStatusDate,omitempty"`
}

ShipmentStatusDetails Shipment Status details.

swagger:model ShipmentStatusDetails

func (*ShipmentStatusDetails) ContextValidate

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

ContextValidate validates this shipment status details based on context it is used

func (*ShipmentStatusDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentStatusDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentStatusDetails) Validate

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

Validate validates this shipment status details

type Stop

type Stop struct {

	// Date and time of the arrival of the cargo.
	// Format: date-time
	ArrivalTime strfmt.DateTime `json:"arrivalTime,omitempty"`

	// Date and time of the departure of the cargo.
	// Format: date-time
	DepartureTime strfmt.DateTime `json:"departureTime,omitempty"`

	// Provide the function code.
	// Required: true
	// Enum: [PortOfDischarge FreightPayableAt PortOfLoading]
	FunctionCode *string `json:"functionCode"`

	// location identification
	LocationIdentification *Location `json:"locationIdentification,omitempty"`
}

Stop Contractual or operational port or point relevant to the movement of the cargo.

swagger:model Stop

func (*Stop) ContextValidate

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

ContextValidate validate this stop based on the context it is used

func (*Stop) MarshalBinary

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

MarshalBinary interface implementation

func (*Stop) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Stop) Validate

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

Validate validates this stop

type SubmitShipmentConfirmationsRequest

type SubmitShipmentConfirmationsRequest struct {

	// shipment confirmations
	ShipmentConfirmations []*ShipmentConfirmation `json:"shipmentConfirmations"`
}

SubmitShipmentConfirmationsRequest The request schema for the SubmitShipmentConfirmations operation.

swagger:model SubmitShipmentConfirmationsRequest

func (*SubmitShipmentConfirmationsRequest) ContextValidate

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

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

func (*SubmitShipmentConfirmationsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SubmitShipmentConfirmationsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubmitShipmentConfirmationsRequest) Validate

Validate validates this submit shipment confirmations request

type SubmitShipmentConfirmationsResponse

type SubmitShipmentConfirmationsResponse struct {

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

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

SubmitShipmentConfirmationsResponse The response schema for the SubmitShipmentConfirmations operation.

swagger:model SubmitShipmentConfirmationsResponse

func (*SubmitShipmentConfirmationsResponse) ContextValidate

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

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

func (*SubmitShipmentConfirmationsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SubmitShipmentConfirmationsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubmitShipmentConfirmationsResponse) Validate

Validate validates this submit shipment confirmations response

type SubmitShipments

type SubmitShipments struct {

	// shipments
	Shipments []*Shipment `json:"shipments"`
}

SubmitShipments The request schema for the SubmitTransportRequestConfirmations operation.

swagger:model SubmitShipments

func (*SubmitShipments) ContextValidate

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

ContextValidate validate this submit shipments based on the context it is used

func (*SubmitShipments) MarshalBinary

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

MarshalBinary interface implementation

func (*SubmitShipments) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SubmitShipments) Validate

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

Validate validates this submit shipments

type TaxRegistrationDetails

type TaxRegistrationDetails struct {

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

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

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 validates this tax registration details based on 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 TransactionReference

type TransactionReference struct {

	// GUID assigned by Buyer 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"`
}

TransactionReference transaction reference

swagger:model TransactionReference

func (*TransactionReference) ContextValidate

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

ContextValidate validates this transaction reference based on context it is used

func (*TransactionReference) MarshalBinary

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

MarshalBinary interface implementation

func (*TransactionReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransactionReference) Validate

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

Validate validates this transaction reference

type TransportLabel

type TransportLabel struct {

	// Date on which label is created.
	LabelCreateDateTime string `json:"labelCreateDateTime,omitempty"`

	// Indicates the label data,format and type associated .
	LabelData []*LabelData `json:"labelData"`

	// Indicates the shipment Information details like warehouse and business reference details like ARN, Selling Party detail and Vendor Warehouse details
	ShipmentInformation *ShipmentInformation `json:"shipmentInformation,omitempty"`
}

TransportLabel transport label

swagger:model transportLabel

func (*TransportLabel) ContextValidate

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

ContextValidate validate this transport label based on the context it is used

func (*TransportLabel) MarshalBinary

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

MarshalBinary interface implementation

func (*TransportLabel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransportLabel) Validate

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

Validate validates this transport label

type TransportShipmentMeasurements

type TransportShipmentMeasurements struct {

	// Total Volume of the shipment.
	ShipmentVolume *Volume `json:"shipmentVolume,omitempty"`

	// Total Weight of the shipment.
	ShipmentWeight *Weight `json:"shipmentWeight,omitempty"`

	// Total number of cartons present in the shipment. Provide the cartonCount only for non-palletized shipments.
	TotalCartonCount int64 `json:"totalCartonCount,omitempty"`

	// Total number of Non Stackable Pallets present in the shipment.
	TotalPalletNonStackable int64 `json:"totalPalletNonStackable,omitempty"`

	// Total number of Stackable Pallets present in the shipment.
	TotalPalletStackable int64 `json:"totalPalletStackable,omitempty"`
}

TransportShipmentMeasurements Shipment measurement details.

swagger:model TransportShipmentMeasurements

func (*TransportShipmentMeasurements) ContextValidate

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

ContextValidate validate this transport shipment measurements based on the context it is used

func (*TransportShipmentMeasurements) MarshalBinary

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

MarshalBinary interface implementation

func (*TransportShipmentMeasurements) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransportShipmentMeasurements) Validate

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

Validate validates this transport shipment measurements

type TransportationDetails

type TransportationDetails struct {

	// Bill Of Lading (BOL) number is the unique number assigned by the vendor. The BOL present in the Shipment Confirmation message ideally matches the paper BOL provided with the shipment, but that is no must. Instead of BOL, an alternative reference number (like Delivery Note Number) for the shipment can also be sent in this field.
	BillOfLadingNumber string `json:"billOfLadingNumber,omitempty"`

	// Indicates the carrier details and their contact informations
	CarrierDetails *CarrierDetails `json:"carrierDetails,omitempty"`

	// Estimated Date on which shipment will be delivered from Vendor to Buyer
	// Format: date-time
	EstimatedDeliveryDate strfmt.DateTime `json:"estimatedDeliveryDate,omitempty"`

	// The type of shipment.
	// Enum: [TruckLoad LessThanTruckLoad SmallParcel]
	ShipMode string `json:"shipMode,omitempty"`

	// Date on which shipment will be delivered from Vendor to Buyer
	// Format: date-time
	ShipmentDeliveryDate strfmt.DateTime `json:"shipmentDeliveryDate,omitempty"`

	// Date when shipment is performed by the Vendor to Buyer
	// Format: date-time
	ShippedDate strfmt.DateTime `json:"shippedDate,omitempty"`

	// The mode of transportation for this shipment.
	// Enum: [Road Air Ocean]
	TransportationMode string `json:"transportationMode,omitempty"`
}

TransportationDetails transportation details

swagger:model TransportationDetails

func (*TransportationDetails) ContextValidate

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

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

func (*TransportationDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*TransportationDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransportationDetails) Validate

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

Validate validates this transportation details

type TransportationLabels

type TransportationLabels struct {

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

	// transport labels
	TransportLabels []*TransportLabel `json:"transportLabels"`
}

TransportationLabels transportation labels

swagger:model transportationLabels

func (*TransportationLabels) ContextValidate

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

ContextValidate validate this transportation labels based on the context it is used

func (*TransportationLabels) MarshalBinary

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

MarshalBinary interface implementation

func (*TransportationLabels) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TransportationLabels) Validate

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

Validate validates this transportation labels

type VendorDetails

type VendorDetails struct {

	// Name/Address and tax details of the selling party.
	SellingParty *PartyIdentification `json:"sellingParty,omitempty"`

	// Unique vendor shipment id which is not used in last 365 days
	// Format: date-time
	VendorShipmentID strfmt.DateTime `json:"vendorShipmentId,omitempty"`
}

VendorDetails Vendor Details as part of Label response.

swagger:model VendorDetails

func (*VendorDetails) ContextValidate

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

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

func (*VendorDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*VendorDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VendorDetails) Validate

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

Validate validates this vendor details

type Volume

type Volume struct {

	// The unit of measurement.
	// Required: true
	// Enum: [CuFt CuIn CuM CuY]
	UnitOfMeasure *string `json:"unitOfMeasure"`

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

Volume The volume of the shipment.

swagger:model Volume

func (*Volume) ContextValidate

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

ContextValidate validate this volume based on the context it is used

func (*Volume) MarshalBinary

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

MarshalBinary interface implementation

func (*Volume) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Volume) Validate

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

Validate validates this volume

type Weight

type Weight struct {

	// The unit of measurement.
	// Required: true
	// Enum: [G Kg Oz Lb]
	UnitOfMeasure *string `json:"unitOfMeasure"`

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

Weight The weight of the shipment.

swagger:model Weight

func (*Weight) ContextValidate

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

ContextValidate validate this weight based on the 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

Jump to

Keyboard shortcuts

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