14 lines
418 B
PHP
14 lines
418 B
PHP
<?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;
|
|
|
|
}
|