AdminHooks.php
1 week ago
DefaultConversion.php
1 week ago
FlatRateShipping.php
5 years ago
FreeShipping.php
1 week ago
FrontEndHooks.php
1 week ago
LocalPickup.php
5 years ago
ShippingClasses.php
1 week ago
ShippingClassesMode.php
1 week ago
ShippingHooksFactory.php
1 week ago
ShippingMode.php
1 week ago
ShippingModeBase.php
1 week ago
ShippingModeProvider.php
1 week ago
UnsupportedShipping.php
1 week ago
VariableCost.php
1 week ago
ShippingMode.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WCML\Multicurrency\Shipping; |
| 4 | |
| 5 | interface ShippingMode { |
| 6 | public function getMethodId(); |
| 7 | |
| 8 | public function getFieldTitle( $currencyCode ): ?string; |
| 9 | |
| 10 | public function getFieldDescription( $currencyCode ): ?string; |
| 11 | |
| 12 | public function getSettingsFormKey( $currencyCode ); |
| 13 | |
| 14 | public function getMinimalOrderAmountValue( $amount, $shipping, $currency ); |
| 15 | |
| 16 | public function getShippingCostValue( $rate, $currency ); |
| 17 | |
| 18 | public function isManualPricingEnabled( $instance ); |
| 19 | |
| 20 | } |