turf-common 1.4.2-beta.43 → 1.4.2-beta.44
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.
|
@@ -250,7 +250,14 @@ var ChargesModel = /** @class */ (function () {
|
|
|
250
250
|
if (discountPolicy === void 0) { discountPolicy = modification_discount_policy_enum_1.ModificationDiscountPolicy.DISCOUNT_CONDITIONAL; }
|
|
251
251
|
var chargesModel = new ChargesModel(chargeData.initialBookingGrossAmount, chargeData.amountPaid, chargeData.couponCode, parseFloat(chargeData.totalBookingHours.toString()), discountPolicy);
|
|
252
252
|
var initialBookingGrossAmount = chargeData.initialBookingGrossAmount, amountPaid = chargeData.amountPaid, couponCode = chargeData.couponCode, totalBookingHours = chargeData.totalBookingHours, rest = __rest(chargeData, ["initialBookingGrossAmount", "amountPaid", "couponCode", "totalBookingHours"]);
|
|
253
|
-
|
|
253
|
+
chargesModel.additionalBookingGrossAmount = rest.additionalBookingGrossAmount;
|
|
254
|
+
chargesModel.cancelledBookingGrossAmount = rest.cancelledBookingGrossAmount;
|
|
255
|
+
chargesModel.refundPayable = rest.refundPayable;
|
|
256
|
+
chargesModel.totalRefundedAmount = rest.totalRefundedAmount;
|
|
257
|
+
chargesModel.totalCancellationCharges = rest.totalCancellationCharges;
|
|
258
|
+
chargesModel.netTotal = rest.netTotal;
|
|
259
|
+
chargesModel.amountPayable = rest.amountPayable;
|
|
260
|
+
// Object.assign(chargesModel, rest);
|
|
254
261
|
return chargesModel;
|
|
255
262
|
};
|
|
256
263
|
// static assignByInterface(
|