Class: SpreeCmCommissioner::PricingModelRoute
- Defined in:
- app/models/spree_cm_commissioner/pricing_model_route.rb
Overview
A pricing-model assignment. A row is either:
- route-scoped: trip_id NULL, keyed by route + O-D (unchanged legacy behaviour), or
- trip-scoped: trip_id set, keyed by that specific trip + its own O-D (overrides route pricing
for that trip only).