carriersProducts/index
@boldpenguin/sdk-redux › Globals › "carriersProducts/index"
Index
Variables
Functions
Variables
Const
getOfflineCarriersProducts
• getOfflineCarriersProducts: function & OutputSelectorFields‹function› & object = createSelector(getCarriersProducts, (carriersProducts) => carriersProducts.filter((carriersProduct) => !carriersProduct.carrier.online) )
deprecated
Use getEligibleOfflineCarriersWithProducts instead.
Gets offline carriers products currently in the store
param
The BpSdk Redux store
Const
getOnlineCarriersProducts
• getOnlineCarriersProducts: function & OutputSelectorFields‹function› & object = createSelector(getCarriersProducts, (carriersProducts) => carriersProducts.filter((carriersProduct) => carriersProduct.carrier.online) )
deprecated
Use getEligibleOnlineCarriersWithProducts instead.
Gets online carriers products currently in the store
param
The BpSdk Redux store
Functions
Const
getCarriersProducts
▸ getCarriersProducts(state
: BpSdkStore): ICarriersProductState[]
deprecated
Use getEligibleCarriersWithProducts instead.
Gets all carriers products currently in the store
Parameters:
Name | Type | Description |
---|---|---|
state | BpSdkStore | The BpSdk Redux store |
Returns: ICarriersProductState[]