@unchainedshop/plugins
Version:
Official plugin collection for the Unchained Engine with payment, delivery, and pricing adapters
12 lines (11 loc) • 470 B
TypeScript
import type { StatusResponseSuccess } from './api/types.ts';
export default function parseRegistrationData(transaction: StatusResponseSuccess): Promise<{
_id: string;
paymentMethod: import("./api/types.ts").PaymentMethod;
currency: string;
language: import("./api/types.ts").SupportedLanguage;
type: import("./api/types.ts").TransactionType;
token?: Record<string, unknown>;
info?: Record<string, unknown>;
objectKey?: string;
} | null>;