Advertisement
Guest User

Untitled

a guest
Jul 11th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export const MockResponseData: IndraResponse<Fare> = {
  2.     'status': '200',
  3.     'errors': [],
  4.     'timeService': null,
  5.     'timeBackend': null,
  6.     'data': {
  7.         'listPaxNum': [
  8.             {
  9.                 'paxNum': 2,
  10.                 'paxType': 'ADT'
  11.             },
  12.             {
  13.                 'paxNum': 1,
  14.                 'paxType': 'CHD'
  15.             },
  16.             {
  17.                 'paxNum': 1,
  18.                 'paxType': 'INF'
  19.             }
  20.         ],
  21.         'tripType': null,
  22.         'listOutbound': [
  23.             {
  24.                 'idFlight': 1,
  25.                 'idFlightAvail': 1,
  26.                 'duration': 345,
  27.                 'numberOfStops': 0,
  28.                 'fareFamily': 'WWFFBUS1',
  29.                 'freeBaggageForPax': {},
  30.                 'cabin': 'B',
  31.                 'listSegment': [
  32.                     {
  33.                         'idInfoSegment': 1,
  34.                         'departureAirport': 'MAD',
  35.                         'arrivalAirport': 'TLV',
  36.                         'departureDate': '2018-09-20T11:45:00',
  37.                         'arrivalDate': '2018-09-20T17:30:00',
  38.                         'carrier': 'LY',
  39.                         'flightNumber': '396',
  40.                         'operationCarrier': 'LY',
  41.                         'equipment': '739',
  42.                         'duration': 345,
  43.                         'stopTime': 0,
  44.                         'departureTerminal': null,
  45.                         'arrivalTerminal': null,
  46.                         'status': [],
  47.                         'baggageForPax': {},
  48.                         'rbd': 'Z',
  49.                         'fareBasis': 'ZESRT',
  50.                         'tatto': '1'
  51.                     }
  52.                 ],
  53.                 'totalPrice': {
  54.                     'price': 2490.88,
  55.                     'basePrice': 2338.88,
  56.                     'tax': 152
  57.                 },
  58.                 'totalPoints': null,
  59.                 'airportChange': false
  60.             }
  61.         ],
  62.         'inbound': {
  63.             'idFlight': 2,
  64.             'idFlightAvail': 1,
  65.             'duration': 265,
  66.             'numberOfStops': 0,
  67.             'fareFamily': 'WWFFBUS1',
  68.             'freeBaggageForPax': {},
  69.             'cabin': 'B',
  70.             'listSegment': [
  71.                 {
  72.                     'idInfoSegment': 1,
  73.                     'departureAirport': 'TLV',
  74.                     'arrivalAirport': 'MAD',
  75.                     'departureDate': '2018-09-21T05:25:00',
  76.                     'arrivalDate': '2018-09-21T09:50:00',
  77.                     'carrier': 'LY',
  78.                     'flightNumber': '395',
  79.                     'operationCarrier': 'LY',
  80.                     'equipment': '739',
  81.                     'duration': 265,
  82.                     'stopTime': 0,
  83.                     'departureTerminal': null,
  84.                     'arrivalTerminal': null,
  85.                     'status': [],
  86.                     'baggageForPax': {},
  87.                     'rbd': 'D',
  88.                     'fareBasis': 'DESRT',
  89.                     'tatto': '2'
  90.                 }
  91.             ],
  92.             'totalPrice': {
  93.                 'price': 2849.55,
  94.                 'basePrice': 2753.12,
  95.                 'tax': 96.42999999999999
  96.             },
  97.             'totalPoints': null,
  98.             'airportChange': false
  99.         },
  100.         'cFF': null,
  101.         'currency': 'EUR',
  102.         'points': null,
  103.         'flightPrice': {
  104.             'totalPrice': {
  105.                 'price': 4214.7300000000005,
  106.                 'basePrice': 4030,
  107.                 'tax': 184.73,
  108.                 'taxes': null
  109.             },
  110.             'totalPoints': null,
  111.             'listPaxPrice': [
  112.                 {
  113.                     'price': 1414.92,
  114.                     'basePrice': 1363,
  115.                     'tax': 51.92,
  116.                     'typePax': 'ADT',
  117.                     'taxes': [
  118.                         {
  119.                             'amount': 21.44,
  120.                             'code': 'JD',
  121.                             'type': 'AE'
  122.                         },
  123.                         {
  124.                             'amount': 0.6,
  125.                             'code': 'OG',
  126.                             'type': 'CO'
  127.                         },
  128.                         {
  129.                             'amount': 3.5,
  130.                             'code': 'QV',
  131.                             'type': 'DP'
  132.                         },
  133.                         {
  134.                             'amount': 22.95,
  135.                             'code': 'IL',
  136.                             'type': 'EB'
  137.                         },
  138.                         {
  139.                             'amount': 3.43,
  140.                             'code': 'AP',
  141.                             'type': 'SE'
  142.                         }
  143.                     ]
  144.                 },
  145.                 {
  146.                     'price': 1114.92,
  147.                     'basePrice': 1063,
  148.                     'tax': 51.92,
  149.                     'typePax': 'CHD',
  150.                     'taxes': [
  151.                         {
  152.                             'amount': 21.44,
  153.                             'code': 'JD',
  154.                             'type': 'AE'
  155.                         },
  156.                         {
  157.                             'amount': 0.6,
  158.                             'code': 'OG',
  159.                             'type': 'CO'
  160.                         },
  161.                         {
  162.                             'amount': 3.5,
  163.                             'code': 'QV',
  164.                             'type': 'DP'
  165.                         },
  166.                         {
  167.                             'amount': 22.95,
  168.                             'code': 'IL',
  169.                             'type': 'EB'
  170.                         },
  171.                         {
  172.                             'amount': 3.43,
  173.                             'code': 'AP',
  174.                             'type': 'SE'
  175.                         }
  176.                     ]
  177.                 },
  178.                 {
  179.                     'price': 269.97,
  180.                     'basePrice': 241,
  181.                     'tax': 28.970000000000002,
  182.                     'typePax': 'INF',
  183.                     'taxes': [
  184.                         {
  185.                             'amount': 21.44,
  186.                             'code': 'JD',
  187.                             'type': 'AE'
  188.                         },
  189.                         {
  190.                             'amount': 0.6,
  191.                             'code': 'OG',
  192.                             'type': 'CO'
  193.                         },
  194.                         {
  195.                             'amount': 3.5,
  196.                             'code': 'QV',
  197.                             'type': 'DP'
  198.                         },
  199.                         {
  200.                             'amount': 3.43,
  201.                             'code': 'AP',
  202.                             'type': 'SE'
  203.                         }
  204.                     ]
  205.                 }
  206.             ],
  207.             'listPaxPoints': null
  208.         },
  209.         'endorsed': [],
  210.         'fareCalculation': [],
  211.         'lastTicketDay': null,
  212.         'timeToThink': null,
  213.         'mandatoryApis': false
  214.     }
  215. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement