Merged in fix/SW-1353-multiroom-tracking (pull request #1870)

fix(SW-1353): enter details tracking fixes

* fix(SW-1353): tracking fixes

* refactor: move code

* fix: use hasPublicPrice

* fix: update calculation for roomPrice and totalPrice

* fix: only include bedtype if it is "preselected"


Approved-by: Michael Zetterberg
This commit is contained in:
Tobias Johansson
2025-04-29 06:29:57 +00:00
parent 52c99e8767
commit 70095043f8
4 changed files with 161 additions and 29 deletions

View File

@@ -70,11 +70,12 @@ export type TrackingSDKHotelInfo = {
childBedPreference?: string
country?: string // Country of the hotel
departureDate?: string
discount?: number
discount?: number | string
duration?: number // Number of nights to stay
hotelID?: string
leadTime?: number // Number of days from booking date until arrivalDate
lowestRoomPrice?: number
multiroomRateIdentity?: string
//modifyValues?: string // <price:<value>,roomtype:value>,bed:<value,<breakfast:value>
noOfAdults?: number | string // multiroom support, "2,1,3"
noOfChildren?: number | string // multiroom support, "2,1,3"