shopperman
Version:
shopping cart ui for shopify stores
11 lines (10 loc) • 421 B
TypeScript
import { CartItem } from "../stores/cart-item";
import { CheckoutMachineBase } from "../ecommerce/checkout-machine-base";
import { ShopifyClient } from "./shopify-interfaces";
export declare class ShopifyCheckoutMachine extends CheckoutMachineBase {
private readonly shopifyClient;
constructor({ shopifyClient }: {
shopifyClient: ShopifyClient;
});
checkout(items: CartItem[]): Promise<string>;
}