This commit is contained in:
2024-01-29 10:39:53 +07:00
parent 545c404fdf
commit 72170f373a
143 changed files with 20188 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
<?php
namespace Hura8\Interfaces;
interface iShippingProvider
{
// get all available shipping options, which might or might not be suitable for an order
public function getAllShippingOptions(array $args) : array;
// get only options for a specific order (based on order's value, shipping address ...) as suggested by the shipping provider
public function getShippingOptions(array $args) : array;
}