@square/web-payments-sdk-types
Version:
Types for Square's Web Payments SDK
24 lines (23 loc) • 560 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}`);
* }
* }
*/
declare class PlaidMissingNameError extends SqError {
/**
* @inheritdoc
*/
constructor();
}
export { PlaidMissingNameError };