메소드 |
설명 |
|
__construct ( $id_or_instance_id = null ) |
|
|
admin_options ( ) |
|
|
calculate_shipping ( $package = [] ) |
|
|
format_rate_id ( $method_id, $instance, $rate_idx ) |
|
|
format_rate_title ( $rate_title ) |
|
|
get_api_client ( ) |
|
|
get_logger ( ) |
|
|
get_service_schema ( ) |
|
|
get_service_settings ( ) : object |
Returns the settings for this service (e.g. for use in the form or for
sending to the rate request endpoint |
|
get_service_settings_store ( ) |
|
|
is_valid_package_destination ( array $package ) : boolean |
Determine if a package's destination is valid enough for a rate quote. |
|
set_api_client ( WC_Connect_API_Client $api_client ) |
|
|
set_last_request_failed ( $timestamp = null ) |
|
|
set_logger ( WC_Connect_Logger $logger ) |
|
|
set_service_schema ( $service_schema ) |
|
|
set_service_settings_store ( $service_settings_store ) |
|
|
update_last_rate_request_timestamp ( ) |
|
|