UNPKG

@selldone/sdk-storefront

Version:

A TypeScript SDK to connect to your shop and build a fully functional storefront and website by simply developing a frontend web application. All backend operations are seamlessly managed by the serverless Selldone solution.

11 lines (10 loc) 508 B
import { Currency } from "@selldone/core-js/enums/payment/Currency"; import type { XapiAvocado } from "../XapiAvocado"; import type { Avocado } from "@selldone/core-js/models/shop/order/avocado/avocado.order"; export default function submitOrder(this: XapiAvocado, hash: string, currency: keyof typeof Currency): Promise<xapi.avocado.submit_order.post.IResponse>; export declare namespace xapi.avocado.submit_order.post { interface IResponse { success: boolean; avocado: Avocado; } }