- Add method to check whehter a rule was applied to a shipment in a given month
- Add a method to count the l shipments for a specific provider in a given month
- Rename #apply_discount to #register_applied_discount to make it
more clear that it only registers discounts and does not apply them
- Expose maximum possible discount to make it possible to get get the possible
discount without registering it in the budget
Includes
- Spec setup with FactoryBot
- A basic shipping option data structure
- A shipping option repository to have one central place with shipping options
- Github actions pipeline