impl

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AfterShipApiV4Impl

type AfterShipApiV4Impl struct {
	ApiKey      string
	RetryPolicy *apiV4.RetryPolicy
	Client      *http.Client
}

func (*AfterShipApiV4Impl) AddNotification

AddNotification Adds notifications to a tracking number.

func (*AfterShipApiV4Impl) CreateTracking

func (api *AfterShipApiV4Impl) CreateTracking(newTracking apiV4.NewTracking) (apiV4.Tracking, apiV4.AfterShipApiError)

CreateTracking creates a new tracking

func (*AfterShipApiV4Impl) DeleteTracking

DeleteTracking Deletes a tracking.

func (*AfterShipApiV4Impl) DetectCouriers

DetectCouriers returns a list of matched couriers based on tracking number format and selected couriers or a list of couriers.

func (*AfterShipApiV4Impl) GetAllCouriers

func (api *AfterShipApiV4Impl) GetAllCouriers() ([]apiV4.Courier, apiV4.AfterShipApiError)

GetAll returns a list of all couriers.

func (*AfterShipApiV4Impl) GetCouriers

func (api *AfterShipApiV4Impl) GetCouriers() ([]apiV4.Courier, apiV4.AfterShipApiError)

GetCouriers returns a list of couriers activated at your AfterShip account.

func (*AfterShipApiV4Impl) GetLastCheckPoint

func (api *AfterShipApiV4Impl) GetLastCheckPoint(id apiV4.TrackingId, fields string,
	lang string) (apiV4.LastCheckPoint, apiV4.AfterShipApiError)

LastCheckPoint Return the tracking information of the last checkpoint of a single tracking.

func (*AfterShipApiV4Impl) GetNotificationSetting

func (api *AfterShipApiV4Impl) GetNotificationSetting(id apiV4.TrackingId, fields string) (apiV4.NotificationSetting,
	apiV4.AfterShipApiError)

GetNotificationSetting Gets notifications value from a tracking number.

func (*AfterShipApiV4Impl) GetTracking

func (api *AfterShipApiV4Impl) GetTracking(id apiV4.TrackingId, fields string, lang string) (apiV4.Tracking, apiV4.AfterShipApiError)

GetTracking Gets tracking results of a single tracking.

func (*AfterShipApiV4Impl) GetTrackings

GetTrackings Gets tracking results of multiple trackings.

func (*AfterShipApiV4Impl) GetTrackingsExport

GetTrackingsExport Gets all trackings results (for backup or analytics purpose)

func (*AfterShipApiV4Impl) ReTrack

ReTrack an expired tracking once. Max. 3 times per tracking.

func (*AfterShipApiV4Impl) RemoveNotification

RemoveNotification Removes notifications from a tracking number.

func (*AfterShipApiV4Impl) UpdateTracking

UpdateTracking Updates a tracking.

Jump to

Keyboard shortcuts

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