@aptos-scp/scp-component-store-selling-features-domain-model 2.10.2 → 2.10.4
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.
|
@@ -1067,6 +1067,7 @@ export declare enum AssignCustomerForReturnAction {
|
|
|
1067
1067
|
Skip = "Skip"
|
|
1068
1068
|
}
|
|
1069
1069
|
export declare const DELIVERY_CONTACT_UPDATED_EVENT: string;
|
|
1070
|
+
export declare const DELIVERY_ITEM_UPDATED_EVENT: string;
|
|
1070
1071
|
export declare const PAYMENT_ACCOUNT_LOOKUP_EVENT: string;
|
|
1071
1072
|
export interface IPaymentAccountLookupEventData {
|
|
1072
1073
|
deviceId: string;
|
|
@@ -1072,6 +1072,7 @@ var AssignCustomerForReturnAction;
|
|
|
1072
1072
|
AssignCustomerForReturnAction["Skip"] = "Skip";
|
|
1073
1073
|
})(AssignCustomerForReturnAction = exports.AssignCustomerForReturnAction || (exports.AssignCustomerForReturnAction = {}));
|
|
1074
1074
|
exports.DELIVERY_CONTACT_UPDATED_EVENT = "Delivery.ContactUpdated";
|
|
1075
|
+
exports.DELIVERY_ITEM_UPDATED_EVENT = "Delivery.ItemUpdated";
|
|
1075
1076
|
exports.PAYMENT_ACCOUNT_LOOKUP_EVENT = "PaymentAccount.Lookup";
|
|
1076
1077
|
exports.CANCEL_PAYMENT_FUNCTION_EVENT = "Cancel.PaymentFunction";
|
|
1077
1078
|
exports.DELIVERY_SHIPPING_FEE_UPDATED_EVENT = "Delivery.ShippingFeeUpdated";
|
|
@@ -161,6 +161,7 @@ export declare class MerchandiseTransaction extends RetailTransaction implements
|
|
|
161
161
|
private _prepaidTendersToApply?;
|
|
162
162
|
private _transactionSubTotalExcludingPreviouslyCollected;
|
|
163
163
|
private _transactionTotalSavingsExcludingPreviouslyCollected;
|
|
164
|
+
private _transactionSubTotalExcPrepaidAndExcTranDisc;
|
|
164
165
|
private _transactionTotalTaxExcludingPreviouslyCollected;
|
|
165
166
|
private _balanceDueExcludingPreviouslyCollected;
|
|
166
167
|
private _transactionTotalExcludingPreviouslyCollected;
|
|
@@ -197,6 +198,7 @@ export declare class MerchandiseTransaction extends RetailTransaction implements
|
|
|
197
198
|
get transactionTotalTransactionDiscounts(): Money;
|
|
198
199
|
get transactionTotalTendered(): Money;
|
|
199
200
|
get transactionTotalTenderedPreviouslyCollected(): Money;
|
|
201
|
+
get transactionSubTotalExcPrepaidAndExcTranDisc(): Money;
|
|
200
202
|
/**
|
|
201
203
|
* Transaction SubTotal excluding previously collected tendered amount and excluding tax
|
|
202
204
|
*/
|
|
@@ -96,6 +96,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
|
|
|
96
96
|
this._digestValue = digestValue;
|
|
97
97
|
this._prepaidTendersToApply = prepaidTendersToApply;
|
|
98
98
|
this._transactionSubTotalExcludingPreviouslyCollected = new scp_component_business_core_1.Money(0, accountingCurrency);
|
|
99
|
+
this._transactionSubTotalExcPrepaidAndExcTranDisc = new scp_component_business_core_1.Money(0, accountingCurrency);
|
|
99
100
|
this._transactionTotalSavingsExcludingPreviouslyCollected = new scp_component_business_core_1.Money(0, accountingCurrency);
|
|
100
101
|
this._transactionTotalTaxExcludingPreviouslyCollected = new scp_component_business_core_1.Money(0, accountingCurrency);
|
|
101
102
|
this._balanceDueExcludingPreviouslyCollected = new scp_component_business_core_1.Money(0, accountingCurrency);
|
|
@@ -226,6 +227,8 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
|
|
|
226
227
|
transaction._prepaidTendersToApply = this._prepaidTendersToApply;
|
|
227
228
|
transaction._transactionSubTotalExcludingPreviouslyCollected =
|
|
228
229
|
this._transactionSubTotalExcludingPreviouslyCollected;
|
|
230
|
+
transaction._transactionSubTotalExcPrepaidAndExcTranDisc =
|
|
231
|
+
this._transactionSubTotalExcPrepaidAndExcTranDisc;
|
|
229
232
|
transaction._transactionTotalSavingsExcludingPreviouslyCollected =
|
|
230
233
|
this._transactionTotalSavingsExcludingPreviouslyCollected;
|
|
231
234
|
transaction._transactionTotalTaxExcludingPreviouslyCollected =
|
|
@@ -347,6 +350,9 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
|
|
|
347
350
|
get transactionTotalTenderedPreviouslyCollected() {
|
|
348
351
|
return this._transactionTotalTenderedPreviouslyCollected;
|
|
349
352
|
}
|
|
353
|
+
get transactionSubTotalExcPrepaidAndExcTranDisc() {
|
|
354
|
+
return this._transactionSubTotalExcPrepaidAndExcTranDisc;
|
|
355
|
+
}
|
|
350
356
|
/**
|
|
351
357
|
* Transaction SubTotal excluding previously collected tendered amount and excluding tax
|
|
352
358
|
*/
|
|
@@ -862,6 +868,10 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
|
|
|
862
868
|
"transaction.totalTenderedExcludingPreviouslyCollected",
|
|
863
869
|
this.transactionTotalTenderedExcludingPreviouslyCollected,
|
|
864
870
|
],
|
|
871
|
+
[
|
|
872
|
+
"transaction.transactionSubTotalExcPrepaidAndExcTranDisc",
|
|
873
|
+
this._transactionSubTotalExcPrepaidAndExcTranDisc,
|
|
874
|
+
],
|
|
865
875
|
["transaction.totalPreviouslyCollectedTenders", this.transactionTotalPreviouslyCollectedTenders],
|
|
866
876
|
["transaction.totalTenderedOnOrderCreate", this.transactionTotalTenderedOnOrderCreate],
|
|
867
877
|
["transaction.totalChangeTendered", this.transactionTotalChangeTendered],
|
|
@@ -1056,6 +1066,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
|
|
|
1056
1066
|
_digestValue: this._digestValue,
|
|
1057
1067
|
_prepaidTendersToApply: this.prepaidTendersToApply,
|
|
1058
1068
|
_transactionSubTotalExcludingPreviouslyCollected: this.transactionSubTotalExcludingPreviouslyCollected,
|
|
1069
|
+
_transactionSubTotalExcPrepaidAndExcTranDisc: this.transactionSubTotalExcPrepaidAndExcTranDisc,
|
|
1059
1070
|
_transactionTotalSavingsExcludingPreviouslyCollected: this.transactionTotalSavingsExcludingPreviouslyCollected,
|
|
1060
1071
|
_transactionTotalTaxExcludingPreviouslyCollected: this.transactionTotalTaxExcludingPreviouslyCollected,
|
|
1061
1072
|
_balanceDueExcludingPreviouslyCollected: this.transactionBalanceDueExcludingPreviouslyCollected,
|
|
@@ -1212,6 +1223,9 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
|
|
|
1212
1223
|
this._transactionSubTotalExcludingPreviouslyCollected =
|
|
1213
1224
|
transactionJsonObj._transactionSubTotalExcludingPreviouslyCollected &&
|
|
1214
1225
|
new scp_component_business_core_1.Money(transactionJsonObj._transactionSubTotalExcludingPreviouslyCollected);
|
|
1226
|
+
this._transactionSubTotalExcPrepaidAndExcTranDisc =
|
|
1227
|
+
transactionJsonObj._transactionSubTotalExcPrepaidAndExcTranDisc &&
|
|
1228
|
+
new scp_component_business_core_1.Money(transactionJsonObj._transactionSubTotalExcPrepaidAndExcTranDisc);
|
|
1215
1229
|
this._transactionTotalSavingsExcludingPreviouslyCollected =
|
|
1216
1230
|
transactionJsonObj._transactionTotalSavingsExcludingPreviouslyCollected &&
|
|
1217
1231
|
new scp_component_business_core_1.Money(transactionJsonObj._transactionTotalSavingsExcludingPreviouslyCollected);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-scp/scp-component-store-selling-features-domain-model",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.4",
|
|
4
4
|
"description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|