Class: Google::Shopping::Merchant::Accounts::V1beta::RateGroup
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::RateGroup
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb
Overview
Shipping rate group definitions. Only the last one is allowed to have an
empty applicable_shipping_labels
, which means
"everything else". The other applicable_shipping_labels
must
not overlap.
Instance Attribute Summary collapse
-
#applicable_shipping_labels ⇒ ::Array<::String>
Required.
-
#carrier_rates ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1beta::CarrierRate>
Optional.
-
#main_table ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Table
A table defining the rate group, when
single_value
is not expressive enough. -
#name ⇒ ::String
Optional.
-
#single_value ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Value
The value of the rate group (For example flat rate $10).
-
#subtables ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1beta::Table>
Optional.
Instance Attribute Details
#applicable_shipping_labels ⇒ ::Array<::String>
Returns Required. 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.
480 481 482 483 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 480 class RateGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#carrier_rates ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1beta::CarrierRate>
Returns Optional. A list of carrier rates that can be referred to by
main_table
or single_value
.
480 481 482 483 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 480 class RateGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#main_table ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Table
Returns A table defining the rate group, when single_value
is not
expressive enough. Can only be set if single_value
is not
set.
480 481 482 483 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 480 class RateGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Optional. Name of the rate group. If set has to be unique within shipping service.
480 481 482 483 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 480 class RateGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#single_value ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Value
Returns The value of the rate group (For example flat rate $10). Can only be set
if main_table
and subtables
are not set.
480 481 482 483 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 480 class RateGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#subtables ⇒ ::Array<::Google::Shopping::Merchant::Accounts::V1beta::Table>
Returns Optional. A list of subtables referred to by main_table
. Can only
be set if main_table
is set.
480 481 482 483 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 480 class RateGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |