View Source GoogleApi.Content.V21.Model.CarriersCarrier (google_api_content v0.66.0)

Attributes

  • country (type: String.t, default: nil) - The CLDR country code of the carrier (for example, "US"). Always present.
  • eddServices (type: list(String.t), default: nil) - A list of services supported for EDD (Estimated Delivery Date) calculation. This is the list of valid values for WarehouseBasedDeliveryTime.carrierService.
  • name (type: String.t, default: nil) - The name of the carrier (for example, "UPS"). Always present.
  • services (type: list(String.t), default: nil) - A list of supported services (for example, "ground") for that carrier. Contains at least one service. This is the list of valid values for CarrierRate.carrierService.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.CarriersCarrier{
  country: String.t() | nil,
  eddServices: [String.t()] | nil,
  name: String.t() | nil,
  services: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.