@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
77 lines (76 loc) • 3.71 kB
TypeScript
import { LegalArrangementEntityDetail } from './legalArrangementEntityDetail';
import { ViasAddress } from './viasAddress';
export declare class LegalArrangementDetail {
'address': ViasAddress;
/**
* Adyen-generated unique alphanumeric identifier (UUID) for the entry, returned in the response when you create a legal arrangement. Use only when updating an account holder. If you include this field when creating an account holder, the request will fail.
*/
'legalArrangementCode'?: string;
/**
* An array containing information about other entities that are part of the legal arrangement.
*/
'legalArrangementEntities'?: Array<LegalArrangementEntityDetail>;
/**
* Your reference for the legal arrangement. Must be between 3 to 128 characters.
*/
'legalArrangementReference'?: string;
/**
* The form of legal arrangement. Required if `type` is **Trust** or **Partnership**. The possible values depend on the `type`. - For `type` **Trust**: **CashManagementTrust**, **CorporateUnitTrust**, **DeceasedEstate**, **DiscretionaryInvestmentTrust**, **DiscretionaryServicesManagementTrust**, **DiscretionaryTradingTrust**, **FirstHomeSaverAccountsTrust**, **FixedTrust**, **FixedUnitTrust**, **HybridTrust**, **ListedPublicUnitTrust**, **OtherTrust**, **PooledSuperannuationTrust**, **PublicTradingTrust**, or **UnlistedPublicUnitTrust**. - For `type` **Partnership**: **LimitedPartnership**, **FamilyPartnership**, or **OtherPartnership**
*/
'legalForm'?: LegalArrangementDetail.LegalFormEnum;
/**
* The legal name of the legal arrangement. Minimum length: 3 characters.
*/
'name': string;
/**
* The registration number of the legal arrangement.
*/
'registrationNumber'?: string;
/**
* The tax identification number of the legal arrangement.
*/
'taxNumber'?: string;
/**
* The [type of legal arrangement](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/legal-arrangements#types-of-legal-arrangements). Possible values: - **Association** - **Partnership** - **SoleProprietorship** - **Trust**
*/
'type': LegalArrangementDetail.TypeEnum;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export declare namespace LegalArrangementDetail {
enum LegalFormEnum {
CashManagementTrust = "CashManagementTrust",
CorporateUnitTrust = "CorporateUnitTrust",
DeceasedEstate = "DeceasedEstate",
DiscretionaryInvestmentTrust = "DiscretionaryInvestmentTrust",
DiscretionaryServicesManagementTrust = "DiscretionaryServicesManagementTrust",
DiscretionaryTradingTrust = "DiscretionaryTradingTrust",
FirstHomeSaverAccountsTrust = "FirstHomeSaverAccountsTrust",
FixedTrust = "FixedTrust",
FixedUnitTrust = "FixedUnitTrust",
HybridTrust = "HybridTrust",
ListedPublicUnitTrust = "ListedPublicUnitTrust",
OtherTrust = "OtherTrust",
PooledSuperannuationTrust = "PooledSuperannuationTrust",
PublicTradingTrust = "PublicTradingTrust",
UnlistedPublicUnitTrust = "UnlistedPublicUnitTrust",
LimitedPartnership = "LimitedPartnership",
FamilyPartnership = "FamilyPartnership",
OtherPartnership = "OtherPartnership"
}
enum TypeEnum {
Association = "Association",
Partnership = "Partnership",
SoleProprietorship = "SoleProprietorship",
Trust = "Trust"
}
}