View Source GoogleApi.Content.V21.Model.ProductDimension (google_api_content v0.67.1)

Attributes

  • unit (type: String.t, default: nil) - Required. The length units. Acceptable values are: - "in" - "cm"
  • value (type: float(), default: nil) - Required. The length value represented as a number. The value can have a maximum precision of four decimal places.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ProductDimension{
  unit: String.t() | nil,
  value: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.