Versions in this module Expand all Collapse all v1 v1.0.1 Jan 12, 2023 v1.0.0 Nov 29, 2021 Changes in this version + var DefaultOptions = &Options + type Acceptor struct + Name string + SignatureReference string + type AdditionalServices struct + Code string + GroupCode string + Name string + type Address struct + City string + Country string + CountryCode string + PostCode string + Street1 string + Street2 string + type AssessedMeasurement struct + Height Height + Length Length + Volume Volume + Weight Weight + Width Width + type AssessedVolume struct + Unit string + Value string + type AssessedWeight struct + Unit string + Value string + type Client struct + APIKey string + Opts *Options + func NewClient(apiKey string, httpClient *http.Client, opts *Options) Client + func (c *Client) FindByIdentifier(id string) (*Response, error) + func (c *Client) FindByReference(customerNumber, reference string) (*Response, error) + type CollectionParty struct + Address Address + Contact Contact + Name string + type CompositeFault struct + Faults []Faults + type Consignee struct + Address Address + Name string + type Consignor struct + Address Address + Issuercode string + Name string + type Contact struct + ContactName string + Email string + MobilePhone string + Phone string + type Coordinate struct + Easting string + Northing string + SrID string + type DeliveryPoint struct + Address Address + Contact Contact + Coordinate []Coordinate + DisplayName string + LocationDetail string + LocationID string + Name string + OpeningHour []OpeningHour + ServicePointType string + type DestinationDeliveryPoint struct + Address Address + Contact Contact + Coordinate []Coordinate + DisplayName string + LocationDetail string + LocationID string + Name string + OpeningHour []OpeningHour + ServicePointType string + type Events struct + EventCode string + EventDescription string + EventTime time.Time + GeoLocation GeoLocation + LocalDeviationDode string + Location Location + Status string + type Faults struct + ExplanationText string + FaultCode string + ParamValues []ParamValues + type FreeText struct + Text string + Type string + type GeoLocation struct + GeoCity string + GeoCountryCode string + GeoEasting int + GeoNorthing int + GeoPostalCode string + GeoReferenceSystem string + type Height struct + Unit string + Value string + type Items struct + Acceptor Acceptor + AdditionalInformation string + AssessedMeasurement AssessedMeasurement + DeliveryDate time.Time + DropOffDate time.Time + EstimatedTimeOfArrival time.Time + Events []Events + FreeText []FreeText + ItemID string + NoItems int + NumberOfPallets string + PreviousItemStates []string + References []References + ReturnDate time.Time + StatedMeasurement StatedMeasurement + Status string + StatusText StatusText + TypeOfItem string + TypeOfItemActual string + TypeOfItemActualName string + TypeOfItemName string + type Length struct + Unit string + Value string + type Locale string + const LocaleDanish + const LocaleDefault + const LocaleEnglish + const LocaleFinnish + const LocaleNorwegian + const LocaleSwedish + func (l Locale) String() string + type Location struct + City string + Country string + CountryCode string + DisplayName string + LocationID string + LocationType string + Name string + Postcode string + type OpeningHour struct + Friday bool + Monday bool + OpenFrom string + OpenFrom2 string + OpenTo string + OpenTo2 string + Saturday bool + Sunday bool + Thursday bool + Tuesday bool + Wednesday bool + type Options struct + Locale Locale + type ParamValues struct + Param string + Value string + type PickupParty struct + Address Address + Contact Contact + Name string + type References struct + Name string + Type string + Value string + type Response struct + TrackingInformation TrackingInformation + func (r *Response) JSON() ([]byte, error) + func (r *Response) XML() ([]byte, error) + func (r *Response) YAML() ([]byte, error) + type ReturnParty struct + Address Address + Contact Contact + Name string + type Service struct + Code string + Name string + type ShipmentReferences struct + Name string + Type string + Value string + type Shipments struct + AdditionalServices []AdditionalServices + AssessedNumberOfItems int + AssessedVolume AssessedVolume + AssessedWeight AssessedWeight + CashOnDeliveryText string + CollectionParty CollectionParty + Consignee Consignee + Consignor Consignor + DeliveryDate time.Time + DeliveryPoint DeliveryPoint + DestinationDeliveryPoint DestinationDeliveryPoint + EstimatedTimeOfArrival time.Time + FlexChangePossible bool + HarmonizedVersion int + Items []Items + NumberOfPallets string + PickupParty PickupParty + ReturnDate time.Time + ReturnParty ReturnParty + Service Service + ShipmentID string + ShipmentReferences []ShipmentReferences + SplitStatuses []SplitStatuses + Status string + StatusText StatusText + TotalVolume TotalVolume + TotalWeight TotalWeight + URI string + type SplitStatuses struct + NoItems int + NoItemsWithStatus int + Status string + StatusDescription string + type StatedMeasurement struct + Height Height + Length Length + Volume Volume + Weight Weight + Width Width + type StatusText struct + Body string + EstimatedTimeOfArrival string + Header string + type TotalVolume struct + Unit string + Value string + type TotalWeight struct + Unit string + Value string + type TrackingInformation struct + CompositeFault CompositeFault + Shipments []Shipments + type Volume struct + Unit string + Value string + type Weight struct + Unit string + Value string + type Width struct + Unit string + Value string