@valantic/spartacus-mock
Version:
This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.
6 lines (5 loc) • 349 B
TypeScript
import { Occ } from '@spartacus/core';
export declare const DEFAULT_PAYMENT_ID: string;
export declare const createCardType: (additionalData?: Occ.CardType) => Occ.CardType;
export declare const createPaymentDetails: (additionalData?: Occ.PaymentDetails) => Occ.PaymentDetails;
export declare const paymentDetailsList: () => Occ.PaymentDetailsList;