GeostoreTimeBasedRateProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeBasedRateProto


Table of Contents ▼

Jump to a specific part of the page:

Description

A rate which applies based on the precise times of utilization. Defines a rate, as well as restrictions on the start and end times which must be satisfied in order to be eligible for the rate. See go/rate-schema for more details.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. durationBasedRate (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreDurationBasedRateProto), default: nil)
    - The rates for this rule. Each duration_based_rate defines the costs associated with a particular duration of a stay. There must be at least one rate with range_start_seconds set to 0 and there cannot be gaps between durations (i.e. there should be no interval uncovered between 0 and the largest range_end_seconds of any duration-based rate).
  2. taxIncluded (type: boolean(), default: nil)
    - If true, tax is included in the prices in this rate. If false, additional taxes may apply.
  3. validEndWithin (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto, default: nil)
    -
  4. validStartWithin (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto, default: nil)
    - Time period during which utilization of this rate must start in order to be eligible for the rate. If not set, there is no restriction on the time when the utilization starts.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeBasedRateProto{
durationBasedRate: [GoogleApi.ContentWarehouse.V1.Model.GeostoreDurationBasedRateProto.t()] | nil,
taxIncluded: boolean() | nil,
validEndWithin: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto.t() | nil,
validStartWithin: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeBasedRateProto