Class: Google::Shopping::Merchant::Accounts::V1beta::CarrierRate
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::CarrierRate
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb
Overview
A list of carrier rates that can be referred to by
main_table
or single_value
.
Instance Attribute Summary collapse
-
#carrier ⇒ ::String
Required.
-
#carrier_service ⇒ ::String
Required.
-
#flat_adjustment ⇒ ::Google::Shopping::Type::Price
Optional.
-
#name ⇒ ::String
Required.
-
#origin_postal_code ⇒ ::String
Required.
-
#percentage_adjustment ⇒ ::String
Optional.
Instance Attribute Details
#carrier ⇒ ::String
Returns Required. Carrier service, such as "UPS"
or "Fedex"
.
716 717 718 719 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 716 class CarrierRate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#carrier_service ⇒ ::String
Returns Required. Carrier service, such as "ground"
or "2 days"
.
716 717 718 719 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 716 class CarrierRate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#flat_adjustment ⇒ ::Google::Shopping::Type::Price
Returns Optional. Additive shipping rate modifier. Can be negative. For example
{ "amount_micros": 1, "currency_code" : "USD" }
adds $1 to the rate,
{ "amount_micros": -3, "currency_code" : "USD" }
removes $3 from the
rate.
716 717 718 719 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 716 class CarrierRate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Required. Name of the carrier rate. Must be unique per rate group.
716 717 718 719 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 716 class CarrierRate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#origin_postal_code ⇒ ::String
Returns Required. Shipping origin for this carrier rate.
716 717 718 719 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 716 class CarrierRate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#percentage_adjustment ⇒ ::String
Returns Optional. Multiplicative shipping rate modifier as a number in decimal
notation. Can be negative. For example "5.4"
increases the rate by 5.4%,
"-3"
decreases the rate by 3%.
716 717 718 719 |
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 716 class CarrierRate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |