@square/web-payments-sdk-types
Version:
Types for Square's Web Payments SDK
25 lines (24 loc) • 547 B
TypeScript
import { SqError } from './types';
/**
* Thrown when `accountHolderName` is not provided to the ACH payment tokenize
* method
*
* The bank account holder name must be provided in the parameters of AchChargeTokenOptions
* @example
* ```
* try {
* await ach.tokenize();
* }
* catch (e) {
* if (e instanceof PlaidMissingNameError) {
* alert(`Account holder name is missing ${e.message}`);
* }
* }
* ```
*/
export declare class PlaidMissingNameError extends SqError {
/**
* @inheritDoc
*/
constructor();
}