Class: Aws::GeoRoutes::Types::RouteTollPrice

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-georoutes/types.rb

Overview

The toll price.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currencyString

Currency code corresponding to the price. This is the same as Currency specified in the request.

Returns:

  • (String)


4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
# File 'lib/aws-sdk-georoutes/types.rb', line 4647

class RouteTollPrice < Struct.new(
  :currency,
  :estimate,
  :per_duration,
  :range,
  :range_value,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#estimateBoolean

If the price is an estimate or an exact value.

Returns:

  • (Boolean)


4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
# File 'lib/aws-sdk-georoutes/types.rb', line 4647

class RouteTollPrice < Struct.new(
  :currency,
  :estimate,
  :per_duration,
  :range,
  :range_value,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#per_durationInteger

Duration for which the price corresponds to.

Unit: ‘seconds`

Returns:

  • (Integer)


4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
# File 'lib/aws-sdk-georoutes/types.rb', line 4647

class RouteTollPrice < Struct.new(
  :currency,
  :estimate,
  :per_duration,
  :range,
  :range_value,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#rangeBoolean

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.

Returns:

  • (Boolean)


4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
# File 'lib/aws-sdk-georoutes/types.rb', line 4647

class RouteTollPrice < Struct.new(
  :currency,
  :estimate,
  :per_duration,
  :range,
  :range_value,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#range_valueTypes::RouteTollPriceValueRange

Price range with a minimum and maximum value, if a range.



4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
# File 'lib/aws-sdk-georoutes/types.rb', line 4647

class RouteTollPrice < Struct.new(
  :currency,
  :estimate,
  :per_duration,
  :range,
  :range_value,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueFloat

Exact price, if not a range.

Returns:

  • (Float)


4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
# File 'lib/aws-sdk-georoutes/types.rb', line 4647

class RouteTollPrice < Struct.new(
  :currency,
  :estimate,
  :per_duration,
  :range,
  :range_value,
  :value)
  SENSITIVE = []
  include Aws::Structure
end