taxtank-core 0.30.24 → 0.30.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/collections/subscription/service-price.collection.mjs +7 -5
- package/esm2020/lib/models/bank/bank-transaction.mjs +4 -1
- package/esm2020/lib/models/service-subscription/service-price.mjs +5 -1
- package/esm2020/lib/models/service-subscription/service-subscription.mjs +8 -1
- package/esm2020/lib/models/transaction/allocation-rule-condition.mjs +6 -1
- package/fesm2015/taxtank-core.mjs +23 -4
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +23 -4
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/collections/subscription/service-price.collection.d.ts +2 -2
- package/lib/models/bank/bank-transaction.d.ts +1 -0
- package/lib/models/service-subscription/service-price.d.ts +1 -0
- package/lib/models/service-subscription/service-subscription.d.ts +2 -0
- package/lib/models/transaction/allocation-rule-condition.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8,10 +8,10 @@ export declare class ServicePriceCollection extends Collection<ServicePrice> {
|
|
|
8
8
|
getActive(): this;
|
|
9
9
|
get monthly(): this;
|
|
10
10
|
get monthlyPackage(): this;
|
|
11
|
-
|
|
11
|
+
getMonthlyPackageSum(propertyQuantity: any): number;
|
|
12
12
|
get annual(): this;
|
|
13
13
|
get annualPackage(): this;
|
|
14
|
-
|
|
14
|
+
getAnnualPackageSum(propertyQuantity: any): number;
|
|
15
15
|
getProperty(isAnnual: boolean, isPackage: boolean): ServicePrice;
|
|
16
16
|
get products(): ServiceProductCollection;
|
|
17
17
|
}
|
|
@@ -15,6 +15,8 @@ export declare class ServiceSubscription extends ServiceSubscriptionBase {
|
|
|
15
15
|
get frequency(): 'month' | 'year';
|
|
16
16
|
get isTrial(): boolean;
|
|
17
17
|
get isPaid(): boolean;
|
|
18
|
+
get initialPrice(): number;
|
|
19
|
+
get discountAmount(): number;
|
|
18
20
|
get price(): number;
|
|
19
21
|
/**
|
|
20
22
|
* get title of subscription
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AllocationRuleCondition as AllocationRuleConditionBase } from '../../db/Models/transaction/allocation-rule-condition';
|
|
2
2
|
import { BankTransaction } from '../bank';
|
|
3
3
|
export declare class AllocationRuleCondition extends AllocationRuleConditionBase {
|
|
4
|
+
value: string;
|
|
4
5
|
matchBankTransaction(bankTransaction: BankTransaction): boolean;
|
|
5
6
|
matchBankTransactionByAmount(bankTransaction: BankTransaction): boolean;
|
|
6
7
|
matchBankTransactionByDescription(bankTransaction: BankTransaction): boolean;
|