Class: Google::Shopping::Merchant::Accounts::V1beta::Value

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb

Overview

The single value of a rate group or the value of a rate group table's cell. Exactly one of no_shipping, flat_rate, price_percentage, carrier_rateName, subtable_name must be set.

Instance Attribute Summary collapse

Instance Attribute Details

#carrier_rate::String

Returns 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.

Returns:

  • (::String)

    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.



686
687
688
689
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 686

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#flat_rate::Google::Shopping::Type::Price

Returns A flat rate. Can only be set if all other fields are not set.

Returns:



686
687
688
689
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 686

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#no_shipping::Boolean

Returns If true, then the product can't be shipped. Must be true when set, can only be set if all other fields are not set.

Returns:

  • (::Boolean)

    If true, then the product can't be shipped. Must be true when set, can only be set if all other fields are not set.



686
687
688
689
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 686

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#price_percentage::String

Returns 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.

Returns:

  • (::String)

    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.



686
687
688
689
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 686

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subtable::String

Returns The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.

Returns:

  • (::String)

    The name of a subtable. Can only be set in table cells (For example, not for single values), and only if all other fields are not set.



686
687
688
689
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 686

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end