GeostoreTimeBasedRateProto

AI Overview😉

  • The potential purpose of this module is to help Google understand and process time-based pricing and availability information for products or services, such as hotel rooms or rental properties. This module allows for the definition of rates that apply during specific time periods, with restrictions on start and end times, and takes into account factors like duration of stay and taxes.
  • This module could impact search results by influencing the ranking and display of search results that involve time-sensitive pricing or availability information. For example, if a user searches for "hotels in New York City for this weekend", the module could help Google understand which hotels have availability and at what prices during that specific time period, and rank the results accordingly.
  • To be more favorable for this function, a website could ensure that their time-based pricing and availability information is accurately and consistently structured and marked up on their website, using schema.org or other standardized formats. This could include providing clear and specific information about rates, duration of stay, and taxes, as well as ensuring that their website's technical implementation allows for easy crawling and understanding of this information by Google's algorithms.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeBasedRateProto (google_api_content_warehouse v0.4.0)

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

  • durationBasedRate (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreDurationBasedRateProto.t), 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).
  • taxIncluded (type: boolean(), default: nil) - If true, tax is included in the prices in this rate. If false, additional taxes may apply.
  • validEndWithin (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto.t, default: nil) -
  • validStartWithin (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto.t, 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.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.