Interface DomesticRateErrorInterfaceInternal

Interface version of DomesticRateError

interface DomesticRateErrorInterface {
    __typename: "DomesticRateError";
    account_number: null | string;
    carrier: CarrierName;
    code: CarrierErrorCode;
    message: null | string;
    requested_rate_class: RateClass;
    service_code: string;
}

Hierarchy (View Summary)

Implemented by

Properties

__typename: "DomesticRateError"

Typename that can be used as an alternative to instanceof for type guards

account_number: null | string

The account number used for the request

carrier: CarrierName

The carrier requests

The code associated with the error. Can be used to direct error-handling logic.

message: null | string

The human-readable error message, if applicable.

requested_rate_class: RateClass

The class of rates requests

service_code: string

The service code requested.