View Source GoogleApi.CSS.V1.Model.ProductDimension (google_api_css v0.3.0)

The dimension of the product.

Attributes

  • unit (type: String.t, default: nil) - Required. The dimension units. Acceptable values are: "in" "cm"
  • value (type: float(), default: nil) - Required. The dimension 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.CSS.V1.Model.ProductDimension{
  unit: String.t() | nil,
  value: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.