src/shared/dto/bank-details.dto.ts
Properties |
| abaCode |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:74
|
| accountBic |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:39
|
| accountName |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:45
|
| accountNo |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:33
|
| bankAddress |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:15
|
| bankBic |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:27
|
| bankChaps |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:21
|
| bankName |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:9
|
| currency |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:69
|
| ibanNo |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:51
|
| ultimateAccountNo |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:63
|
| ultimateName |
Type : string
|
Decorators :
@ApiProperty({type: 'string'})
|
|
Defined in src/shared/dto/bank-details.dto.ts:57
|
import { ApiProperty } from "@nestjs/swagger";
import { IsString, IsNotEmpty, MinLength, IsOptional } from "class-validator";
export class BankDetailsDTO {
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
bankName: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
bankAddress: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
bankChaps: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
bankBic: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
accountNo: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
accountBic: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
accountName: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
ibanNo: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
ultimateName: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
ultimateAccountNo: string;
@ApiProperty({ type: "string" })
@IsString()
@IsNotEmpty()
@MinLength(3)
currency: string;
@ApiProperty({ type: "string" })
@IsString()
@IsOptional()
abaCode: string;
}