View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2ConditionTimeRange (google_api_retail v0.19.1)

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

Attributes

  • endTime (type: DateTime.t, default: nil) - End of time range. Range is inclusive.
  • startTime (type: DateTime.t, default: nil) - Start of time range. Range is inclusive.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2ConditionTimeRange{
  endTime: DateTime.t() | nil,
  startTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.