View Source GoogleApi.Content.V2.Model.WarehouseBasedDeliveryTime (google_api_content v0.67.1)

Attributes

  • carrier (type: String.t, default: nil) - Required. Carrier, such as "UPS" or "Fedex". The list of supported carriers can be retrieved via the listSupportedCarriers method.
  • carrierService (type: String.t, default: nil) - Required. Carrier service, such as "ground" or "2 days". The list of supported services for a carrier can be retrieved via the listSupportedCarriers method. The name of the service must be in the eddSupportedServices list.
  • originAdministrativeArea (type: String.t, default: nil) - Shipping origin's state.
  • originCity (type: String.t, default: nil) - Shipping origin's city.
  • originCountry (type: String.t, default: nil) - Shipping origin's country represented as a CLDR territory code.
  • originPostalCode (type: String.t, default: nil) - Shipping origin.
  • originStreetAddress (type: String.t, default: nil) - Shipping origin's street address
  • warehouseName (type: String.t, default: nil) - The name of the warehouse. Warehouse name need to be matched with name. If warehouseName is set, the below fields will be ignored. The warehouse info will be read from warehouse.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.WarehouseBasedDeliveryTime{
  carrier: String.t() | nil,
  carrierService: String.t() | nil,
  originAdministrativeArea: String.t() | nil,
  originCity: String.t() | nil,
  originCountry: String.t() | nil,
  originPostalCode: String.t() | nil,
  originStreetAddress: String.t() | nil,
  warehouseName: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.