GoogleTypeMoney

AI Overview😉

  • Potential purpose of module: This module, GoogleTypeMoney, represents an amount of money with its currency type, allowing Google to understand and process monetary values in a standardized way. It's likely used to extract and analyze pricing information from web pages.
  • Impact on search results: This module could impact search results by enabling Google to better understand and compare prices across different websites, potentially influencing the ranking of pages based on their pricing information. It may also help Google to provide more accurate and relevant results for searches related to prices or shopping.
  • Optimization for this function: To be more favorable for this function, a website could ensure that their pricing information is accurately and consistently represented on their web pages, using standardized currency codes and formatting. They could also provide clear and easily parseable pricing data, such as using schema.org markup for prices, to help Google's algorithm better understand their pricing information.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Represents an amount of money with its currency type.

Attributes

  • currencyCode (type: String.t, default: nil) - The three-letter currency code defined in ISO 4217.
  • nanos (type: integer(), default: nil) - Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.
  • units (type: String.t, default: nil) - The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.

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.GoogleTypeMoney{
  currencyCode: String.t() | nil,
  nanos: integer() | nil,
  units: String.t() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.