@colijnit/transactionapi 1.1.127 → 1.1.128
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.
|
@@ -4,6 +4,7 @@ import { PriceType } from '@colijnit/mainapi/build/enum/price-type.enum';
|
|
|
4
4
|
import { RelationSmallObject } from '@colijnit/relationapi/build/model/relation-small-object.bo';
|
|
5
5
|
import { TransactionStatusInfo } from './transaction-status-info.bo';
|
|
6
6
|
import { OrderLineSetInfo } from "./order-line-set-info.bo";
|
|
7
|
+
import { RelationContactLink } from '@colijnit/relationapi/build/model/relation-contact-link.bo';
|
|
7
8
|
export declare class TransactionInfo extends BusinessObject {
|
|
8
9
|
uuid: string;
|
|
9
10
|
id: number;
|
|
@@ -15,19 +16,21 @@ export declare class TransactionInfo extends BusinessObject {
|
|
|
15
16
|
branch: RelationSmallObject;
|
|
16
17
|
currencyId: number;
|
|
17
18
|
priceKind: PriceType;
|
|
19
|
+
priceListCode: string;
|
|
18
20
|
deliveryMethod: string;
|
|
19
21
|
deliveryDate: Date;
|
|
20
22
|
allowPartialDelivery: boolean;
|
|
21
23
|
deliveryDateDefinitive: boolean;
|
|
22
24
|
transactionDefinitive: boolean;
|
|
23
|
-
transactionDiscountPercentage: number;
|
|
24
25
|
printDiscount: boolean;
|
|
25
26
|
releaseTransaction: boolean;
|
|
26
27
|
dontSendOrderForms: boolean;
|
|
27
28
|
preferredDeliveryDate: Date;
|
|
28
29
|
preferredDeliveryDate2: string;
|
|
30
|
+
deliveryTime: Date;
|
|
29
31
|
remark: string;
|
|
30
32
|
marketingCode: string;
|
|
33
|
+
projectCodeId: number;
|
|
31
34
|
relationReference: string;
|
|
32
35
|
ownReference: string;
|
|
33
36
|
admCoordinator: number;
|
|
@@ -41,14 +44,19 @@ export declare class TransactionInfo extends BusinessObject {
|
|
|
41
44
|
useDepositRule: boolean;
|
|
42
45
|
amountToSettle: number;
|
|
43
46
|
divideEvenly: boolean;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
cashRegisterNr: number;
|
|
48
|
+
cashRegisterGroupId: number;
|
|
49
|
+
contactPersonId: number;
|
|
47
50
|
expectedScoringDate: Date;
|
|
48
51
|
scoringChance: number;
|
|
49
52
|
retailStadium: number;
|
|
50
|
-
|
|
53
|
+
transactionDiscountPercentage: number;
|
|
54
|
+
messages: string[];
|
|
55
|
+
deliveryOptions: string[];
|
|
56
|
+
onHoldCodes: string[];
|
|
51
57
|
orderLineSets: OrderLineSetInfo[];
|
|
58
|
+
headerInfoStatus: TransactionStatusInfo;
|
|
59
|
+
contacts: RelationContactLink[];
|
|
52
60
|
canPlanDelivery: boolean;
|
|
53
61
|
printerName: string;
|
|
54
62
|
reportId: number;
|
|
@@ -18,12 +18,14 @@ const relation_small_object_bo_1 = require("@colijnit/relationapi/build/model/re
|
|
|
18
18
|
const transaction_status_info_bo_1 = require("./transaction-status-info.bo");
|
|
19
19
|
const order_line_set_info_bo_1 = require("./order-line-set-info.bo");
|
|
20
20
|
const complex_array_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator");
|
|
21
|
+
const relation_contact_link_bo_1 = require("@colijnit/relationapi/build/model/relation-contact-link.bo");
|
|
21
22
|
class TransactionInfo extends business_object_1.BusinessObject {
|
|
22
23
|
constructor() {
|
|
23
24
|
super(...arguments);
|
|
24
25
|
this.messages = [];
|
|
25
26
|
this.deliveryOptions = [];
|
|
26
27
|
this.onHoldCodes = [];
|
|
28
|
+
this.contacts = [];
|
|
27
29
|
this.canPlanDelivery = false;
|
|
28
30
|
}
|
|
29
31
|
get displayName() {
|
|
@@ -50,6 +52,10 @@ __decorate([
|
|
|
50
52
|
date_field_decorator_1.DateField(),
|
|
51
53
|
__metadata("design:type", Date)
|
|
52
54
|
], TransactionInfo.prototype, "preferredDeliveryDate", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
date_field_decorator_1.DateField(),
|
|
57
|
+
__metadata("design:type", Date)
|
|
58
|
+
], TransactionInfo.prototype, "deliveryTime", void 0);
|
|
53
59
|
__decorate([
|
|
54
60
|
date_field_decorator_1.DateField(),
|
|
55
61
|
__metadata("design:type", Date)
|
|
@@ -58,14 +64,18 @@ __decorate([
|
|
|
58
64
|
date_field_decorator_1.DateField(),
|
|
59
65
|
__metadata("design:type", Date)
|
|
60
66
|
], TransactionInfo.prototype, "expectedScoringDate", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
complex_array_decorator_1.ComplexArray(order_line_set_info_bo_1.OrderLineSetInfo),
|
|
69
|
+
__metadata("design:type", Array)
|
|
70
|
+
], TransactionInfo.prototype, "orderLineSets", void 0);
|
|
61
71
|
__decorate([
|
|
62
72
|
complex_field_decorator_1.ComplexField(transaction_status_info_bo_1.TransactionStatusInfo),
|
|
63
73
|
__metadata("design:type", transaction_status_info_bo_1.TransactionStatusInfo)
|
|
64
74
|
], TransactionInfo.prototype, "headerInfoStatus", void 0);
|
|
65
75
|
__decorate([
|
|
66
|
-
complex_array_decorator_1.ComplexArray(
|
|
76
|
+
complex_array_decorator_1.ComplexArray(relation_contact_link_bo_1.RelationContactLink),
|
|
67
77
|
__metadata("design:type", Array)
|
|
68
|
-
], TransactionInfo.prototype, "
|
|
78
|
+
], TransactionInfo.prototype, "contacts", void 0);
|
|
69
79
|
__decorate([
|
|
70
80
|
no_db_field_decorator_1.NoDbField(),
|
|
71
81
|
__metadata("design:type", Boolean)
|