UNPKG

@spot-flow/checkout-inline-js

Version:

This project is an inline library that enables users to make payments seamlessly. It integrates smoothly into your application, providing a streamlined checkout experience.

37 lines (35 loc) 1.01 kB
import { CreateDisputeRequest, PaymentResponseData } from '../../types/types'; type Props = { container: HTMLDivElement; uploadEvidenceFile: (file: File) => Promise<{ message: string; status: string; url: string; }>; onAction: (payload: CreateDisputeRequest) => void; paymentResponse: PaymentResponseData; }; export declare class TransactionIssuesForm { container: HTMLDivElement; private formValues; private documents; private paymentResponse; uploadEvidenceFile: (file: File) => Promise<{ message: string; status: string; url: string; }>; uploadRes: { message: string; status: string; url: string; }; onAction: (payload: CreateDisputeRequest) => void; constructor(props: Props); attachListener(): void; handleInputChange(event: Event, button: HTMLButtonElement | null): void; private validateForm; renderComponent(): void; render(): string; } export {};