Versions in this module Expand all Collapse all v3 v3.2.0 Oct 11, 2023 Changes in this version + var NoUserFoundForId = "No user found for the given ID" type Client + func (c *Client) GetAPIKeysForUser(userID string) (out *APIKeys, err error) + func (c *Client) GetAPIKeysForUserWithContext(ctx context.Context, userID string) (out *APIKeys, err error) v3.1.0 Sep 29, 2023 Changes in this version type ShipmentOptions + CommercialInvoiceLetterhead string + CommercialInvoiceSignature string v3.0.1 Sep 5, 2023 v3.0.0 Aug 16, 2023 Changes in this version + const Version + var ApiDidNotReturnErrorDetails = "API did not return error details" + var ApiErrorDetailsParsingError = "RESPONSE.PARSE_ERROR" + var EndOfPaginationError = &LocalError + var InvalidParameter = "Invalid parameter: " + var JsonDeserializationErrorMessage = "Error deserializing JSON into object of type " + var JsonNoDataErrorMessage = "No data was provided to serialize" + var JsonSerializationErrorMessage = "Error serializing object of type " + var MismatchWebhookSignature = "Webhook received did not originate from EasyPost or had a webhook secret mismatch" + var MismatchWebhookSignatureError = &LocalError + var MissingProperty = "Missing property: " + var MissingRequiredParameter = "Missing required parameter: " + var MissingWebhookSignature = "Webhook does not contain a valid HMAC signature." + var MissingWebhookSignatureError = &LocalError + var NoMatchingPaymentMethod = "No matching payment method type found" + var NoPagesLeftToRetrieve = "There are no more pages to retrieve" + var NoPaymentMethods = "No payment methods are set up. Please add a payment method and try again." + var NoRatesFoundMatchingFilters = "No rates found matching the given filters" + var PaymentMethodNotSetUp = "The chosen payment method is not set up yet" + func BoolPtr(b bool) *bool + func BuildErrorFromResponse(response *http.Response) error + func StringPtr(s string) *string + func UnmarshalJSONObject(data []byte) (interface{}, error) + type APIError struct + Code string + Errors []*Error + StatusCode int + func (e *APIError) Error() string + type APIKey struct + CreatedAt *DateTime + Key string + Mode string + Object string + type APIKeys struct + Children []*APIKeys + ID string + Keys []*APIKey + type Address struct + CarrierFacility string + City string + Company string + Country string + CreatedAt *DateTime + Email string + FederalTaxID string + ID string + Mode string + Name string + Object string + Phone string + Reference string + Residential bool + State string + StateTaxID string + Street1 string + Street2 string + UpdatedAt *DateTime + Verifications *AddressVerifications + Zip string + type AddressVerification struct + Details *AddressVerificationDetails + Errors []*AddressVerificationFieldError + Success bool + type AddressVerificationDetails struct + Latitude float64 + Longitude float64 + TimeZone string + type AddressVerificationFieldError struct + Code string + Field string + Message string + Suggestion string + type AddressVerifications struct + Delivery *AddressVerification + ZIP4 *AddressVerification + type AddressVerifyResponse struct + Address *Address + type BadRequestError struct + type Batch struct + CreatedAt *DateTime + ID string + LabelURL string + Mode string + NumShipments int + Object string + Pickup *Pickup + Reference string + ScanForm *ScanForm + Shipments []*Shipment + State string + Status *BatchStatus + UpdatedAt *DateTime + type BatchStatus struct + CreationFailed int + PostagePurchaseFailed int + PostagePurchased int + QueuedForPurchase int + type BetaPaymentRefund struct + Errors []APIError + PaymentLogId string + RefundedAmount int + RefundedPaymentLogs []string + type Brand struct + Ad string + AdHref string + BackgroundColor string + Color string + ID string + Logo string + LogoHref string + Name string + Theme string + UserID string + type CarbonOffset struct + Currency string + Grams int64 + Object string + Price string + type CarrierAccount struct + BillingType string + Clone bool + CreatedAt *DateTime + Credentials map[string]string + Description string + Fields *CarrierFields + ID string + Object string + Readable string + Reference string + RegistrationData map[string]interface{} + TestCredentials map[string]string + Type string + UpdatedAt *DateTime + type CarrierField struct + Label string + Value string + Visibility string + type CarrierFields struct + AutoLink bool + Credentials map[string]*CarrierField + CustomWorkflow bool + TestCredentials map[string]*CarrierField + type CarrierMessage struct + Carrier string + CarrierAccountID string + Message string + Type string + type CarrierMetadata struct + HumanReadable string + Name string + PredefinedPackages []*MetadataPredefinedPackage + ServiceLevels []*MetadataServiceLevel + ShipmentOptions []*MetadataShipmentOption + SupportedFeatures []*MetadataSupportedFeature + type CarrierType struct + Fields *CarrierFields + Object string + Type string + type Client struct + APIKey string + BaseURL *url.URL + Client *http.Client + Hooks Hooks + MockRequests []MockRequest + Timeout int + UserAgent string + func New(apiKey string) *Client + func (c *Client) AddReferralCustomerCreditCard(referralCustomerApiKey string, creditCardOptions *CreditCardOptions, ...) (out *PaymentMethodObject, err error) + func (c *Client) AddReferralCustomerCreditCardWithContext(ctx context.Context, referralCustomerApiKey string, ...) (out *PaymentMethodObject, err error) + func (c *Client) AddShipmentsToBatch(batchID string, shipments ...*Shipment) (out *Batch, err error) + func (c *Client) AddShipmentsToBatchWithContext(ctx context.Context, batchID string, shipments ...*Shipment) (out *Batch, err error) + func (c *Client) BetaAddPaymentMethod(stripeCustomerId string, paymentMethodReference string, ...) (out *PaymentMethodObject, err error) + func (c *Client) BetaAddPaymentMethodWithContext(ctx context.Context, stripeCustomerId string, paymentMethodReference string, ...) (out *PaymentMethodObject, err error) + func (c *Client) BetaGetStatelessRates(in *Shipment) (out []*StatelessRate, err error) + func (c *Client) BetaGetStatelessRatesWithContext(ctx context.Context, in *Shipment) (out []*StatelessRate, err error) + func (c *Client) BetaRefundByAmount(refundAmount int) (out *BetaPaymentRefund, err error) + func (c *Client) BetaRefundByAmountWithContext(ctx context.Context, refundAmount int) (out *BetaPaymentRefund, err error) + func (c *Client) BetaRefundByPaymentLog(paymentLogId string) (out *BetaPaymentRefund, err error) + func (c *Client) BetaRefundByPaymentLogWithContext(ctx context.Context, paymentLogId string) (out *BetaPaymentRefund, err error) + func (c *Client) BuyBatch(batchID string) (out *Batch, err error) + func (c *Client) BuyBatchWithContext(ctx context.Context, batchID string) (out *Batch, err error) + func (c *Client) BuyOrder(orderID, carrier, service string) (out *Order, err error) + func (c *Client) BuyOrderWithContext(ctx context.Context, orderID, carrier, service string) (out *Order, err error) + func (c *Client) BuyPickup(pickupID string, rate *PickupRate) (out *Pickup, err error) + func (c *Client) BuyPickupWithContext(ctx context.Context, pickupID string, rate *PickupRate) (out *Pickup, err error) + func (c *Client) BuyShipment(shipmentID string, rate *Rate, insurance string) (out *Shipment, err error) + func (c *Client) BuyShipmentWithCarbonOffset(shipmentID string, rate *Rate, insurance string) (out *Shipment, err error) + func (c *Client) BuyShipmentWithCarbonOffsetAndEndShipper(shipmentID string, rate *Rate, insurance string, endShipperID string) (out *Shipment, err error) + func (c *Client) BuyShipmentWithCarbonOffsetAndEndShipperWithContext(ctx context.Context, shipmentID string, rate *Rate, insurance string, ...) (out *Shipment, err error) + func (c *Client) BuyShipmentWithCarbonOffsetWithContext(ctx context.Context, shipmentID string, rate *Rate, insurance string) (out *Shipment, err error) + func (c *Client) BuyShipmentWithContext(ctx context.Context, shipmentID string, rate *Rate, insurance string) (out *Shipment, err error) + func (c *Client) BuyShipmentWithEndShipper(shipmentID string, rate *Rate, insurance string, endShipperID string) (out *Shipment, err error) + func (c *Client) BuyShipmentWithEndShipperWithContext(ctx context.Context, shipmentID string, rate *Rate, insurance string, ...) (out *Shipment, err error) + func (c *Client) CancelPickup(pickupID string) (out *Pickup, err error) + func (c *Client) CancelPickupWithContext(ctx context.Context, pickupID string) (out *Pickup, err error) + func (c *Client) CreateAddress(in *Address, opts *CreateAddressOptions) (out *Address, err error) + func (c *Client) CreateAddressWithContext(ctx context.Context, in *Address, opts *CreateAddressOptions) (out *Address, err error) + func (c *Client) CreateAndBuyBatch(in ...*Shipment) (out *Batch, err error) + func (c *Client) CreateAndBuyBatchWithContext(ctx context.Context, in ...*Shipment) (out *Batch, err error) + func (c *Client) CreateAndVerifyAddress(in *Address, opts *CreateAddressOptions) (out *Address, err error) + func (c *Client) CreateAndVerifyAddressWithContext(ctx context.Context, in *Address, opts *CreateAddressOptions) (out *Address, err error) + func (c *Client) CreateBatch(in ...*Shipment) (out *Batch, err error) + func (c *Client) CreateBatchScanForms(batchID, format string) (out *Batch, err error) + func (c *Client) CreateBatchScanFormsWithContext(ctx context.Context, batchID, format string) (out *Batch, err error) + func (c *Client) CreateBatchWithContext(ctx context.Context, in ...*Shipment) (out *Batch, err error) + func (c *Client) CreateCarrierAccount(in *CarrierAccount) (out *CarrierAccount, err error) + func (c *Client) CreateCarrierAccountWithContext(ctx context.Context, in *CarrierAccount) (out *CarrierAccount, err error) + func (c *Client) CreateCustomsInfo(in *CustomsInfo) (out *CustomsInfo, err error) + func (c *Client) CreateCustomsInfoWithContext(ctx context.Context, in *CustomsInfo) (out *CustomsInfo, err error) + func (c *Client) CreateCustomsItem(in *CustomsItem) (out *CustomsItem, err error) + func (c *Client) CreateCustomsItemWithContext(ctx context.Context, in *CustomsItem) (out *CustomsItem, err error) + func (c *Client) CreateEndShipper(in *Address) (out *Address, err error) + func (c *Client) CreateEndShipperWithContext(ctx context.Context, in *Address) (out *Address, err error) + func (c *Client) CreateInsurance(in *Insurance) (out *Insurance, err error) + func (c *Client) CreateInsuranceWithContext(ctx context.Context, in *Insurance) (out *Insurance, err error) + func (c *Client) CreateOrder(in *Order, accounts ...*CarrierAccount) (out *Order, err error) + func (c *Client) CreateOrderWithContext(ctx context.Context, in *Order, accounts ...*CarrierAccount) (out *Order, err error) + func (c *Client) CreateParcel(in *Parcel) (out *Parcel, err error) + func (c *Client) CreateParcelWithContext(ctx context.Context, in *Parcel) (out *Parcel, err error) + func (c *Client) CreatePickup(in *Pickup) (out *Pickup, err error) + func (c *Client) CreatePickupWithContext(ctx context.Context, in *Pickup) (out *Pickup, err error) + func (c *Client) CreateReferralCustomer(in *UserOptions) (out *ReferralCustomer, err error) + func (c *Client) CreateReferralCustomerWithContext(ctx context.Context, in *UserOptions) (out *ReferralCustomer, err error) + func (c *Client) CreateRefund(in map[string]interface{}) (out []*Refund, err error) + func (c *Client) CreateRefundWithContext(ctx context.Context, in map[string]interface{}) (out []*Refund, err error) + func (c *Client) CreateReport(typ string, in *Report) (out *Report, err error) + func (c *Client) CreateReportWithContext(ctx context.Context, typ string, in *Report) (out *Report, err error) + func (c *Client) CreateScanForm(shipmentIDs ...string) (out *ScanForm, err error) + func (c *Client) CreateScanFormWithContext(ctx context.Context, shipmentIDs ...string) (out *ScanForm, err error) + func (c *Client) CreateShipment(in *Shipment) (out *Shipment, err error) + func (c *Client) CreateShipmentWithCarbonOffset(in *Shipment) (out *Shipment, err error) + func (c *Client) CreateShipmentWithCarbonOffsetWithContext(ctx context.Context, in *Shipment) (out *Shipment, err error) + func (c *Client) CreateShipmentWithContext(ctx context.Context, in *Shipment) (out *Shipment, err error) + func (c *Client) CreateTracker(opts *CreateTrackerOptions) (out *Tracker, err error) + func (c *Client) CreateTrackerList(param map[string]interface{}) (bool, error) + func (c *Client) CreateTrackerListWithContext(ctx context.Context, param map[string]interface{}) (bool, error) + func (c *Client) CreateTrackerWithContext(ctx context.Context, opts *CreateTrackerOptions) (out *Tracker, err error) + func (c *Client) CreateUser(in *UserOptions) (out *User, err error) + func (c *Client) CreateUserWithContext(ctx context.Context, in *UserOptions) (out *User, err error) + func (c *Client) CreateWebhookWithDetails(data *CreateUpdateWebhookOptions) (out *Webhook, err error) + func (c *Client) CreateWebhookWithDetailsWithContext(ctx context.Context, data *CreateUpdateWebhookOptions) (out *Webhook, err error) + func (c *Client) DeleteCarrierAccount(carrierAccountID string) error + func (c *Client) DeleteCarrierAccountWithContext(ctx context.Context, carrierAccountID string) error + func (c *Client) DeletePaymentMethod(priority PaymentMethodPriority) (err error) + func (c *Client) DeletePaymentMethodWithContext(ctx context.Context, priority PaymentMethodPriority) (err error) + func (c *Client) DeleteUser(userID string) error + func (c *Client) DeleteUserWithContext(ctx context.Context, userID string) error + func (c *Client) DeleteWebhook(webhookID string) error + func (c *Client) DeleteWebhookWithContext(ctx context.Context, webhookID string) error + func (c *Client) FundWallet(amount string, priority PaymentMethodPriority) (err error) + func (c *Client) FundWalletWithContext(ctx context.Context, amount string, priority PaymentMethodPriority) (err error) + func (c *Client) GenerateShipmentForm(shipmentID string, formType string) (out *Shipment, err error) + func (c *Client) GenerateShipmentFormWithContext(ctx context.Context, shipmentID string, formType string) (out *Shipment, err error) + func (c *Client) GenerateShipmentFormWithOptions(shipmentID string, formType string, formOptions map[string]interface{}) (out *Shipment, err error) + func (c *Client) GenerateShipmentFormWithOptionsWithContext(ctx context.Context, shipmentID string, formType string, ...) (out *Shipment, err error) + func (c *Client) GetAPIKeys() (out *APIKeys, err error) + func (c *Client) GetAPIKeysWithContext(ctx context.Context) (out *APIKeys, err error) + func (c *Client) GetAddress(addressID string) (out *Address, err error) + func (c *Client) GetAddressWithContext(ctx context.Context, addressID string) (out *Address, err error) + func (c *Client) GetBatch(batchID string) (out *Batch, err error) + func (c *Client) GetBatchLabels(batchID, format string) (out *Batch, err error) + func (c *Client) GetBatchLabelsWithContext(ctx context.Context, batchID, format string) (out *Batch, err error) + func (c *Client) GetBatchWithContext(ctx context.Context, batchID string) (out *Batch, err error) + func (c *Client) GetCarrierAccount(carrierAccountID string) (out *CarrierAccount, err error) + func (c *Client) GetCarrierAccountWithContext(ctx context.Context, carrierAccountID string) (out *CarrierAccount, err error) + func (c *Client) GetCarrierMetadata() (out []*CarrierMetadata, err error) + func (c *Client) GetCarrierMetadataWithCarriers(carriers []string) (out []*CarrierMetadata, err error) + func (c *Client) GetCarrierMetadataWithCarriersAndTypes(carriers []string, types []string) (out []*CarrierMetadata, err error) + func (c *Client) GetCarrierMetadataWithContext(ctx context.Context, carriers []string, types []string) (out []*CarrierMetadata, err error) + func (c *Client) GetCarrierMetadataWithTypes(types []string) (out []*CarrierMetadata, err error) + func (c *Client) GetCarrierTypes() (out []*CarrierType, err error) + func (c *Client) GetCarrierTypesWithContext(ctx context.Context) (out []*CarrierType, err error) + func (c *Client) GetCustomsInfo(customsInfoID string) (out *CustomsInfo, err error) + func (c *Client) GetCustomsInfoWithContext(ctx context.Context, customsInfoID string) (out *CustomsInfo, err error) + func (c *Client) GetCustomsItem(customsItemID string) (out *CustomsItem, err error) + func (c *Client) GetCustomsItemWithContext(ctx context.Context, customsItemID string) (out *CustomsItem, err error) + func (c *Client) GetEndShipper(endshipperID string) (out *Address, err error) + func (c *Client) GetEndShipperWithContext(ctx context.Context, endshipperID string) (out *Address, err error) + func (c *Client) GetEvent(eventID string) (out *Event, err error) + func (c *Client) GetEventPayload(eventID, payloadID string) (out *EventPayload, err error) + func (c *Client) GetEventPayloadWithContext(ctx context.Context, eventID, payloadID string) (out *EventPayload, err error) + func (c *Client) GetEventWithContext(ctx context.Context, eventID string) (out *Event, err error) + func (c *Client) GetInsurance(insuranceID string) (out *Insurance, err error) + func (c *Client) GetInsuranceWithContext(ctx context.Context, insuranceID string) (out *Insurance, err error) + func (c *Client) GetNextAddressPage(collection *ListAddressResult) (out *ListAddressResult, err error) + func (c *Client) GetNextAddressPageWithContext(ctx context.Context, collection *ListAddressResult) (out *ListAddressResult, err error) + func (c *Client) GetNextAddressPageWithPageSize(collection *ListAddressResult, pageSize int) (out *ListAddressResult, err error) + func (c *Client) GetNextAddressPageWithPageSizeWithContext(ctx context.Context, collection *ListAddressResult, pageSize int) (out *ListAddressResult, err error) + func (c *Client) GetNextEventPage(collection *ListEventsResult) (out *ListEventsResult, err error) + func (c *Client) GetNextEventPageWithContext(ctx context.Context, collection *ListEventsResult) (out *ListEventsResult, err error) + func (c *Client) GetNextEventPageWithPageSize(collection *ListEventsResult, pageSize int) (out *ListEventsResult, err error) + func (c *Client) GetNextEventPageWithPageSizeWithContext(ctx context.Context, collection *ListEventsResult, pageSize int) (out *ListEventsResult, err error) + func (c *Client) GetNextInsurancePage(collection *ListInsurancesResult) (out *ListInsurancesResult, err error) + func (c *Client) GetNextInsurancePageWithContext(ctx context.Context, collection *ListInsurancesResult) (out *ListInsurancesResult, err error) + func (c *Client) GetNextInsurancePageWithPageSize(collection *ListInsurancesResult, pageSize int) (out *ListInsurancesResult, err error) + func (c *Client) GetNextInsurancePageWithPageSizeWithContext(ctx context.Context, collection *ListInsurancesResult, pageSize int) (out *ListInsurancesResult, err error) + func (c *Client) GetNextPickupPage(collection *ListPickupResult) (out *ListPickupResult, err error) + func (c *Client) GetNextPickupPageWithContext(ctx context.Context, collection *ListPickupResult) (out *ListPickupResult, err error) + func (c *Client) GetNextPickupPageWithPageSize(collection *ListPickupResult, pageSize int) (out *ListPickupResult, err error) + func (c *Client) GetNextPickupPageWithPageSizeWithContext(ctx context.Context, collection *ListPickupResult, pageSize int) (out *ListPickupResult, err error) + func (c *Client) GetNextReferralCustomerPage(collection *ListReferralCustomersResult) (out *ListReferralCustomersResult, err error) + func (c *Client) GetNextReferralCustomerPageWithContext(ctx context.Context, collection *ListReferralCustomersResult) (out *ListReferralCustomersResult, err error) + func (c *Client) GetNextReferralCustomerPageWithPageSize(collection *ListReferralCustomersResult, pageSize int) (out *ListReferralCustomersResult, err error) + func (c *Client) GetNextReferralCustomerPageWithPageSizeWithContext(ctx context.Context, collection *ListReferralCustomersResult, pageSize int) (out *ListReferralCustomersResult, err error) + func (c *Client) GetNextRefundPage(collection *ListRefundResult) (out *ListRefundResult, err error) + func (c *Client) GetNextRefundPageWithContext(ctx context.Context, collection *ListRefundResult) (out *ListRefundResult, err error) + func (c *Client) GetNextRefundPageWithPageSize(collection *ListRefundResult, pageSize int) (out *ListRefundResult, err error) + func (c *Client) GetNextRefundPageWithPageSizeWithContext(ctx context.Context, collection *ListRefundResult, pageSize int) (out *ListRefundResult, err error) + func (c *Client) GetNextReportPage(collection *ListReportsResult) (out *ListReportsResult, err error) + func (c *Client) GetNextReportPageWithContext(ctx context.Context, collection *ListReportsResult) (out *ListReportsResult, err error) + func (c *Client) GetNextReportPageWithPageSize(collection *ListReportsResult, pageSize int) (out *ListReportsResult, err error) + func (c *Client) GetNextReportPageWithPageSizeWithContext(ctx context.Context, collection *ListReportsResult, pageSize int) (out *ListReportsResult, err error) + func (c *Client) GetNextScanFormPage(collection *ListScanFormsResult) (out *ListScanFormsResult, err error) + func (c *Client) GetNextScanFormPageWithContext(ctx context.Context, collection *ListScanFormsResult) (out *ListScanFormsResult, err error) + func (c *Client) GetNextScanFormPageWithPageSize(collection *ListScanFormsResult, pageSize int) (out *ListScanFormsResult, err error) + func (c *Client) GetNextScanFormPageWithPageSizeWithContext(ctx context.Context, collection *ListScanFormsResult, pageSize int) (out *ListScanFormsResult, err error) + func (c *Client) GetNextShipmentPage(collection *ListShipmentsResult) (out *ListShipmentsResult, err error) + func (c *Client) GetNextShipmentPageWithContext(ctx context.Context, collection *ListShipmentsResult) (out *ListShipmentsResult, err error) + func (c *Client) GetNextShipmentPageWithPageSize(collection *ListShipmentsResult, pageSize int) (out *ListShipmentsResult, err error) + func (c *Client) GetNextShipmentPageWithPageSizeWithContext(ctx context.Context, collection *ListShipmentsResult, pageSize int) (out *ListShipmentsResult, err error) + func (c *Client) GetNextTrackerPage(collection *ListTrackersResult) (out *ListTrackersResult, err error) + func (c *Client) GetNextTrackerPageWithContext(ctx context.Context, collection *ListTrackersResult) (out *ListTrackersResult, err error) + func (c *Client) GetNextTrackerPageWithPageSize(collection *ListTrackersResult, pageSize int) (out *ListTrackersResult, err error) + func (c *Client) GetNextTrackerPageWithPageSizeWithContext(ctx context.Context, collection *ListTrackersResult, pageSize int) (out *ListTrackersResult, err error) + func (c *Client) GetOrder(orderID string) (out *Order, err error) + func (c *Client) GetOrderRates(orderID string) (out *Order, err error) + func (c *Client) GetOrderRatesWithContext(ctx context.Context, orderID string) (out *Order, err error) + func (c *Client) GetOrderWithContext(ctx context.Context, orderID string) (out *Order, err error) + func (c *Client) GetParcel(parcelID string) (out *Parcel, err error) + func (c *Client) GetParcelWithContext(ctx context.Context, parcelID string) (out *Parcel, err error) + func (c *Client) GetPaymentEndpointByPrimaryOrSecondary(primaryOrSecondary PaymentMethodPriority) (out string) + func (c *Client) GetPickup(pickupID string) (out *Pickup, err error) + func (c *Client) GetPickupWithContext(ctx context.Context, pickupID string) (out *Pickup, err error) + func (c *Client) GetRate(rateID string) (out *Rate, err error) + func (c *Client) GetRateWithContext(ctx context.Context, rateID string) (out *Rate, err error) + func (c *Client) GetRefund(refundID string) (out *Refund, err error) + func (c *Client) GetRefundWithContext(ctx context.Context, refundID string) (out *Refund, err error) + func (c *Client) GetReport(typ, reportID string) (out *Report, err error) + func (c *Client) GetReportWithContext(ctx context.Context, typ, reportID string) (out *Report, err error) + func (c *Client) GetScanForm(scanFormID string) (out *ScanForm, err error) + func (c *Client) GetScanFormWithContext(ctx context.Context, scanFormID string) (out *ScanForm, err error) + func (c *Client) GetShipment(shipmentID string) (out *Shipment, err error) + func (c *Client) GetShipmentEstimatedDeliveryDate(shipmentID, plannedShipDate string) (out []*EstimatedDeliveryDate, err error) + func (c *Client) GetShipmentEstimatedDeliveryDateWithContext(ctx context.Context, shipmentID string, plannedShipDate string) (out []*EstimatedDeliveryDate, err error) + func (c *Client) GetShipmentLabel(shipmentID, format string) (out *Shipment, err error) + func (c *Client) GetShipmentLabelWithContext(ctx context.Context, shipmentID, format string) (out *Shipment, err error) + func (c *Client) GetShipmentSmartrates(shipmentID string) (out []*SmartRate, err error) + func (c *Client) GetShipmentSmartratesWithContext(ctx context.Context, shipmentID string) (out []*SmartRate, err error) + func (c *Client) GetShipmentWithContext(ctx context.Context, shipmentID string) (out *Shipment, err error) + func (c *Client) GetTracker(trackerID string) (out *Tracker, err error) + func (c *Client) GetTrackerWithContext(ctx context.Context, trackerID string) (out *Tracker, err error) + func (c *Client) GetUser(userID string) (out *User, err error) + func (c *Client) GetUserWithContext(ctx context.Context, userID string) (out *User, err error) + func (c *Client) GetWebhook(webhookID string) (out *Webhook, err error) + func (c *Client) GetWebhookWithContext(ctx context.Context, webhookID string) (out *Webhook, err error) + func (c *Client) InsureShipment(shipmentID, amount string) (out *Shipment, err error) + func (c *Client) InsureShipmentWithContext(ctx context.Context, shipmentID, amount string) (out *Shipment, err error) + func (c *Client) ListAddresses(opts *ListOptions) (out *ListAddressResult, err error) + func (c *Client) ListAddressesWithContext(ctx context.Context, opts *ListOptions) (out *ListAddressResult, err error) + func (c *Client) ListBatches(opts *ListOptions) (out *ListBatchesResult, err error) + func (c *Client) ListBatchesWithContext(ctx context.Context, opts *ListOptions) (out *ListBatchesResult, err error) + func (c *Client) ListCarrierAccounts() (out []*CarrierAccount, err error) + func (c *Client) ListCarrierAccountsWithContext(ctx context.Context) (out []*CarrierAccount, err error) + func (c *Client) ListEndShippers(opts *ListOptions) (out *ListEndShipperResult, err error) + func (c *Client) ListEndShippersWithContext(ctx context.Context, opts *ListOptions) (out *ListEndShipperResult, err error) + func (c *Client) ListEventPayloads(eventID string) (out []*EventPayload, err error) + func (c *Client) ListEventPayloadsWithContext(ctx context.Context, eventID string) (out []*EventPayload, err error) + func (c *Client) ListEvents(opts *ListOptions) (out *ListEventsResult, err error) + func (c *Client) ListEventsWithContext(ctx context.Context, opts *ListOptions) (out *ListEventsResult, err error) + func (c *Client) ListInsurances(opts *ListOptions) (out *ListInsurancesResult, err error) + func (c *Client) ListInsurancesWithContext(ctx context.Context, opts *ListOptions) (out *ListInsurancesResult, err error) + func (c *Client) ListPickups(opts *ListOptions) (out *ListPickupResult, err error) + func (c *Client) ListPickupsWithContext(ctx context.Context, opts *ListOptions) (out *ListPickupResult, err error) + func (c *Client) ListReferralCustomers(opts *ListOptions) (out *ListReferralCustomersResult, err error) + func (c *Client) ListReferralCustomersWithContext(ctx context.Context, opts *ListOptions) (out *ListReferralCustomersResult, err error) + func (c *Client) ListRefunds(opts *ListOptions) (out *ListRefundResult, err error) + func (c *Client) ListRefundsWithContext(ctx context.Context, opts *ListOptions) (out *ListRefundResult, err error) + func (c *Client) ListReports(typ string, opts *ListOptions) (out *ListReportsResult, err error) + func (c *Client) ListReportsWithContext(ctx context.Context, typ string, opts *ListOptions) (out *ListReportsResult, err error) + func (c *Client) ListScanForms(opts *ListOptions) (out *ListScanFormsResult, err error) + func (c *Client) ListScanFormsWithContext(ctx context.Context, opts *ListOptions) (out *ListScanFormsResult, err error) + func (c *Client) ListShipments(opts *ListShipmentsOptions) (out *ListShipmentsResult, err error) + func (c *Client) ListShipmentsWithContext(ctx context.Context, opts *ListShipmentsOptions) (out *ListShipmentsResult, err error) + func (c *Client) ListTrackers(opts *ListTrackersOptions) (out *ListTrackersResult, err error) + func (c *Client) ListTrackersWithContext(ctx context.Context, opts *ListTrackersOptions) (out *ListTrackersResult, err error) + func (c *Client) ListWebhooks() (out []*Webhook, err error) + func (c *Client) ListWebhooksWithContext(ctx context.Context) (out []*Webhook, err error) + func (c *Client) LowestOrderRate(order *Order) (out Rate, err error) + func (c *Client) LowestOrderRateWithCarrier(order *Order, carriers []string) (out Rate, err error) + func (c *Client) LowestOrderRateWithCarrierAndService(order *Order, carriers []string, services []string) (out Rate, err error) + func (c *Client) LowestPickupRate(pickup *Pickup) (out PickupRate, err error) + func (c *Client) LowestPickupRateWithCarrier(pickup *Pickup, carriers []string) (out PickupRate, err error) + func (c *Client) LowestPickupRateWithCarrierAndService(pickup *Pickup, carriers []string, services []string) (out PickupRate, err error) + func (c *Client) LowestShipmentRate(shipment *Shipment) (out Rate, err error) + func (c *Client) LowestShipmentRateWithCarrier(shipment *Shipment, carriers []string) (out Rate, err error) + func (c *Client) LowestShipmentRateWithCarrierAndService(shipment *Shipment, carriers []string, services []string) (out Rate, err error) + func (c *Client) LowestSmartrate(shipment *Shipment, deliveryDays int, deliveryAccuracy string) (out SmartRate, err error) + func (c *Client) LowestStatelessRate(rates []*StatelessRate) (out StatelessRate, err error) + func (c *Client) LowestStatelessRateWithCarrier(rates []*StatelessRate, carriers []string) (out StatelessRate, err error) + func (c *Client) LowestStatelessRateWithCarrierAndService(rates []*StatelessRate, carriers []string, services []string) (out StatelessRate, err error) + func (c *Client) RefundShipment(shipmentID string) (out *Shipment, err error) + func (c *Client) RefundShipmentWithContext(ctx context.Context, shipmentID string) (out *Shipment, err error) + func (c *Client) RemoveShipmentsFromBatch(batchID string, shipments ...*Shipment) (out *Batch, err error) + func (c *Client) RemoveShipmentsFromBatchWithContext(ctx context.Context, batchID string, shipments ...*Shipment) (out *Batch, err error) + func (c *Client) RerateShipment(shipmentID string) (out []*Rate, err error) + func (c *Client) RerateShipmentWithCarbonOffset(shipmentID string) (out []*Rate, err error) + func (c *Client) RerateShipmentWithCarbonOffsetWithContext(ctx context.Context, shipmentID string) (out []*Rate, err error) + func (c *Client) RerateShipmentWithContext(ctx context.Context, shipmentID string) (out []*Rate, err error) + func (c *Client) RetrieveMe() (out *User, err error) + func (c *Client) RetrieveMeWithContext(ctx context.Context) (out *User, err error) + func (c *Client) RetrievePaymentMethods() (out *PaymentMethod, err error) + func (c *Client) RetrievePaymentMethodsWithContext(ctx context.Context) (out *PaymentMethod, err error) + func (c *Client) UpdateBrand(params map[string]interface{}, userID string) (out *Brand, err error) + func (c *Client) UpdateBrandWithContext(ctx context.Context, params map[string]interface{}, userID string) (out *Brand, err error) + func (c *Client) UpdateCarrierAccount(in *CarrierAccount) (out *CarrierAccount, err error) + func (c *Client) UpdateCarrierAccountWithContext(ctx context.Context, in *CarrierAccount) (out *CarrierAccount, err error) + func (c *Client) UpdateEndShippers(in *Address) (out *Address, err error) + func (c *Client) UpdateEndShippersWithContext(ctx context.Context, in *Address) (out *Address, err error) + func (c *Client) UpdateReferralCustomerEmail(userId string, email string) (out *ReferralCustomer, err error) + func (c *Client) UpdateReferralCustomerEmailWithContext(ctx context.Context, userId string, email string) (out *ReferralCustomer, err error) + func (c *Client) UpdateUser(in *UserOptions) (out *User, err error) + func (c *Client) UpdateUserWithContext(ctx context.Context, in *UserOptions) (out *User, err error) + func (c *Client) UpdateWebhook(webhookID string, data *CreateUpdateWebhookOptions) (out *Webhook, err error) + func (c *Client) UpdateWebhookWithContext(ctx context.Context, webhookID string, data *CreateUpdateWebhookOptions) (out *Webhook, err error) + func (c *Client) ValidateWebhook(eventBody []byte, headers map[string]interface{}, webhookSecret string) (out *Event, err error) + func (c *Client) ValidateWebhookWithContext(ctx context.Context, eventBody []byte, headers map[string]interface{}, ...) (out *Event, err error) + func (c *Client) VerifyAddress(addressID string) (out *Address, err error) + func (c *Client) VerifyAddressWithContext(ctx context.Context, addressID string) (out *Address, err error) + type ConnectionError struct + type CreateAddressOptions struct + Verify []string + VerifyStrict []string + type CreateTrackerOptions struct + Amount string + Carrier string + CarrierAccount string + IsReturn bool + TrackingCode string + type CreateUpdateWebhookOptions struct + URL string + WebhookSecret string + type CreditCardOptions struct + Cvc string + ExpMonth string + ExpYear string + Number string + type CustomsInfo struct + ContentsExplanation string + ContentsType string + CreatedAt *DateTime + CustomsCertify bool + CustomsItems []*CustomsItem + CustomsSigner string + Declaration string + EELPFC string + ID string + NonDeliveryOption string + Object string + RestrictionType string + UpdatedAt *DateTime + type CustomsItem struct + Code string + CreatedAt *DateTime + Currency string + Description string + HSTariffNumber string + ID string + Object string + OriginCountry string + Quantity float64 + UpdatedAt *DateTime + Value float64 + Weight float64 + type DateTime time.Time + func DateTimeFromTime(t time.Time) DateTime + func NewDateTime(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) DateTime + func (dt *DateTime) UnmarshalJSON(b []byte) (err error) + func (dt DateTime) AsTime() time.Time + func (dt DateTime) MarshalJSON() ([]byte, error) + func (dt DateTime) String() string + type EasyPostTimeInTransitData struct + DaysInTransit TimeInTransit + EasyPostEstimatedDeliveryDate string + PlannedShipDate string + type Error struct + Code string + Errors []*Error + Field string + Message interface{} + Suggestion string + func (e *Error) Error() string + func (e *Error) UnmarshalJSON(data []byte) error + type EstimatedDeliveryDate struct + EasyPostTimeInTransitData EasyPostTimeInTransitData + Rate SmartRate + type Event struct + CompletedURLs []string + CreatedAt *DateTime + Description string + ID string + Mode string + Object string + PendingURLs []string + PreviousAttributes map[string]interface{} + Result interface{} + Status string + UpdatedAt *DateTime + UserID string + func (e *Event) UnmarshalJSON(data []byte) (err error) + type EventPayload struct + CreatedAt *DateTime + ID string + Object string + RequestBody interface{} + RequestHeaders map[string]string + RequestURL string + ResponseBody string + ResponseCode int + ResponseHeaders map[string]string + TotalTime int + UpdatedAt *DateTime + func (e *EventPayload) UnmarshalJSON(data []byte) (err error) + type ExternalApiError struct + type Fee struct + Amount string + Charged bool + Object string + Refunded bool + Type string + type FilteringError struct + type ForbiddenError struct + type Form struct + CreatedAt *DateTime + FormType string + FormURL string + ID string + Mode string + Object string + SubmittedElectronically bool + UpdatedAt *DateTime + type GatewayTimeoutError struct + type HookEvent struct + type HookEventSubscriber struct + ID string + type Hooks struct + RequestHookEventSubscriptions []RequestHookEventSubscriber + ResponseHookEventSubscriptions []ResponseHookEventSubscriber + func (h *Hooks) AddRequestEventSubscriber(subscriber RequestHookEventSubscriber) + func (h *Hooks) AddResponseEventSubscriber(subscriber ResponseHookEventSubscriber) + func (h *Hooks) RemoveRequestEventSubscriber(subscriber RequestHookEventSubscriber) + func (h *Hooks) RemoveResponseEventSubscriber(subscriber ResponseHookEventSubscriber) + type Insurance struct + Amount string + Carrier string + CreatedAt *DateTime + Fee *Fee + FromAddress *Address + ID string + Messages []string + Mode string + Object string + Provider string + ProviderID string + Reference string + ShipmentID string + Status string + ToAddress *Address + Tracker *Tracker + TrackingCode string + UpdatedAt *DateTime + type InternalServerError struct + type InvalidObjectError struct + type InvalidRequestError struct + type LibraryError struct + Message string + func (e *LibraryError) Error() string + type ListAddressResult struct + Addresses []*Address + type ListBatchesResult struct + Batch []*Batch + type ListEndShipperResult struct + EndShippers []*Address + HasMore bool + type ListEventsResult struct + Events []*Event + type ListInsurancesResult struct + Insurances []*Insurance + type ListOptions struct + AfterID string + BeforeID string + EndDateTime *DateTime + PageSize int + StartDateTime *DateTime + type ListPickupResult struct + Pickups []*Pickup + type ListReferralCustomersResult struct + ReferralCustomers []*ReferralCustomer + type ListRefundResult struct + Refunds []*Refund + type ListReportsResult struct + Reports []*Report + Type string + type ListScanFormsResult struct + ScanForms []*ScanForm + type ListShipmentsOptions struct + AfterID string + BeforeID string + EndDateTime *DateTime + IncludeChildren *bool + PageSize int + Purchased *bool + StartDateTime *DateTime + type ListShipmentsResult struct + IncludeChildren *bool + Purchased *bool + Shipments []*Shipment + type ListTrackersOptions struct + AfterID string + BeforeID string + Carrier string + EndDateTime *DateTime + PageSize int + StartDateTime *DateTime + TrackingCode string + type ListTrackersResult struct + Carrier string + Trackers []*Tracker + TrackingCode string + type ListTrackersUpdatedOptions struct + Page int + PageSize int + StatusEnd *DateTime + StatusStart *DateTime + TrackingDetailsEnd *DateTime + TrackingDetailsStart *DateTime + type LocalError struct + type MetadataPredefinedPackage struct + Carrier string + Description string + Dimensions []string + HumanReadable string + MaxWeight float64 + Name string + type MetadataServiceLevel struct + Carrier string + Description string + Dimensions []string + HumanReadable string + MaxWeight float64 + Name string + type MetadataShipmentOption struct + Carrier string + Deprecated bool + Description string + HumanReadable string + Name string + Type string + type MetadataSupportedFeature struct + Carrier string + Description string + Name string + Supported bool + type MethodNotAllowedError struct + type MinifiedRate struct + Carrier string + ID string + Rate string + Service string + type MissingPropertyError struct + type MockRequest struct + MatchRule MockRequestMatchRule + ResponseInfo MockRequestResponseInfo + type MockRequestMatchRule struct + Method string + UrlRegexPattern string + type MockRequestResponseInfo struct + Body string + StatusCode int + func (r *MockRequestResponseInfo) AsResponse() *http.Response + func (r *MockRequestResponseInfo) MockBody() io.ReadCloser + type NotFoundError struct + type Order struct + BuyerAddress *Address + CreatedAt *DateTime + CustomsInfo *CustomsInfo + FromAddress *Address + ID string + IsReturn bool + Messages []*CarrierMessage + Mode string + Object string + Rates []*Rate + Reference string + ReturnAddress *Address + Service string + Shipments []*Shipment + ToAddress *Address + UpdatedAt *DateTime + type PaginatedCollection struct + HasMore bool + type Parcel struct + CreatedAt *DateTime + Height float64 + ID string + Length float64 + Mode string + Object string + PredefinedPackage string + UpdatedAt *DateTime + Weight float64 + Width float64 + type Payment struct + Account string + Country string + PostalCode string + Type string + type PaymentError struct + type PaymentLog struct + Amount string + ChargeType string + CreatedAt *DateTime + Date string + ID string + Last4 string + Object string + SourceType string + Status string + TargetType string + UpdatedAt *DateTime + type PaymentMethod struct + ID string + Object string + PrimaryPaymentMethod *PaymentMethodObject + SecondaryPaymentMethod *PaymentMethodObject + type PaymentMethodObject struct + BankName string + Brand string + Country string + DisabledAt string + ExpirationMonth int + ExpirationYear int + ID string + Last4 string + Name string + Object string + Verified bool + type PaymentMethodPriority int64 + const PrimaryPaymentMethodPriority + const SecondaryPaymentMethodPriority + type PaymentMethodType int64 + const BankAccountPaymentType + const CreditCardPaymentType + type Pickup struct + Address *Address + Batch *Batch + CarrierAccounts []*CarrierAccount + Confirmation string + CreatedAt *DateTime + ID string + Instructions string + IsAccountAddress bool + MaxDatetime *DateTime + Messages []*CarrierMessage + MinDatetime *DateTime + Mode string + Object string + PickupRates []*PickupRate + Reference string + Shipment *Shipment + Status string + UpdatedAt *DateTime + type PickupRate struct + Carrier string + CreatedAt *DateTime + Currency string + ID string + Mode string + Object string + PickupID string + Rate string + Service string + UpdatedAt *DateTime + type PostageLabel struct + CreatedAt *DateTime + ID string + IntegratedForm string + LabelDate *DateTime + LabelEPL2URL string + LabelFileType string + LabelPDFURL string + LabelResolution float64 + LabelSize string + LabelType string + LabelURL string + LabelZPLURL string + Object string + UpdatedAt *DateTime + type ProxyError struct + type Rate struct + BillingType string + CarbonOffset *CarbonOffset + Carrier string + CarrierAccountID string + CreatedAt *DateTime + Currency string + DeliveryDate *DateTime + DeliveryDateGuaranteed bool + DeliveryDays int + EstDeliveryDays int + ID string + ListCurrency string + ListRate string + Mode string + Object string + Rate string + RetailCurrency string + RetailRate string + Service string + ShipmentID string + UpdatedAt *DateTime + type RateLimitError struct + type RedirectError struct + type ReferralCustomer struct + type Refund struct + Carrier string + ConfirmationNumber string + CreatedAt *DateTime + ID string + Object string + ShipmentID string + Status string + TrackingCode string + UpdatedAt *DateTime + type Report struct + AdditionalColumns []string + Columns []string + CreatedAt *DateTime + EndDate string + ID string + IncludeChildren bool + Mode string + Object string + SendEmail bool + StartDate string + Status string + URL string + URLExpiresAt *DateTime + UpdatedAt *DateTime + type RequestHookEvent struct + Headers map[string][]string + Id uuid.UUID + Method string + RequestBody io.ReadCloser + RequestTimestamp time.Time + Url *url.URL + type RequestHookEventSubscriber struct + Callback RequestHookEventSubscriberCallback + func (s RequestHookEventSubscriber) Execute(ctx context.Context, event RequestHookEvent) + type RequestHookEventSubscriberCallback func(ctx context.Context, event RequestHookEvent) error + type ResponseHookEvent struct + Headers map[string][]string + HttpStatus int + Id uuid.UUID + Method string + RequestTimestamp time.Time + ResponseBody io.ReadCloser + ResponseTimestamp time.Time + Url *url.URL + type ResponseHookEventSubscriber struct + Callback ResponseHookEventSubscriberCallback + func (s ResponseHookEventSubscriber) Execute(ctx context.Context, event ResponseHookEvent) + type ResponseHookEventSubscriberCallback func(ctx context.Context, event ResponseHookEvent) error + type RetryError struct + type SSLError struct + type ScanForm struct + Address *Address + BatchID string + CreatedAt *DateTime + FormFileType string + FormURL string + ID string + Message string + Object string + Status string + TrackingCodes []string + UpdatedAt *DateTime + type ServiceUnavailableError struct + type Shipment struct + BatchID string + BatchMessage string + BatchStatus string + BuyerAddress *Address + Carrier string + CarrierAccountIDs []string + CreatedAt *DateTime + CustomsInfo *CustomsInfo + Fees []*Fee + Forms []*Form + FromAddress *Address + ID string + Insurance string + IsReturn bool + Messages []*CarrierMessage + Mode string + Object string + Options *ShipmentOptions + Parcel *Parcel + PostageLabel *PostageLabel + Rates []*Rate + Reference string + RefundStatus string + ReturnAddress *Address + ScanForm *ScanForm + SelectedRate *Rate + Service string + Status string + TaxIdentifiers []*TaxIdentifier + ToAddress *Address + Tracker *Tracker + TrackingCode string + USPSZone int + UpdatedAt *DateTime + type ShipmentOptions struct + AdditionalHandling bool + AddressValidationLevel string + Alcohol bool + BillReceiverAccount string + BillReceiverPostalCode string + BillThirdPartyAccount string + BillThirdPartyCountry string + BillThirdPartyPostalCode string + BillingRef string + ByDrone bool + CODAddressID string + CODAmount string + CODMethod string + CarbonNeutral bool + CertifiedMail bool + Currency string + DeliveryConfirmation string + DeliveryMaxDatetime *DateTime + DropoffType string + DryIce bool + DryIceMedical bool + DryIceWeight float64 + DutyPayment *Payment + DutyPaymentAccount string + EndShipperID string + Endorsement string + FreightCharge float64 + HandlingInstructions string + Hazmat string + HoldForPickup bool + Incoterm string + InvoiceNumber string + LabelDate *DateTime + LabelFormat string + LabelSize string + Machinable bool + Payment *Payment + PickupMinDatetime *DateTime + PrintCustom1 string + PrintCustom1BarCode bool + PrintCustom1Code string + PrintCustom2 string + PrintCustom2BarCode bool + PrintCustom2Code string + PrintCustom3 string + PrintCustom3BarCode bool + PrintCustom3Code string + RegisteredMail bool + RegisteredMailAmount float64 + ReturnReceipt bool + SaturdayDelivery bool + SmartpostHub string + SmartpostManifest string + SpecialRatesEligibility string + SuppressETD bool + type SmartRate struct + BillingType string + Carrier string + CarrierAccountID string + CreatedAt *DateTime + Currency string + DeliveryDate *DateTime + DeliveryDateGuaranteed bool + DeliveryDays int + EstDeliveryDays int + ID string + ListCurrency string + ListRate float64 + Mode string + Object string + Rate float64 + RetailCurrency string + RetailRate float64 + Service string + ShipmentID string + TimeInTransit *TimeInTransit + UpdatedAt *DateTime + type StatelessRate struct + BillingType string + Carrier string + CarrierAccountID string + Currency string + DeliveryDate *DateTime + DeliveryDateGuaranteed bool + DeliveryDays int + EstDeliveryDays int + ListCurrency string + ListRate string + Mode string + Object string + Rate string + RetailCurrency string + RetailRate string + Service string + ShipmentID string + type TaxIdentifier struct + Entity string + IssuingCountry string + TaxId string + TaxIdType string + type TimeInTransit struct + Percentile50 int + Percentile75 int + Percentile85 int + Percentile90 int + Percentile95 int + Percentile97 int + Percentile99 int + type TimeoutError struct + type Tracker struct + Carrier string + CarrierDetail *TrackingCarrierDetail + CreatedAt *DateTime + EstDeliveryDate *DateTime + Fees []*Fee + Finalized bool + ID string + IsReturn bool + Mode string + Object string + PublicURL string + ShipmentID string + SignedBy string + Status string + StatusDetail string + TrackingCode string + TrackingDetails []*TrackingDetail + UpdatedAt *DateTime + Weight float64 + type TrackingCarrierDetail struct + AlternateIdentifier string + ContainerType string + DestinationLocation string + DestinationTrackingLocation *TrackingLocation + EstDeliveryDateLocal string + EstDeliveryTimeLocal string + GuaranteedDeliveryDate *DateTime + InitialDeliveryAttempt *DateTime + Object string + OriginLocation string + OriginTrackingLocation *TrackingLocation + Service string + type TrackingDetail struct + CarrierCode string + DateTime string + Description string + Message string + Object string + Source string + Status string + StatusDetail string + TrackingLocation *TrackingLocation + type TrackingLocation struct + City string + Country string + Object string + State string + Zip string + type UnauthorizedError struct + type UnknownHttpError struct + type User struct + APIKeys []*APIKey + Balance string + Children []*User + Email string + ID string + Name string + Object string + ParentID string + PhoneNumber string + RechargeAmount string + RechargeThreshold string + SecondaryRechargeAmount string + type UserOptions struct + CurrentPassword *string + Email *string + ID string + Name *string + Password *string + PasswordConfirmation *string + Phone *string + PhoneNumber *string + RechargeAmount *string + RechargeThreshold *string + SecondaryRechargeAmount *string + type Webhook struct + DisabledAt *DateTime + ID string + Mode string + Object string + URL string + WebhookSecret string Other modules containing this package github.com/EasyPost/easypost-go github.com/EasyPost/easypost-go/v2 github.com/EasyPost/easypost-go/v4