@bondsports/types 2.2.12 → 2.2.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,9 @@ import { Product } from '../../../product-pricing/entities/Product';
|
|
10
10
|
import { ResourceDto } from '../../../resources/dto/resource.dto';
|
11
11
|
import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
12
12
|
import { PurchasePaymentDto } from '../../dto/purchase.dto';
|
13
|
+
import { User } from '../../../user/entities/User';
|
14
|
+
import { Organization } from '../../../organization/entities/Organization';
|
15
|
+
import { UserPaymentMethod } from '../../../entity/user-payment-method';
|
13
16
|
export type UserCount = {
|
14
17
|
male: number;
|
15
18
|
female: number;
|
@@ -35,6 +38,11 @@ export interface ILineItem {
|
|
35
38
|
quantity: number;
|
36
39
|
totalPrice?: number;
|
37
40
|
}
|
41
|
+
export interface ChargeInstallmentDataMap {
|
42
|
+
usersMap: Map<number, User>;
|
43
|
+
organizationsMap: Map<number, Organization>;
|
44
|
+
userPaymentMethodMap: Map<number, UserPaymentMethod>;
|
45
|
+
}
|
38
46
|
export interface IChargeInvoice extends ISaveInvoicePayment {
|
39
47
|
amountToPay?: number;
|
40
48
|
resources?: ResourceDto[];
|