interface ParameterManagerProps<T extends Parameters> {
    excludeDefaultParameters?: boolean;
    initialState?: ParameterManagerInitialState<T>;
}

Type Parameters

Properties

excludeDefaultParameters?: boolean

Whether the controller's state should exclude the default parameters returned by the Commerce API, and only include the parameters that were set explicitly set through dispatched actions.

Defaults to false.

initialState?: ParameterManagerInitialState<T>

The initial state that should be applied to the ParameterManager sub-controller.