Class: SpreeCmCommissioner::LineItemTransitable::TripKey

Inherits:
Struct
  • Object
show all
Defined in:
app/models/concerns/spree_cm_commissioner/line_item_transitable.rb

Instance Attribute Summary collapse

Instance Attribute Details

#boarding_trip_stop_idObject

Returns the value of attribute boarding_trip_stop_id

Returns:

  • (Object)

    the current value of boarding_trip_stop_id



22
23
24
# File 'app/models/concerns/spree_cm_commissioner/line_item_transitable.rb', line 22

def boarding_trip_stop_id
  @boarding_trip_stop_id
end

#directionObject

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



22
23
24
# File 'app/models/concerns/spree_cm_commissioner/line_item_transitable.rb', line 22

def direction
  @direction
end

#drop_off_trip_stop_idObject

Returns the value of attribute drop_off_trip_stop_id

Returns:

  • (Object)

    the current value of drop_off_trip_stop_id



22
23
24
# File 'app/models/concerns/spree_cm_commissioner/line_item_transitable.rb', line 22

def drop_off_trip_stop_id
  @drop_off_trip_stop_id
end

#trip_idObject

Returns the value of attribute trip_id

Returns:

  • (Object)

    the current value of trip_id



22
23
24
# File 'app/models/concerns/spree_cm_commissioner/line_item_transitable.rb', line 22

def trip_id
  @trip_id
end