File

src/orderbook/dto/lock-order.dto.ts

Index

Properties

Properties

amount
Type : string
Decorators :
@ApiProperty()
@IsString()
@IsOptional()
dealerId
Type : string
Decorators :
@ApiProperty()
@IsString()
@IsOptional()
instrumentId
Type : string
Decorators :
@ApiProperty()
@IsOptional()
@IsString()
investorId
Type : string
Decorators :
@ApiProperty()
@IsString()
@IsOptional()
isUsingInvestorWallet
Type : boolean
Decorators :
@ApiProperty()
@IsBoolean()
@IsOptional()
orderId
Type : string
Decorators :
@ApiProperty()
@IsString()
import { ApiProperty } from "@nestjs/swagger";
import { IsBoolean, IsOptional, IsString } from "class-validator";

export class OrderLockDto {
  @ApiProperty()
  @IsString()
  orderId: string;

  @ApiProperty()
  @IsString()
  @IsOptional()
  investorId: string;

  @ApiProperty()
  @IsOptional()
  @IsString()
  instrumentId: string;

  @ApiProperty()
  @IsString()
  @IsOptional()
  dealerId: string;

  @ApiProperty()
  @IsBoolean()
  @IsOptional()
  isUsingInvestorWallet: boolean;

  @ApiProperty()
  @IsString()
  @IsOptional()
  amount: string;
}

results matching ""

    No results matching ""