Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const MockResponseData: IndraResponse<Fare> = {
- 'status': '200',
- 'errors': [],
- 'timeService': null,
- 'timeBackend': null,
- 'data': {
- 'listPaxNum': [
- {
- 'paxNum': 2,
- 'paxType': 'ADT'
- },
- {
- 'paxNum': 1,
- 'paxType': 'CHD'
- },
- {
- 'paxNum': 1,
- 'paxType': 'INF'
- }
- ],
- 'tripType': null,
- 'listOutbound': [
- {
- 'idFlight': 1,
- 'idFlightAvail': 1,
- 'duration': 345,
- 'numberOfStops': 0,
- 'fareFamily': 'WWFFBUS1',
- 'freeBaggageForPax': {},
- 'cabin': 'B',
- 'listSegment': [
- {
- 'idInfoSegment': 1,
- 'departureAirport': 'MAD',
- 'arrivalAirport': 'TLV',
- 'departureDate': '2018-09-20T11:45:00',
- 'arrivalDate': '2018-09-20T17:30:00',
- 'carrier': 'LY',
- 'flightNumber': '396',
- 'operationCarrier': 'LY',
- 'equipment': '739',
- 'duration': 345,
- 'stopTime': 0,
- 'departureTerminal': null,
- 'arrivalTerminal': null,
- 'status': [],
- 'baggageForPax': {},
- 'rbd': 'Z',
- 'fareBasis': 'ZESRT',
- 'tatto': '1'
- }
- ],
- 'totalPrice': {
- 'price': 2490.88,
- 'basePrice': 2338.88,
- 'tax': 152
- },
- 'totalPoints': null,
- 'airportChange': false
- }
- ],
- 'inbound': {
- 'idFlight': 2,
- 'idFlightAvail': 1,
- 'duration': 265,
- 'numberOfStops': 0,
- 'fareFamily': 'WWFFBUS1',
- 'freeBaggageForPax': {},
- 'cabin': 'B',
- 'listSegment': [
- {
- 'idInfoSegment': 1,
- 'departureAirport': 'TLV',
- 'arrivalAirport': 'MAD',
- 'departureDate': '2018-09-21T05:25:00',
- 'arrivalDate': '2018-09-21T09:50:00',
- 'carrier': 'LY',
- 'flightNumber': '395',
- 'operationCarrier': 'LY',
- 'equipment': '739',
- 'duration': 265,
- 'stopTime': 0,
- 'departureTerminal': null,
- 'arrivalTerminal': null,
- 'status': [],
- 'baggageForPax': {},
- 'rbd': 'D',
- 'fareBasis': 'DESRT',
- 'tatto': '2'
- }
- ],
- 'totalPrice': {
- 'price': 2849.55,
- 'basePrice': 2753.12,
- 'tax': 96.42999999999999
- },
- 'totalPoints': null,
- 'airportChange': false
- },
- 'cFF': null,
- 'currency': 'EUR',
- 'points': null,
- 'flightPrice': {
- 'totalPrice': {
- 'price': 4214.7300000000005,
- 'basePrice': 4030,
- 'tax': 184.73,
- 'taxes': null
- },
- 'totalPoints': null,
- 'listPaxPrice': [
- {
- 'price': 1414.92,
- 'basePrice': 1363,
- 'tax': 51.92,
- 'typePax': 'ADT',
- 'taxes': [
- {
- 'amount': 21.44,
- 'code': 'JD',
- 'type': 'AE'
- },
- {
- 'amount': 0.6,
- 'code': 'OG',
- 'type': 'CO'
- },
- {
- 'amount': 3.5,
- 'code': 'QV',
- 'type': 'DP'
- },
- {
- 'amount': 22.95,
- 'code': 'IL',
- 'type': 'EB'
- },
- {
- 'amount': 3.43,
- 'code': 'AP',
- 'type': 'SE'
- }
- ]
- },
- {
- 'price': 1114.92,
- 'basePrice': 1063,
- 'tax': 51.92,
- 'typePax': 'CHD',
- 'taxes': [
- {
- 'amount': 21.44,
- 'code': 'JD',
- 'type': 'AE'
- },
- {
- 'amount': 0.6,
- 'code': 'OG',
- 'type': 'CO'
- },
- {
- 'amount': 3.5,
- 'code': 'QV',
- 'type': 'DP'
- },
- {
- 'amount': 22.95,
- 'code': 'IL',
- 'type': 'EB'
- },
- {
- 'amount': 3.43,
- 'code': 'AP',
- 'type': 'SE'
- }
- ]
- },
- {
- 'price': 269.97,
- 'basePrice': 241,
- 'tax': 28.970000000000002,
- 'typePax': 'INF',
- 'taxes': [
- {
- 'amount': 21.44,
- 'code': 'JD',
- 'type': 'AE'
- },
- {
- 'amount': 0.6,
- 'code': 'OG',
- 'type': 'CO'
- },
- {
- 'amount': 3.5,
- 'code': 'QV',
- 'type': 'DP'
- },
- {
- 'amount': 3.43,
- 'code': 'AP',
- 'type': 'SE'
- }
- ]
- }
- ],
- 'listPaxPoints': null
- },
- 'endorsed': [],
- 'fareCalculation': [],
- 'lastTicketDay': null,
- 'timeToThink': null,
- 'mandatoryApis': false
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement