@pmcretail/mapper-library 0.0.49 → 0.0.52

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.
Files changed (32) hide show
  1. package/README.md +24 -24
  2. package/bundles/pmcretail-mapper-library.umd.js +4379 -4373
  3. package/bundles/pmcretail-mapper-library.umd.js.map +1 -1
  4. package/esm2015/lib/RJ-mapper.class.js +877 -877
  5. package/esm2015/lib/TransactionDocumentBuilder.js +1244 -1244
  6. package/esm2015/lib/WebReturn-mapper.class.js +326 -326
  7. package/esm2015/lib/WebReturnMagento2RestV1.class.js +275 -269
  8. package/esm2015/lib/WebReturnSalesforceMapper.class.js +409 -409
  9. package/esm2015/lib/basket.service.js +527 -527
  10. package/esm2015/lib/mapper-library.component.js +26 -26
  11. package/esm2015/lib/mapper-library.model.js +41 -41
  12. package/esm2015/lib/mapper-library.module.js +21 -21
  13. package/esm2015/lib/number-util.service.js +42 -42
  14. package/esm2015/pmcretail-mapper-library.js +4 -4
  15. package/esm2015/public-api.js +10 -10
  16. package/fesm2015/pmcretail-mapper-library.js +3743 -3737
  17. package/fesm2015/pmcretail-mapper-library.js.map +1 -1
  18. package/lib/RJ-mapper.class.d.ts +80 -80
  19. package/lib/TransactionDocumentBuilder.d.ts +271 -271
  20. package/lib/WebReturn-mapper.class.d.ts +27 -27
  21. package/lib/WebReturnMagento2RestV1.class.d.ts +30 -30
  22. package/lib/WebReturnMagento2RestV1.class.d.ts.map +1 -1
  23. package/lib/WebReturnSalesforceMapper.class.d.ts +35 -35
  24. package/lib/basket.service.d.ts +105 -105
  25. package/lib/mapper-library.component.d.ts +8 -8
  26. package/lib/mapper-library.model.d.ts +702 -701
  27. package/lib/mapper-library.model.d.ts.map +1 -1
  28. package/lib/mapper-library.module.d.ts +7 -7
  29. package/lib/number-util.service.d.ts +13 -13
  30. package/package.json +2 -2
  31. package/pmcretail-mapper-library.d.ts +5 -5
  32. package/public-api.d.ts +6 -6
@@ -1,272 +1,272 @@
1
- import { CurrencyPipe } from "@angular/common";
2
- import { Customer, TransactionDocument } from "./mapper-library.model";
3
- import { Basket, UserOverride } from "./mapper-library.model";
4
- import { BasketService } from "./basket.service";
5
- /**
6
- * Transaction document builder
7
- */
8
- export declare class TransactionDocumentBuilder {
9
- private currencyPipe?;
10
- private basketService?;
11
- private transactionDocument;
12
- private numberUtilService;
13
- private storeInfo;
14
- className: string;
15
- constructor(transactionDoc?: TransactionDocument, currencyPipe?: CurrencyPipe, basketService?: BasketService | any);
16
- /**
17
- * Transactions ref
18
- * @returns ref
19
- */
20
- transactionRef(): TransactionDocumentBuilder;
21
- /**
22
- * Transactions id
23
- * @param transactionID
24
- * @returns id
25
- */
26
- transactionId(transactionID: string, isOnline?: boolean): TransactionDocumentBuilder;
27
- /**
28
- * Transactions id
29
- * @param transactionID
30
- * @returns id
31
- */
32
- offlineTransactionId(transactionID: string, isOnline: any): TransactionDocumentBuilder;
33
- /**
34
- * storeNode Id
35
- * @param storeNodeId
36
- * @returns id
37
- */
38
- storeNodeId(storeNodeId: string): TransactionDocumentBuilder;
39
- /**
40
- * storeNode structure
41
- * @param storeNodeStructure
42
- * @returns id
43
- */
44
- storeNodeStructure(storeNodeStructure: string): TransactionDocumentBuilder;
45
- /**
46
- * Orgs code
47
- * @param orgCode
48
- * @returns code
49
- */
50
- orgCode(orgCode: any): TransactionDocumentBuilder;
51
- /**
52
- * Stores id
53
- * @param storeId
54
- * @returns id
55
- */
56
- storeId(storeId: any): TransactionDocumentBuilder;
57
- /**
58
- * Dates time
59
- * @returns time
60
- */
61
- dateTime(): TransactionDocumentBuilder;
62
- /**
63
- * Devices id
64
- * @param deviceId
65
- * @returns id
66
- */
67
- deviceId(deviceId: any): TransactionDocumentBuilder;
68
- /**
69
- * terminal id
70
- * @param terminalId
71
- * @returns id
72
- */
73
- terminalId(terminalId: any): TransactionDocumentBuilder;
74
- /**
75
- * saleExport
76
- * @param saleExport
77
- * @returns id
78
- */
79
- export(saleExport: any): TransactionDocumentBuilder;
80
- /**
81
- * Baskets transaction document builder
82
- * @param basketDetails
83
- * @returns basket
84
- */
85
- basket(basketDetails: Basket): TransactionDocumentBuilder;
86
- /**
87
- * current transaction Details Total(New Products)
88
- * @returns currentTransactionDetails
89
- */
90
- currentTransactionDetails(basket: Basket): TransactionDocumentBuilder;
91
- /**
92
- * current transaction Tax Total
93
- * @returns Tax Total
94
- */
95
- updateCurrentTransactionDetailsTaxBreakdown(basketDetails: Basket): TransactionDocumentBuilder;
96
- updateCurrentTransactionDetailsTotalTaxSummary(): TransactionDocumentBuilder;
97
- /**
98
- * current transaction Disocunt Total
99
- * @returns Discount Total
100
- */
101
- updateCurrentTransactionDetailsDiscountTotal(): number;
102
- /**
103
- * current transaction Refund Total
104
- * @returns Refund Total
105
- */
106
- updateCurrentTransactionDetailsRefundTotal(): number;
107
- /**
108
- * Baskets summary
109
- * @param basketDetails
110
- * @returns summary
111
- */
112
- basketSummary(basketDetails: Basket): TransactionDocumentBuilder;
113
- /**
114
- * Line Discount
115
- * @param basketDetails
116
- * @returns line Discount
117
- */
118
- lineDiscount(basketDetails: Basket): TransactionDocumentBuilder;
119
- /**
120
- * exchange
121
- * @param basketDetails
122
- * @returns exchange
123
- */
124
- exchange(basketDetails: Basket): TransactionDocumentBuilder;
125
- /**
126
- * add previous exchange data
127
- * @param originalTransactionDocument
128
- * @returns line Promotions
129
- */
130
- addExchangeData(originalTransactionDocument: TransactionDocument): TransactionDocumentBuilder;
131
- /**
132
- * line Promotions
133
- * @param basketDetails
134
- * @returns line Promotions
135
- */
136
- linePromotion(basketDetails: Basket): TransactionDocumentBuilder;
137
- /**
138
- * transaction Promotion
139
- * @param basketDetails
140
- * @returns transaction Promotion
141
- */
142
- transactionPromotion(basketDetails: Basket): TransactionDocumentBuilder;
143
- transactionDiscount(basketDetails: Basket): TransactionDocumentBuilder;
144
- /**
145
- * Payments details
146
- * @param paymentDetails
147
- * @returns
148
- */
149
- paymentDetails(paymentDetails: any): this;
150
- /**
151
- * Payments details
152
- * @param paymentDetails
153
- * @returns
154
- */
155
- splitPayment(splitPayment: boolean): this;
156
- /**
157
- * Payments details
158
- * @param paymentDetails
159
- * @returns
160
- */
161
- isPaymentCompleted(isPaymentCompleted: boolean): this;
162
- /**
163
- * Bases currency
164
- * @param currency
165
- * @returns currency
166
- */
167
- baseCurrency(currency: any): TransactionDocumentBuilder;
168
- /**
169
- * gift option at
170
- * @returns at
171
- */
172
- giftOption(gift: any): TransactionDocumentBuilder;
173
- /**
174
-
175
- /**
176
- * manual Discount
177
- * @param discountData
178
- * @returns
179
- */
180
- /**
181
- * Types transaction document builder
182
- * @param t
183
- * @returns type
184
- */
185
- type(t: any): TransactionDocumentBuilder;
186
- /**
187
- * Operations status
188
- * @param o
189
- * @returns status
190
- */
191
- operationStatus(o: any): TransactionDocumentBuilder;
192
- /**
193
- * Created at
194
- * @returns at
195
- */
196
- createdAt(): TransactionDocumentBuilder;
197
- /**
198
- * Updated at
199
- * @returns at
200
- */
201
- updatedAt(): TransactionDocumentBuilder;
202
- /**
203
- * transsaction completion at
204
- * @returns transaction completion date
205
- */
206
- transactionCompletedAt(): TransactionDocumentBuilder;
207
- /**
208
- * Builds transaction document builder
209
- * @returns build
210
- */
211
- build(): TransactionDocument;
212
- /**
213
- * Sales total in refund
214
- * @param saleTotal
215
- * @returns total in refund
216
- */
217
- saleTotalInRefund(saleTotal: number): TransactionDocumentBuilder;
218
- /**
219
- * Gets basket details
220
- * @returns basket details
221
- */
222
- getBasketDetails(): Basket;
223
- /**
224
- * Gets basket details
225
- * @returns refund basket details
226
- */
227
- getTransactionDiscountAndTransactionPromotionPortion(basket: any): any;
228
- getTotalDiscountWithTransactionDiscountsAndPromotions(basketDetails: any): number;
229
- appendCurrencySymbol(currency: number, value: number): string | number;
230
- /**
231
- * Sale Total
232
- * @param basketDetails
233
- * @returns Sale Total
234
- */
235
- updateSaleTotal(basketDetails: {
236
- products: any[];
237
- }): any;
238
- getTotalWithLineDiscountAndLinePromotionApplied(basketDetails: {
239
- products: any;
240
- }): number;
241
- getRefundedTotalWithQuantity(basketDetails: {
242
- products: string | any[];
243
- }): number;
244
- /**
245
- * Discount Total
246
- * @returns Discount Total
247
- */
248
- updateDiscountTotal(): number;
249
- updateReasonCode(reasonCode: {
250
- code: string;
251
- name: string;
252
- }): TransactionDocumentBuilder;
253
- updateManagerOverride(useroverride: UserOverride): TransactionDocumentBuilder;
254
- updateUserID(userID: string): TransactionDocumentBuilder;
255
- updateUserName(name: any): TransactionDocumentBuilder;
256
- addCustomerDetails(customerDetail: Customer): TransactionDocumentBuilder;
257
- updateTaxBreakdown(basketDetails: Basket): TransactionDocumentBuilder;
258
- updateTotalTaxSummary(): TransactionDocumentBuilder;
259
- /**
260
- * TransactionId
261
- * @returns OriginalTransactionId
262
- */
263
- addOriginalTransId(tranDoc: TransactionDocument): TransactionDocumentBuilder;
264
- /**
265
- * unreferenced Refund
266
- * @returns boolean value
267
- */
268
- addUnreferencedRefund(): TransactionDocumentBuilder;
269
- getRefundTotal(): number;
270
- docId(docId: any): TransactionDocumentBuilder;
271
- }
1
+ import { CurrencyPipe } from "@angular/common";
2
+ import { Customer, TransactionDocument } from "./mapper-library.model";
3
+ import { Basket, UserOverride } from "./mapper-library.model";
4
+ import { BasketService } from "./basket.service";
5
+ /**
6
+ * Transaction document builder
7
+ */
8
+ export declare class TransactionDocumentBuilder {
9
+ private currencyPipe?;
10
+ private basketService?;
11
+ private transactionDocument;
12
+ private numberUtilService;
13
+ private storeInfo;
14
+ className: string;
15
+ constructor(transactionDoc?: TransactionDocument, currencyPipe?: CurrencyPipe, basketService?: BasketService | any);
16
+ /**
17
+ * Transactions ref
18
+ * @returns ref
19
+ */
20
+ transactionRef(): TransactionDocumentBuilder;
21
+ /**
22
+ * Transactions id
23
+ * @param transactionID
24
+ * @returns id
25
+ */
26
+ transactionId(transactionID: string, isOnline?: boolean): TransactionDocumentBuilder;
27
+ /**
28
+ * Transactions id
29
+ * @param transactionID
30
+ * @returns id
31
+ */
32
+ offlineTransactionId(transactionID: string, isOnline: any): TransactionDocumentBuilder;
33
+ /**
34
+ * storeNode Id
35
+ * @param storeNodeId
36
+ * @returns id
37
+ */
38
+ storeNodeId(storeNodeId: string): TransactionDocumentBuilder;
39
+ /**
40
+ * storeNode structure
41
+ * @param storeNodeStructure
42
+ * @returns id
43
+ */
44
+ storeNodeStructure(storeNodeStructure: string): TransactionDocumentBuilder;
45
+ /**
46
+ * Orgs code
47
+ * @param orgCode
48
+ * @returns code
49
+ */
50
+ orgCode(orgCode: any): TransactionDocumentBuilder;
51
+ /**
52
+ * Stores id
53
+ * @param storeId
54
+ * @returns id
55
+ */
56
+ storeId(storeId: any): TransactionDocumentBuilder;
57
+ /**
58
+ * Dates time
59
+ * @returns time
60
+ */
61
+ dateTime(): TransactionDocumentBuilder;
62
+ /**
63
+ * Devices id
64
+ * @param deviceId
65
+ * @returns id
66
+ */
67
+ deviceId(deviceId: any): TransactionDocumentBuilder;
68
+ /**
69
+ * terminal id
70
+ * @param terminalId
71
+ * @returns id
72
+ */
73
+ terminalId(terminalId: any): TransactionDocumentBuilder;
74
+ /**
75
+ * saleExport
76
+ * @param saleExport
77
+ * @returns id
78
+ */
79
+ export(saleExport: any): TransactionDocumentBuilder;
80
+ /**
81
+ * Baskets transaction document builder
82
+ * @param basketDetails
83
+ * @returns basket
84
+ */
85
+ basket(basketDetails: Basket): TransactionDocumentBuilder;
86
+ /**
87
+ * current transaction Details Total(New Products)
88
+ * @returns currentTransactionDetails
89
+ */
90
+ currentTransactionDetails(basket: Basket): TransactionDocumentBuilder;
91
+ /**
92
+ * current transaction Tax Total
93
+ * @returns Tax Total
94
+ */
95
+ updateCurrentTransactionDetailsTaxBreakdown(basketDetails: Basket): TransactionDocumentBuilder;
96
+ updateCurrentTransactionDetailsTotalTaxSummary(): TransactionDocumentBuilder;
97
+ /**
98
+ * current transaction Disocunt Total
99
+ * @returns Discount Total
100
+ */
101
+ updateCurrentTransactionDetailsDiscountTotal(): number;
102
+ /**
103
+ * current transaction Refund Total
104
+ * @returns Refund Total
105
+ */
106
+ updateCurrentTransactionDetailsRefundTotal(): number;
107
+ /**
108
+ * Baskets summary
109
+ * @param basketDetails
110
+ * @returns summary
111
+ */
112
+ basketSummary(basketDetails: Basket): TransactionDocumentBuilder;
113
+ /**
114
+ * Line Discount
115
+ * @param basketDetails
116
+ * @returns line Discount
117
+ */
118
+ lineDiscount(basketDetails: Basket): TransactionDocumentBuilder;
119
+ /**
120
+ * exchange
121
+ * @param basketDetails
122
+ * @returns exchange
123
+ */
124
+ exchange(basketDetails: Basket): TransactionDocumentBuilder;
125
+ /**
126
+ * add previous exchange data
127
+ * @param originalTransactionDocument
128
+ * @returns line Promotions
129
+ */
130
+ addExchangeData(originalTransactionDocument: TransactionDocument): TransactionDocumentBuilder;
131
+ /**
132
+ * line Promotions
133
+ * @param basketDetails
134
+ * @returns line Promotions
135
+ */
136
+ linePromotion(basketDetails: Basket): TransactionDocumentBuilder;
137
+ /**
138
+ * transaction Promotion
139
+ * @param basketDetails
140
+ * @returns transaction Promotion
141
+ */
142
+ transactionPromotion(basketDetails: Basket): TransactionDocumentBuilder;
143
+ transactionDiscount(basketDetails: Basket): TransactionDocumentBuilder;
144
+ /**
145
+ * Payments details
146
+ * @param paymentDetails
147
+ * @returns
148
+ */
149
+ paymentDetails(paymentDetails: any): this;
150
+ /**
151
+ * Payments details
152
+ * @param paymentDetails
153
+ * @returns
154
+ */
155
+ splitPayment(splitPayment: boolean): this;
156
+ /**
157
+ * Payments details
158
+ * @param paymentDetails
159
+ * @returns
160
+ */
161
+ isPaymentCompleted(isPaymentCompleted: boolean): this;
162
+ /**
163
+ * Bases currency
164
+ * @param currency
165
+ * @returns currency
166
+ */
167
+ baseCurrency(currency: any): TransactionDocumentBuilder;
168
+ /**
169
+ * gift option at
170
+ * @returns at
171
+ */
172
+ giftOption(gift: any): TransactionDocumentBuilder;
173
+ /**
174
+
175
+ /**
176
+ * manual Discount
177
+ * @param discountData
178
+ * @returns
179
+ */
180
+ /**
181
+ * Types transaction document builder
182
+ * @param t
183
+ * @returns type
184
+ */
185
+ type(t: any): TransactionDocumentBuilder;
186
+ /**
187
+ * Operations status
188
+ * @param o
189
+ * @returns status
190
+ */
191
+ operationStatus(o: any): TransactionDocumentBuilder;
192
+ /**
193
+ * Created at
194
+ * @returns at
195
+ */
196
+ createdAt(): TransactionDocumentBuilder;
197
+ /**
198
+ * Updated at
199
+ * @returns at
200
+ */
201
+ updatedAt(): TransactionDocumentBuilder;
202
+ /**
203
+ * transsaction completion at
204
+ * @returns transaction completion date
205
+ */
206
+ transactionCompletedAt(): TransactionDocumentBuilder;
207
+ /**
208
+ * Builds transaction document builder
209
+ * @returns build
210
+ */
211
+ build(): TransactionDocument;
212
+ /**
213
+ * Sales total in refund
214
+ * @param saleTotal
215
+ * @returns total in refund
216
+ */
217
+ saleTotalInRefund(saleTotal: number): TransactionDocumentBuilder;
218
+ /**
219
+ * Gets basket details
220
+ * @returns basket details
221
+ */
222
+ getBasketDetails(): Basket;
223
+ /**
224
+ * Gets basket details
225
+ * @returns refund basket details
226
+ */
227
+ getTransactionDiscountAndTransactionPromotionPortion(basket: any): any;
228
+ getTotalDiscountWithTransactionDiscountsAndPromotions(basketDetails: any): number;
229
+ appendCurrencySymbol(currency: number, value: number): string | number;
230
+ /**
231
+ * Sale Total
232
+ * @param basketDetails
233
+ * @returns Sale Total
234
+ */
235
+ updateSaleTotal(basketDetails: {
236
+ products: any[];
237
+ }): any;
238
+ getTotalWithLineDiscountAndLinePromotionApplied(basketDetails: {
239
+ products: any;
240
+ }): number;
241
+ getRefundedTotalWithQuantity(basketDetails: {
242
+ products: string | any[];
243
+ }): number;
244
+ /**
245
+ * Discount Total
246
+ * @returns Discount Total
247
+ */
248
+ updateDiscountTotal(): number;
249
+ updateReasonCode(reasonCode: {
250
+ code: string;
251
+ name: string;
252
+ }): TransactionDocumentBuilder;
253
+ updateManagerOverride(useroverride: UserOverride): TransactionDocumentBuilder;
254
+ updateUserID(userID: string): TransactionDocumentBuilder;
255
+ updateUserName(name: any): TransactionDocumentBuilder;
256
+ addCustomerDetails(customerDetail: Customer): TransactionDocumentBuilder;
257
+ updateTaxBreakdown(basketDetails: Basket): TransactionDocumentBuilder;
258
+ updateTotalTaxSummary(): TransactionDocumentBuilder;
259
+ /**
260
+ * TransactionId
261
+ * @returns OriginalTransactionId
262
+ */
263
+ addOriginalTransId(tranDoc: TransactionDocument): TransactionDocumentBuilder;
264
+ /**
265
+ * unreferenced Refund
266
+ * @returns boolean value
267
+ */
268
+ addUnreferencedRefund(): TransactionDocumentBuilder;
269
+ getRefundTotal(): number;
270
+ docId(docId: any): TransactionDocumentBuilder;
271
+ }
272
272
  //# sourceMappingURL=TransactionDocumentBuilder.d.ts.map
@@ -1,28 +1,28 @@
1
- import { CurrencyPipe } from "@angular/common";
2
- import { TransactionDocument, TProduct, TransactionPromotion } from "./mapper-library.model";
3
- export declare class WebReturnMapperBuilderClass {
4
- private currencyPipe?;
5
- className: string;
6
- private document;
7
- private webReturnObject;
8
- numberUtilService: any;
9
- constructor(document: any, currencyPipe?: CurrencyPipe);
10
- WebReturnMapper(): this;
11
- validateProductItemDiscount(product: TProduct): TProduct;
12
- transactionPromotionProductPortionCalc(txDoc: TransactionDocument, promotion: TransactionPromotion): TransactionDocument;
13
- updateTransactionPromotionPrtionCalc(): void;
14
- deviceId(deviceId: any): this;
15
- terminalId(terminalId: any): this;
16
- orgCode(orgCode: any): this;
17
- storeId(storeId: any): this;
18
- storeNodeId(storeNodeId: string): this;
19
- storeNodeStructure(storeNodeStructure: string): this;
20
- docId(docId: any): this;
21
- updateUserID(userID: string): this;
22
- updateUserName(name: any): this;
23
- build(): TransactionDocument;
24
- getText(obj: any): any;
25
- getUTCDateTime(date: any): string;
26
- isInStoreOrder(): this;
27
- }
1
+ import { CurrencyPipe } from "@angular/common";
2
+ import { TransactionDocument, TProduct, TransactionPromotion } from "./mapper-library.model";
3
+ export declare class WebReturnMapperBuilderClass {
4
+ private currencyPipe?;
5
+ className: string;
6
+ private document;
7
+ private webReturnObject;
8
+ numberUtilService: any;
9
+ constructor(document: any, currencyPipe?: CurrencyPipe);
10
+ WebReturnMapper(): this;
11
+ validateProductItemDiscount(product: TProduct): TProduct;
12
+ transactionPromotionProductPortionCalc(txDoc: TransactionDocument, promotion: TransactionPromotion): TransactionDocument;
13
+ updateTransactionPromotionPrtionCalc(): void;
14
+ deviceId(deviceId: any): this;
15
+ terminalId(terminalId: any): this;
16
+ orgCode(orgCode: any): this;
17
+ storeId(storeId: any): this;
18
+ storeNodeId(storeNodeId: string): this;
19
+ storeNodeStructure(storeNodeStructure: string): this;
20
+ docId(docId: any): this;
21
+ updateUserID(userID: string): this;
22
+ updateUserName(name: any): this;
23
+ build(): TransactionDocument;
24
+ getText(obj: any): any;
25
+ getUTCDateTime(date: any): string;
26
+ isInStoreOrder(): this;
27
+ }
28
28
  //# sourceMappingURL=WebReturn-mapper.class.d.ts.map
@@ -1,31 +1,31 @@
1
- import { CurrencyPipe } from "@angular/common";
2
- import { TransactionDocument } from "./mapper-library.model";
3
- export declare class WebReturnMagento2RestV1MapperBuilderClass {
4
- private currencyPipe?;
5
- className: string;
6
- private orderDetails;
7
- private webReturnObject;
8
- numberUtilService: any;
9
- constructor(orderDetails: any, currencyPipe?: CurrencyPipe);
10
- webReturnCommonMapper(): this;
11
- product(): this;
12
- linePromotion(): this;
13
- customer(): this;
14
- isInStoreOrder(): this;
15
- externalTransactionDetails(invoiceId: string): this;
16
- basketSummary(): this;
17
- refundRequest(): this;
18
- updateTaxBreakdown(): this;
19
- deviceId(deviceId: any): this;
20
- terminalId(terminalId: any): this;
21
- orgCode(orgCode: any): this;
22
- storeId(): this;
23
- storeNodeId(storeNodeId: string): this;
24
- storeNodeStructure(storeNodeStructure: string): this;
25
- docId(docId: any): this;
26
- updateUserID(userID: string): this;
27
- updateUserName(name: any): this;
28
- build(): TransactionDocument;
29
- getUTCDateTime(date: any): string;
30
- }
1
+ import { CurrencyPipe } from "@angular/common";
2
+ import { TransactionDocument } from "./mapper-library.model";
3
+ export declare class WebReturnMagento2RestV1MapperBuilderClass {
4
+ private currencyPipe?;
5
+ className: string;
6
+ private orderDetails;
7
+ private webReturnObject;
8
+ numberUtilService: any;
9
+ constructor(orderDetails: any, currencyPipe?: CurrencyPipe);
10
+ webReturnCommonMapper(): this;
11
+ product(): this;
12
+ linePromotion(): this;
13
+ customer(): this;
14
+ isInStoreOrder(): this;
15
+ externalTransactionDetails(invoiceId: string): this;
16
+ basketSummary(): this;
17
+ refundRequest(): this;
18
+ updateTaxBreakdown(): this;
19
+ deviceId(deviceId: any): this;
20
+ terminalId(terminalId: any): this;
21
+ orgCode(orgCode: any): this;
22
+ storeId(): this;
23
+ storeNodeId(storeNodeId: string): this;
24
+ storeNodeStructure(storeNodeStructure: string): this;
25
+ docId(docId: any): this;
26
+ updateUserID(userID: string): this;
27
+ updateUserName(name: any): this;
28
+ build(): TransactionDocument;
29
+ getUTCDateTime(date: any): string;
30
+ }
31
31
  //# sourceMappingURL=WebReturnMagento2RestV1.class.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebReturnMagento2RestV1.class.d.ts","sourceRoot":"","sources":["../../../projects/mapper-library/src/lib/WebReturnMagento2RestV1.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAuO,mBAAmB,EAAoI,MAAM,wBAAwB,CAAC;AAIpa,qBAAa,yCAAyC;IAoC9C,OAAO,CAAC,YAAY,CAAC;IAlCzB,SAAS,SAA+C;IACxD,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,eAAe,CA4BtB;IACD,iBAAiB,EAAE,GAAG,CAAC;gBAEX,YAAY,EAAE,GAAG,EACjB,YAAY,CAAC,EAAE,YAAY;IAQvC,qBAAqB;IAgBrB,OAAO;IAqBP,aAAa;IAwBb,QAAQ;IAkDR,cAAc;IAOd,0BAA0B,CAAC,SAAS,EAAE,MAAM;IAoB5C,aAAa;IA0Bb,aAAa;IAkBb,kBAAkB;IAgClB,QAAQ,CAAC,QAAQ,KAAA;IAKjB,UAAU,CAAC,UAAU,KAAA;IAKrB,OAAO,CAAC,OAAO,KAAA;IAKf,OAAO;IAKP,WAAW,CAAC,WAAW,EAAE,MAAM;IAK/B,kBAAkB,CAAC,kBAAkB,EAAE,MAAM;IAK7C,KAAK,CAAC,KAAK,KAAA;IAKX,YAAY,CAAC,MAAM,EAAE,MAAM;IAK3B,cAAc,CAAC,IAAI,KAAA;IAKnB,KAAK;IAKL,cAAc,CAAC,IAAI,KAAA;CAKtB"}
1
+ {"version":3,"file":"WebReturnMagento2RestV1.class.d.ts","sourceRoot":"","sources":["../../../projects/mapper-library/src/lib/WebReturnMagento2RestV1.class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAA4F,mBAAmB,EAAsD,MAAM,wBAAwB,CAAC;AAI3M,qBAAa,yCAAyC;IAoC9C,OAAO,CAAC,YAAY,CAAC;IAlCzB,SAAS,SAA+C;IACxD,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,eAAe,CA4BtB;IACD,iBAAiB,EAAE,GAAG,CAAC;gBAEX,YAAY,EAAE,GAAG,EACjB,YAAY,CAAC,EAAE,YAAY;IAQvC,qBAAqB;IAgBrB,OAAO;IAqBP,aAAa;IAwBb,QAAQ;IAmDR,cAAc;IAOd,0BAA0B,CAAC,SAAS,EAAE,MAAM;IAoB5C,aAAa;IA0Bb,aAAa;IAmBb,kBAAkB;IAgClB,QAAQ,CAAC,QAAQ,KAAA;IAKjB,UAAU,CAAC,UAAU,KAAA;IAKrB,OAAO,CAAC,OAAO,KAAA;IAKf,OAAO;IAKP,WAAW,CAAC,WAAW,EAAE,MAAM;IAK/B,kBAAkB,CAAC,kBAAkB,EAAE,MAAM;IAK7C,KAAK,CAAC,KAAK,KAAA;IAKX,YAAY,CAAC,MAAM,EAAE,MAAM;IAK3B,cAAc,CAAC,IAAI,KAAA;IAKnB,KAAK;IAKL,cAAc,CAAC,IAAI,KAAA;CAKtB"}