Class: Google::Shopping::Merchant::Accounts::V1beta::Distance
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Accounts::V1beta::Distance
- 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
-
#unit ⇒ ::Google::Shopping::Merchant::Accounts::V1beta::Distance::Unit
Unit can differ based on country, it is parameterized to include miles and kilometers.
-
#value ⇒ ::Integer
Integer value of distance.
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.
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.
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 |