mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 22:18:12 +00:00
27 lines
613 B
TypeScript
27 lines
613 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
|
|
export class InAppPaymentReceiptDto {
|
|
@ApiProperty({ example: true })
|
|
success!: boolean;
|
|
|
|
@ApiProperty({ example: 'TELEBIRR' })
|
|
provider!: string;
|
|
|
|
@ApiProperty({ example: 'TB-BK-2026-000123-1717584000000' })
|
|
providerRef!: string;
|
|
|
|
@ApiProperty({ example: 15000 })
|
|
amount!: number;
|
|
|
|
@ApiProperty({ example: 'ETB' })
|
|
currency!: string;
|
|
|
|
@ApiProperty({ example: '2026-06-05T12:00:00.000Z' })
|
|
paidAt!: string;
|
|
}
|
|
|
|
export class PayBookingResponseDto {
|
|
@ApiProperty({ type: InAppPaymentReceiptDto })
|
|
paymentReceipt!: InAppPaymentReceiptDto;
|
|
}
|