Class: Aws::GeoRoutes::Types::RouteTollPrice
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoRoutes::Types::RouteTollPrice
- Defined in:
- gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb
Overview
The toll price.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#currency ⇒ String
Currency code corresponding to the price.
-
#estimate ⇒ Boolean
If the price is an estimate or an exact value.
-
#per_duration ⇒ Integer
Duration for which the price corresponds to.
-
#range ⇒ Boolean
If the price is a range or an exact value.
-
#range_value ⇒ Types::RouteTollPriceValueRange
Price range with a minimum and maximum value, if a range.
-
#value ⇒ Float
Exact price, if not a range.
Instance Attribute Details
#currency ⇒ String
Currency code corresponding to the price. This is the same as Currency specified in the request.
4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 4722 class RouteTollPrice < Struct.new( :currency, :estimate, :per_duration, :range, :range_value, :value) SENSITIVE = [] include Aws::Structure end |
#estimate ⇒ Boolean
If the price is an estimate or an exact value.
4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 4722 class RouteTollPrice < Struct.new( :currency, :estimate, :per_duration, :range, :range_value, :value) SENSITIVE = [] include Aws::Structure end |
#per_duration ⇒ Integer
Duration for which the price corresponds to.
Unit: seconds
4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 4722 class RouteTollPrice < Struct.new( :currency, :estimate, :per_duration, :range, :range_value, :value) SENSITIVE = [] include Aws::Structure end |
#range ⇒ Boolean
If the price is a range or an exact value. If any of the toll fares making up the route is a range, the overall price is also a range.
4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 4722 class RouteTollPrice < Struct.new( :currency, :estimate, :per_duration, :range, :range_value, :value) SENSITIVE = [] include Aws::Structure end |
#range_value ⇒ Types::RouteTollPriceValueRange
Price range with a minimum and maximum value, if a range.
4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 4722 class RouteTollPrice < Struct.new( :currency, :estimate, :per_duration, :range, :range_value, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Float
Exact price, if not a range.
4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 |
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 4722 class RouteTollPrice < Struct.new( :currency, :estimate, :per_duration, :range, :range_value, :value) SENSITIVE = [] include Aws::Structure end |