feat: tracking - added discount property and some basics for paymentInfo
This commit is contained in:
@@ -84,10 +84,21 @@ export type TrackingSDKHotelInfo = {
|
||||
searchType?: "destination" | "hotel"
|
||||
}
|
||||
|
||||
export type TrackingSDKPaymentInfo = {
|
||||
edccCurrencyFrom?: string
|
||||
edccCurrencyTo?: string
|
||||
isedcc?: string
|
||||
isSavedCard?: boolean
|
||||
isCreditCard?: boolean
|
||||
paymentStatus?: "confirmed"
|
||||
paymentType?: string
|
||||
}
|
||||
|
||||
export type TrackingSDKProps = {
|
||||
pageData: TrackingSDKPageData
|
||||
userData: TrackingSDKUserData
|
||||
hotelInfo?: TrackingSDKHotelInfo
|
||||
paymentInfo?: TrackingSDKPaymentInfo
|
||||
}
|
||||
|
||||
export type TrackingSDKData = TrackingSDKPageData & {
|
||||
|
||||
Reference in New Issue
Block a user