Method |
Description |
|
add_method ( integer $zone_id, string $type, integer $order ) : integer |
Add a shipping method to a zone. |
|
delete_method ( integer $instance_id ) |
Delete a method instance. |
|
get_method ( $instance_id ) : object |
Get a shipping zone method instance. |
|
get_method_count ( $zone_id ) : integer |
Get count of methods for a zone. |
|
get_methods ( integer $zone_id, boolean $enabled_only ) : array |
Get a list of shipping methods for a specific zone. |
|
get_zone_id_by_instance_id ( $id ) : integer |
Return a zone ID from an instance ID. |
|
get_zone_id_from_package ( object $package ) : integer |
Find a matching zone ID for a given package. |
|
get_zones ( ) : array |
Return an ordered list of zones. |
|