Feature: Creating Shipping Carrier Contracts

This commit is contained in:
2026-07-16 17:14:41 +03:00
parent e18b2fa44c
commit 08135c4c8f
3 changed files with 60 additions and 0 deletions
@@ -0,0 +1,12 @@
<?php
namespace Modules\Core\Shipping\Contracts;
/**
* Marker for a Lunar\Shipping\Interfaces\ShippingRateInterface driver that
* calculates its price from a live carrier API rather than the manually
* configured ShippingRate price/price-breaks. Admin UI uses this to hide
* the manual pricing fields for such drivers — carriers without a pricing
* API simply don't implement it, and manual pricing remains required.
*/
interface SupportsLivePricing {}