merchandising/premium-upsell-reservation
Price Set (Hard-coded)
Price Set (API Call)
# 🏠 Properties
Name | Type |
---|
# 🎰 Slots
Name | Default value |
---|
Show Code<script src="/components/shared/component-base.js"></script> <script src="/components/premium-upsell-reservation/main.js"></script> <link rel="stylesheet" href="/components/shared/component-base.css" /> Price Set (Hard-coded) <premium-upsell-reservation price="69" redirectAction="alert('redirecting to seats page...')" priceRequest=""></premium-upsell-reservation> <br/> Price Set (API Call) <premium-upsell-reservation priceRequest='{ "Segments": [ { "PositionalIndex": 0, "DepartureDateTime": "2022-08-17T06:00:00", "DepartureDateTimeInUTC": "2022-08-17T13:00:00", "Destination": "SFO", "SalePrice": "USD95", "FareClass": "O", "FlightNumber": 742, "Id": "1", "IsASOperated": true, "IsQXOperated": false, "MarketingCarrier": "AS", "OperatingCarrier": "AS", "OperatingFlightNumber": 742, "Origin": "SEA", "TravelDurationMinutes": 135, "IsCheckedIn": false, "IsUnderAirportControl": false }, { "PositionalIndex": 1, "DepartureDateTime": "2022-08-17T09:15:00", "DepartureDateTimeInUTC": "2022-08-17T16:15:00", "Destination": "LAX", "SalePrice": "USD88", "FareClass": "N", "FlightNumber": 3402, "Id": "2", "IsASOperated": false, "IsQXOperated": false, "MarketingCarrier": "AS", "OperatingCarrier": "AS", "OperatingFlightNumber": 3402, "Origin": "SFO", "TravelDurationMinutes": 92, "IsCheckedIn": false, "IsUnderAirportControl": false }, { "PositionalIndex": 2, "DepartureDateTime": "2022-08-25T06:00:00", "DepartureDateTimeInUTC": "2022-08-25T13:00:00", "Destination": "PDX", "SalePrice": "USD167", "FareClass": "V", "FlightNumber": 531, "Id": "3", "IsASOperated": true, "IsQXOperated": false, "MarketingCarrier": "AS", "OperatingCarrier": "AS", "OperatingFlightNumber": 531, "Origin": "LAX", "TravelDurationMinutes": 142, "IsCheckedIn": false, "IsUnderAirportControl": false }, { "PositionalIndex": 3, "DepartureDateTime": "2022-08-25T10:00:00", "DepartureDateTimeInUTC": "2022-08-25T17:00:00", "Destination": "SEA", "SalePrice": "USD88", "FareClass": "Q", "FlightNumber": 529, "Id": "4", "IsASOperated": true, "IsQXOperated": false, "MarketingCarrier": "AS", "OperatingCarrier": "AS", "OperatingFlightNumber": 529, "Origin": "PDX", "TravelDurationMinutes": 63, "IsCheckedIn": false, "IsUnderAirportControl": false } ] }'></premium-upsell-reservation>