View Source GoogleApi.Content.V2.Model.RateGroup (google_api_content v0.66.0)
Attributes
-
applicableShippingLabels
(type:list(String.t)
, default:nil
) - A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service. Required. -
carrierRates
(type:list(GoogleApi.Content.V2.Model.CarrierRate.t)
, default:nil
) - A list of carrier rates that can be referred to bymainTable
orsingleValue
. -
mainTable
(type:GoogleApi.Content.V2.Model.Table.t
, default:nil
) - A table defining the rate group, whensingleValue
is not expressive enough. Can only be set ifsingleValue
is not set. -
name
(type:String.t
, default:nil
) - Name of the rate group. Optional. If set has to be unique within shipping service. -
singleValue
(type:GoogleApi.Content.V2.Model.Value.t
, default:nil
) - The value of the rate group (e.g. flat rate $10). Can only be set ifmainTable
andsubtables
are not set. -
subtables
(type:list(GoogleApi.Content.V2.Model.Table.t)
, default:nil
) - A list of subtables referred to bymainTable
. Can only be set ifmainTable
is set.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Content.V2.Model.RateGroup{ applicableShippingLabels: [String.t()] | nil, carrierRates: [GoogleApi.Content.V2.Model.CarrierRate.t()] | nil, mainTable: GoogleApi.Content.V2.Model.Table.t() | nil, name: String.t() | nil, singleValue: GoogleApi.Content.V2.Model.Value.t() | nil, subtables: [GoogleApi.Content.V2.Model.Table.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.