update
This commit is contained in:
13
inc/Hura8/Interfaces/iShippingProvider.php
Normal file
13
inc/Hura8/Interfaces/iShippingProvider.php
Normal 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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user