@buckaroo/buckaroo_sdk
Version:
Buckaroo payment SDK
50 lines (49 loc) • 1.76 kB
TypeScript
import { Address, Company, IAddress, ICompany, ICustomer, IPerson, IPhone, Model, Person } from '../../../Models';
import { RecipientCategory } from '../../../Constants';
export interface IIn3Recipient extends ICustomer {
recipient: Partial<IIn3Company | IIn3Person>;
phone: IPhone;
}
export declare class In3Recipient extends Model implements In3Recipient {
get recipient(): In3Company | IIn3Person;
set recipient(value: In3Company | IIn3Person);
get address(): IAddress;
set address(value: IAddress);
get email(): string;
set email(value: string);
get phone(): IPhone;
set phone(value: IPhone);
}
export interface IIn3Person extends IPerson {
customerNumber: string;
identificationNumber: string;
conversationLanguage: string;
lastName: string;
}
export interface IIn3Company extends ICompany {
customerNumber: string;
}
export declare class In3Person extends Person implements IIn3Person {
set category(value: RecipientCategory.PERSON);
set customerNumber(value: string);
set identificationNumber(value: string);
set conversationLanguage(value: string);
}
export declare class In3Company extends Company implements IIn3Company {
set category(value: RecipientCategory.COMPANY);
set customerNumber(value: string);
get title(): string;
set title(value: string);
get chamberOfCommerce(): string;
set chamberOfCommerce(value: string);
}
export declare class In3Address extends Address {
get houseNumber(): string;
set houseNumber(value: string);
get houseNumberAdditional(): string;
set houseNumberAdditional(value: string);
get zipcode(): string;
set zipcode(value: string);
get country(): string;
set country(value: string);
}