To use the CheckoutSettings API, install the @wix/ecom package using npm or Yarn:
@wix/ecom
or
Then import { checkoutSettings } from @wix/ecom:
{ checkoutSettings }