AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617
  1. <?php
  2. namespace App\Commerce\Shipping;
  3. use App\Models\Store;
  4. /**
  5. * Works out the shipping fee for an order.
  6. * Flat rates are the first provider; EasyParcel live rates can be added behind the same interface later.
  7. */
  8. interface ShippingProvider
  9. {
  10. /**
  11. * The shipping fee in sen for an order of this subtotal (in sen) to this Malaysian state.
  12. */
  13. public function quote(Store $store, int $subtotal, string $state): int;
  14. }