Class: Google::Shopping::Merchant::Accounts::V1beta::Distance

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

Maximum delivery radius. This is only required for the local delivery shipment type.

Defined Under Namespace

Modules: Unit

Instance Attribute Summary collapse

Instance Attribute Details

#unit::Google::Shopping::Merchant::Accounts::V1beta::Distance::Unit

Returns Unit can differ based on country, it is parameterized to include miles and kilometers.

Returns:



239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 239

class Distance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Unit can differ based on country, it is parameterized to include miles
  # and kilometers.
  module Unit
    # Unit unspecified
    UNIT_UNSPECIFIED = 0

    # Unit in miles
    MILES = 1

    # Unit in kilometers
    KILOMETERS = 2
  end
end

#value::Integer

Returns Integer value of distance.

Returns:

  • (::Integer)

    Integer value of distance.



239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 239

class Distance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Unit can differ based on country, it is parameterized to include miles
  # and kilometers.
  module Unit
    # Unit unspecified
    UNIT_UNSPECIFIED = 0

    # Unit in miles
    MILES = 1

    # Unit in kilometers
    KILOMETERS = 2
  end
end