Class: SpreeDoordash::LocationMapping
- Inherits:
-
Object
- Object
- SpreeDoordash::LocationMapping
- Defined in:
- app/models/spree_doordash/location_mapping.rb
Overview
Maps a DoorDash Store (their own Business/Store hierarchy — a Business owns multiple physical pickup Stores) 1:1 to a Spree::StockLocation. Structural twin of SpreeSquare::LocationMapping — see that class's own comment for why restaurant branches map onto Spree's existing multi-warehouse StockLocation model rather than a bespoke concept.