google_api_content v0.4.0 GoogleApi.Content.V2.Model.Value View Source
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 (String.t): 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. Defaults to:
null
. - flatRate (Price): A flat rate. Can only be set if all other fields are not set. Defaults to:
null
. - noShipping (boolean()): If true, then the product can't ship. Must be true when set, can only be set if all other fields are not set. Defaults to:
null
. - pricePercentage (String.t): A percentage of the price represented as a number in decimal notation (e.g., "5.4"). Can only be set if all other fields are not set. Defaults to:
null
. - subtableName (String.t): The name of a subtable. Can only be set in table cells (i.e., not for single values), and only if all other fields are not set. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Content.V2.Model.Value{
carrierRateName: any(),
flatRate: GoogleApi.Content.V2.Model.Price.t(),
noShipping: any(),
pricePercentage: any(),
subtableName: any()
}
t() :: %GoogleApi.Content.V2.Model.Value{ carrierRateName: any(), flatRate: GoogleApi.Content.V2.Model.Price.t(), noShipping: any(), pricePercentage: any(), subtableName: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.