mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-02 23:13:40 +00:00
30 lines
571 B
TypeScript
30 lines
571 B
TypeScript
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
|
import { PriceLineItemDto } from './generate-price-response.dto';
|
|
|
|
export class SubmitBookingResponseDto {
|
|
@ApiProperty()
|
|
bookingId!: string;
|
|
|
|
@ApiProperty()
|
|
status!: string;
|
|
|
|
@ApiProperty()
|
|
priceChanged!: boolean;
|
|
|
|
@ApiPropertyOptional()
|
|
previousTotalAmount?: number;
|
|
|
|
@ApiProperty()
|
|
totalAmount!: number;
|
|
|
|
@ApiProperty()
|
|
currency!: string;
|
|
|
|
@ApiPropertyOptional({ type: [PriceLineItemDto] })
|
|
lineItems?: PriceLineItemDto[];
|
|
|
|
@ApiPropertyOptional()
|
|
message?: string;
|
|
}
|