update
This commit is contained in:
15
inc/Hura8/Interfaces/iShippingCost.php
Normal file
15
inc/Hura8/Interfaces/iShippingCost.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Hura8\Interfaces;
|
||||
|
||||
|
||||
interface iShippingCost extends iShippingProvider
|
||||
{
|
||||
// get only options for a cart
|
||||
public function getShippingOptionsForCart(array $cart_item_list, $province, $district, $ward=0) : array;
|
||||
|
||||
// return array [shipping_fee, cod_fee]
|
||||
public function calculateShippingCostForOrder($selected_shipping_option, array $shipping_address, array $order_info) ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user