mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 05:18:11 +00:00
change price logic on the ,rule engine ui, auto generate the contrat
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user