@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
15 lines (14 loc) • 827 B
TypeScript
import type { ExistingLegalEntity } from '../core/models/api/legal-entity';
import type { AccountHolderOption } from '../types/accountHolder';
export type BusinessType = (typeof BusinessTypes)[keyof typeof BusinessTypes];
export declare const BusinessTypes: {
readonly INDIVIDUAL: "individual";
readonly COMPANY: "company";
readonly INCORPORATED_PARTNERSHIP: "partnershipIncorporated";
readonly UNINCORPORATED_PARTNERSHIP: "partnershipUnincorporated";
readonly INDIVIDUAL_TRUSTEE: "individualTrustee";
readonly COMPANY_TRUSTEE: "companyTrustee";
readonly SOLE_PROPRIETORSHIP: "soleProprietorship";
readonly INCORPORATE_ASSOCIATION: "associationIncorporated";
};
export declare const useBusinessSetup: (legalEntityResponse: ExistingLegalEntity) => BusinessType | AccountHolderOption | undefined;