@unchainedshop/plugins
Version:
Official plugin collection for the Unchained Engine with payment, delivery, and pricing adapters
5 lines (4 loc) • 342 B
TypeScript
import type { Order } from '@unchainedshop/core-orders';
import { type Transaction } from './api-types.ts';
export declare const transactionIsPaid: (transaction: Transaction, expectedCurrency: string, expectedAmount: number) => Promise<boolean>;
export declare const orderIsPaid: (order: Order, transaction: Transaction) => Promise<boolean>;