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

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.