Versions in this module Expand all Collapse all v1 v1.6.0 Nov 24, 2019 Changes in this version + type Client struct + func NewClient(privateToken, apiVersion string) *Client + func (c *Client) AddBatchShipmentsToBatch(objectID string, batchShipments []*models.BatchShipmentInput) (*models.Batch, error) + func (c *Client) CreateAddress(input *models.AddressInput) (*models.Address, error) + func (c *Client) CreateCarrierAccount(input *models.CarrierAccountInput) (*models.CarrierAccount, error) + func (c *Client) CreateCustomsDeclaration(input *models.CustomsDeclarationInput) (*models.CustomsDeclaration, error) + func (c *Client) CreateCustomsItem(input *models.CustomsItemInput) (*models.CustomsItem, error) + func (c *Client) CreateManifest(input *models.ManifestInput) (*models.Manifest, error) + func (c *Client) CreateParcel(input *models.ParcelInput) (*models.Parcel, error) + func (c *Client) CreateRefund(input *models.RefundInput) (*models.Refund, error) + func (c *Client) CreateShipment(input *models.ShipmentInput) (*models.Shipment, error) + func (c *Client) GetShippingRates(shipmentObjectID, currencyCode string) ([]*models.Rate, error) + func (c *Client) GetTrackingUpdate(carrier, trackingNumber string) (*models.TrackingStatus, error) + func (c *Client) ListAllAddresses() ([]*models.Address, error) + func (c *Client) ListAllCarrierAccounts() ([]*models.CarrierAccount, error) + func (c *Client) ListAllCustomsDeclaration() ([]*models.CustomsDeclaration, error) + func (c *Client) ListAllCustomsItems() ([]*models.CustomsItem, error) + func (c *Client) ListAllManifests() ([]*models.Manifest, error) + func (c *Client) ListAllParcels() ([]*models.Parcel, error) + func (c *Client) ListAllRefunds() ([]*models.Refund, error) + func (c *Client) ListAllShipments() ([]*models.Shipment, error) + func (c *Client) ListAllTransactions() ([]*models.Transaction, error) + func (c *Client) PurchaseBatch(objectID string) (*models.Batch, error) + func (c *Client) PurchaseShippingLabel(input *models.TransactionInput) (*models.Transaction, error) + func (c *Client) RegisterTrackingWebhook(carrier, trackingNumber, metadata string) (*models.TrackingStatus, error) + func (c *Client) RemoveBatchShipmentsFromBatch(objectID string, batchShipmentIDs []string) (*models.Batch, error) + func (c *Client) RetrieveAddress(objectID string) (*models.Address, error) + func (c *Client) RetrieveBatch(objectID string, page uint, objectResultsFilter string) (*models.Batch, error) + func (c *Client) RetrieveCarrierAccount(objectID string) (*models.CarrierAccount, error) + func (c *Client) RetrieveCustomsDeclaration(objectID string) (*models.CustomsDeclaration, error) + func (c *Client) RetrieveCustomsItem(objectID string) (*models.CustomsItem, error) + func (c *Client) RetrieveManifest(objectID string) (*models.Manifest, error) + func (c *Client) RetrieveParcel(objectID string) (*models.Parcel, error) + func (c *Client) RetrieveRate(objectID string) (*models.Rate, error) + func (c *Client) RetrieveRefund(objectID string) (*models.Refund, error) + func (c *Client) RetrieveShipment(objectID string) (*models.Shipment, error) + func (c *Client) RetrieveTransaction(objectID string) (*models.Transaction, error) + func (c *Client) SetTraceLogger(logger *log.Logger) *log.Logger + func (c *Client) UpdateCarrierAccount(objectID string, input *models.CarrierAccountInput) (*models.CarrierAccount, error)