CartController::select_shipping_rate( int|string $package_id, string $rate_id )
Selects a shipping rate.
Description Description
Parameters Parameters
- $package_id
-
(Required) ID of the package to choose a rate for.
- $rate_id
-
(Required) ID of the rate being chosen.
Source Source
File: packages/woocommerce-blocks/src/StoreApi/Utilities/CartController.php