Function adjustParameters
adjustParameters( searchInfo: { allTrips?: { availableNearbyCities?: any[]; nextAvailableDate?: string; results: any; }[]; currency: string; departureDate: string; fromCity: City; leadTimeOutbound?: number; leadTimeReturn?: number; products: { [key: string]: number }; returnDate?: null | string; stations: Stations; toCity: City; }, trip: Trip,): { _valueToSum: string; fb_checkin_date: string; fb_checkout_date?: null | string; fb_city: string; fb_content_id: string; fb_content_type: "[\"hotel\", \"product\"]"; fb_country: string; fb_currency: string; fb_num_adults: string; fb_region: string; fb_travel_end?: null | string; fb_travel_start: string;} Parameters
- searchInfo: {
allTrips?: {
availableNearbyCities?: any[];
nextAvailableDate?: string;
results: any;
}[];
currency: string;
departureDate: string;
fromCity: City;
leadTimeOutbound?: number;
leadTimeReturn?: number;
products: { [key: string]: number };
returnDate?: null | string;
stations: Stations;
toCity: City;
} - trip: Trip
Returns {
_valueToSum: string;
fb_checkin_date: string;
fb_checkout_date?: null | string;
fb_city: string;
fb_content_id: string;
fb_content_type: "[\"hotel\", \"product\"]";
fb_country: string;
fb_currency: string;
fb_num_adults: string;
fb_region: string;
fb_travel_end?: null | string;
fb_travel_start: string;
}
_valueToSum: string
fb_checkin_date: string
Optionalfb_checkout_date?: null | string
fb_city: string
fb_content_id: string
fb_content_type: "[\"hotel\", \"product\"]"
fb_country: string
fb_currency: string
fb_num_adults: string
fb_region: string
Optionalfb_travel_end?: null | string
fb_travel_start: string
Product value, as a string