View Source GoogleApi.Content.V21.Model.Value (google_api_content v0.66.0)
The single value of a rate group or the value of a rate group table's cell. Exactly one of noShipping
, flatRate
, pricePercentage
, carrierRateName
, subtableName
must be set.
Attributes
-
carrierRateName
(type:String.t
, default:nil
) - The name of a carrier rate referring to a carrier rate defined in the same rate group. Can only be set if all other fields are not set. -
flatRate
(type:GoogleApi.Content.V21.Model.Price.t
, default:nil
) - A flat rate. Can only be set if all other fields are not set. -
noShipping
(type:boolean()
, default:nil
) - If true, then the product can't ship. Must be true when set, can only be set if all other fields are not set. -
pricePercentage
(type:String.t
, default:nil
) - A percentage of the price represented as a number in decimal notation (for example,"5.4"
). Can only be set if all other fields are not set. -
subtableName
(type:String.t
, default:nil
) - The name of a subtable. Can only be set in table cells (not for single values), and only if all other fields are not set.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Content.V21.Model.Value{ carrierRateName: String.t() | nil, flatRate: GoogleApi.Content.V21.Model.Price.t() | nil, noShipping: boolean() | nil, pricePercentage: String.t() | nil, subtableName: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.