File

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

Index

Properties

Properties

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

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

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

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

results matching ""

    No results matching ""