Property | Type | Description | |
---|---|---|---|
$api_client | WC_Connect_API_Client | ||
$service_schemas_store | WC_Connect_Service_Schemas_Store | ||
$settings_store | WC_Connect_Service_Settings_Store |
Method | Description | |
---|---|---|
__construct ( WC_Connect_API_Client $api_client, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Service_Schemas_Store $service_schemas_store ) | ||
get_paper_size ( ) | ||
meta_box ( $post ) | ||
should_show_meta_box ( ) |
Method | Description | |
---|---|---|
format_address_for_api ( $address ) | ||
get_all_packages ( ) | ||
get_destination_address ( WC_Order $order ) | ||
get_flat_rate_packages_groups ( ) | ||
get_form_data ( WC_Order $order ) | ||
get_items_as_individual_packages ( $order ) | ||
get_name ( WC_Product $product ) | ||
get_origin_address ( ) | ||
get_packaging_metadata ( WC_Order $order ) | ||
get_selected_packages ( WC_Order $order ) | ||
get_selected_rates ( WC_Order $order ) | ||
get_states_map ( ) |
public __construct ( WC_Connect_API_Client $api_client, WC_Connect_Service_Settings_Store $settings_store, WC_Connect_Service_Schemas_Store $service_schemas_store ) | ||
$api_client | WC_Connect_API_Client | |
$settings_store | WC_Connect_Service_Settings_Store | |
$service_schemas_store | WC_Connect_Service_Schemas_Store |
protected get_destination_address ( WC_Order $order ) | ||
$order | WC_Order |
protected get_items_as_individual_packages ( $order ) |
protected get_packaging_metadata ( WC_Order $order ) | ||
$order | WC_Order |
protected get_selected_packages ( WC_Order $order ) | ||
$order | WC_Order |
protected get_selected_rates ( WC_Order $order ) | ||
$order | WC_Order |
protected WC_Connect_API_Client $api_client | ||
return | WC_Connect_API_Client |
protected WC_Connect_Service_Schemas_Store $service_schemas_store | ||
return | WC_Connect_Service_Schemas_Store |