Interface ProductListingActionCreators
interface ProductListingActionCreators { fetchMoreProducts(): AsyncThunkAction< null | QueryCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByFetchProductListing>, >; fetchProductListing(): AsyncThunkAction< QueryCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByFetchProductListing>, >; promoteChildToParent( payload: PromoteChildToParentPayload, ): { payload: PromoteChildToParentPayload; type: string };} Methods
fetchMoreProducts
fetchMoreProducts(): AsyncThunkAction< null | QueryCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByFetchProductListing>,> Returns AsyncThunkAction<
null
| QueryCommerceAPIThunkReturn,
void,
AsyncThunkCommerceOptions<StateNeededByFetchProductListing>,
>
A dispatchable action.
fetchProductListing
fetchProductListing(): AsyncThunkAction< QueryCommerceAPIThunkReturn, void, AsyncThunkCommerceOptions<StateNeededByFetchProductListing>,> Returns AsyncThunkAction<
QueryCommerceAPIThunkReturn,
void,
AsyncThunkCommerceOptions<StateNeededByFetchProductListing>,
>
A dispatchable action.
promoteChildToParent
promoteChildToParent( payload: PromoteChildToParentPayload,): { payload: PromoteChildToParentPayload; type: string } Parameters
- payload: PromoteChildToParentPayload
Returns { payload: PromoteChildToParentPayload; type: string }
A dispatchable action.
The product listing action creators.