cecon-interfaces 1.1.87 → 1.1.89
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/subscription-customer/entities/subscription.entity.mjs +7 -3
- package/dist/esm2022/subscription-customer/interfaces/i-subscription.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +6 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/subscription-customer/entities/subscription.entity.d.ts +5 -0
- package/dist/subscription-customer/entities/subscription.entity.js +6 -2
- package/dist/subscription-customer/interfaces/i-subscription.d.ts +5 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -1,7 +1,12 @@
|
|
1
|
+
import { IInvoice } from '../../invoice';
|
1
2
|
import { SubscriptionBaseEntity } from '../../subscription-base';
|
2
3
|
import { ISubscriptionCustomer } from '../interfaces/i-subscription';
|
3
4
|
import { SubscriptionCustomerProfileEntity } from './subscription-customer.entity';
|
4
5
|
export declare class SubscriptionCustomerEntity extends SubscriptionBaseEntity implements ISubscriptionCustomer {
|
6
|
+
amountUsed: number;
|
7
|
+
creditLimit: number;
|
8
|
+
currentBalance: number;
|
9
|
+
openedInvoices: IInvoice[];
|
5
10
|
profile: SubscriptionCustomerProfileEntity;
|
6
11
|
constructor(data?: Partial<SubscriptionCustomerEntity>);
|
7
12
|
}
|
@@ -20,11 +20,15 @@ var subscription_base_1 = require("../../subscription-base");
|
|
20
20
|
var subscription_customer_entity_1 = require("./subscription-customer.entity");
|
21
21
|
var SubscriptionCustomerEntity = /** @class */ (function (_super) {
|
22
22
|
__extends(SubscriptionCustomerEntity, _super);
|
23
|
-
// #endregion Properties (
|
23
|
+
// #endregion Properties (4)
|
24
24
|
// #region Constructors (1)
|
25
25
|
function SubscriptionCustomerEntity(data) {
|
26
26
|
var _this = _super.call(this, data) || this;
|
27
|
-
// #region Properties (
|
27
|
+
// #region Properties (4)
|
28
|
+
_this.amountUsed = 0;
|
29
|
+
_this.creditLimit = 0;
|
30
|
+
_this.currentBalance = 0;
|
31
|
+
_this.openedInvoices = [];
|
28
32
|
_this.profile = new subscription_customer_entity_1.SubscriptionCustomerProfileEntity();
|
29
33
|
if (data) {
|
30
34
|
for (var key in data) {
|
@@ -1,5 +1,10 @@
|
|
1
|
+
import { IInvoice } from '../../invoice';
|
1
2
|
import { ISubscriptionBase } from '../../subscription-base';
|
2
3
|
import { ISubscriptionCustomerProfile } from './i-subscription-customer';
|
3
4
|
export interface ISubscriptionCustomer extends ISubscriptionBase {
|
4
5
|
profile: ISubscriptionCustomerProfile;
|
6
|
+
creditLimit: number;
|
7
|
+
amountUsed: number;
|
8
|
+
currentBalance: number;
|
9
|
+
openedInvoices: IInvoice[];
|
5
10
|
}
|