-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
45 lines (43 loc) · 922 Bytes
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export interface OrderProductExtra {
orderProductExtraId: number;
orderProductId: number;
productId: number;
name: string;
unitPriceExVat: number;
vatPercent: number;
vatCode: string;
quantity: number;
discountPercent: number;
extraType: string;
}
export interface OrderProduct {
orderProductId: number;
orderId: number;
ticketId: number;
name: string;
unitPriceExVat: number;
vatPercent: number;
vatCode: string;
quantity: number;
feeSum: number;
eventTicketCategoryId: number;
discountPercent: number;
organizerFee: number;
status: string;
comment: string;
degreeOfCoverage: number;
coverageContribution: number;
productGroupUniqueId: string;
supplierId: number;
extras: OrderProductExtra[];
}
export interface ReceiptFormat {
name: string;
quantity: number;
price: number;
extras: {
name: string;
quantity: number;
price: number;
}[];
}