Skip to content

Instantly share code, notes, and snippets.

@arielsrv
Created May 5, 2022 11:56
Show Gist options
  • Save arielsrv/c2507f055dfd4844d1b677bdf692fdac to your computer and use it in GitHub Desktop.
Save arielsrv/c2507f055dfd4844d1b677bdf692fdac to your computer and use it in GitHub Desktop.
PFHW8A_arielsrv@gmail.com
{
"code": "SmartWebTemp",
"sections": [
{
"indexOrder": 0,
"code": "JourneyBreakDownSmart",
"infoConcepts": [
{
"flightInfo": [
{
"departureStation": "BCN",
"departureDate": "2022-05-07T06:45:00",
"arrivalStation": "ALC",
"arrivalDate": "2022-05-07T07:55:00",
"flightIdentifier": "VY-1300"
}
],
"servicesInfo": null,
"indexOrder": 1,
"code": "JourneyInfo",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "BCN-ALC",
"journeyIndex": 0,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
}
],
"calculatedConcepts": [
{
"detailConcept": null,
"itemAmount": 225.40,
"totalAmount": 225.4000,
"serviceChargesAdded": [
{
"amount": 39.9900,
"code": null,
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": null,
"foreignAmount": 39.9900,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "FarePrice",
"chargeNumber": null
},
{
"amount": 25.4100,
"code": "SEAT",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "BCN-ALC",
"foreignAmount": 25.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "SF",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 20.0000,
"code": "BG15",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Weighted L",
"foreignAmount": 20.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "WLG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 40.0000,
"code": "PETC",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Pet In Cab",
"foreignAmount": 40.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "PET",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 50.0000,
"code": "BIKE",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Bike",
"foreignAmount": 50.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SPE",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 50.0000,
"code": "SALO",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "SALA VIP O",
"foreignAmount": 50.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SAL",
"type": "ServiceCharge",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
],
"conceptExtraInfo": null,
"indexOrder": 2,
"code": "JourneyTotalAmount",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "BCN-ALC",
"journeyIndex": 0,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": null,
"itemAmount": 17.94,
"totalAmount": 17.9400,
"serviceChargesAdded": [
{
"amount": 39.9900,
"code": null,
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": null,
"foreignAmount": 39.9900,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "FarePrice",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
{
"amount": 3.6400,
"code": "IVA",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "BCN-ALC",
"foreignAmount": 3.6400,
"foreignCurrencyCode": "EUR",
"ticketCode": "IVA",
"type": "IncludedTax",
"chargeNumber": null
},
{
"amount": 18.4100,
"code": "JDI",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "BCN-ALC",
"foreignAmount": 18.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "JD",
"type": "IncludedTravelFee",
"chargeNumber": null
}
],
"conceptExtraInfo": null,
"indexOrder": 3,
"code": "JourneyPaxTypeTotal",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "BCN-ALC",
"journeyIndex": 0,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "Adult",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": null,
"itemAmount": 22.05,
"totalAmount": 22.0500,
"serviceChargesAdded": [
{
"amount": 18.4100,
"code": "JDI",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "BCN-ALC",
"foreignAmount": 18.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "JD",
"type": "IncludedTravelFee",
"chargeNumber": null
},
{
"amount": 3.6400,
"code": "IVA",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "BCN-ALC",
"foreignAmount": 3.6400,
"foreignCurrencyCode": "EUR",
"ticketCode": "IVA",
"type": "IncludedTax",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
],
"conceptExtraInfo": null,
"indexOrder": 5,
"code": "JourneyTotalFees",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "BCN-ALC",
"journeyIndex": 0,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": 15,
"itemAmount": 20.00,
"totalAmount": 20.0000,
"serviceChargesAdded": [
{
"amount": 20.0000,
"code": "BG15",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Weighted L",
"foreignAmount": 20.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "WLG",
"type": "ServiceCharge",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
],
"conceptExtraInfo": null,
"indexOrder": 7,
"code": "BG15",
"subCode": "Added",
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "BCN-ALC",
"journeyIndex": 0,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": null,
"itemAmount": 25.41,
"totalAmount": 25.4100,
"serviceChargesAdded": [
{
"amount": 25.4100,
"code": "SEAT",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "BCN-ALC",
"foreignAmount": 25.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "SF",
"type": "ServiceCharge",
"chargeNumber": null
}
],
"serviceChargesSubtracted": null,
"conceptExtraInfo": [
"1A"
],
"indexOrder": 11,
"code": "SEATS",
"subCode": "77",
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "BCN-ALC",
"journeyIndex": 0,
"segmentIdentifier": "BCN-ALC",
"segmentIndex": 0,
"paxTypeIdentifier": null,
"paxIdentifier": "MCFBRFQ-",
"paxIndex": 0
},
"itemCount": 1
}
]
},
{
"indexOrder": 1,
"code": "JourneyBreakDownSmart",
"infoConcepts": [
{
"flightInfo": [
{
"departureStation": "ALC",
"departureDate": "2022-05-10T08:35:00",
"arrivalStation": "BCN",
"arrivalDate": "2022-05-10T09:45:00",
"flightIdentifier": "VY-1301"
}
],
"servicesInfo": null,
"indexOrder": 1,
"code": "JourneyInfo",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "ALC-BCN",
"journeyIndex": 1,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
}
],
"calculatedConcepts": [
{
"detailConcept": null,
"itemAmount": 210.40,
"totalAmount": 210.4000,
"serviceChargesAdded": [
{
"amount": 39.9900,
"code": null,
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": null,
"foreignAmount": 39.9900,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "FarePrice",
"chargeNumber": null
},
{
"amount": 25.4100,
"code": "SEAT",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "ALC-BCN",
"foreignAmount": 25.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "SF",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 20.0000,
"code": "BG15",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Weighted L",
"foreignAmount": 20.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "WLG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 40.0000,
"code": "PETC",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Pet In Cab",
"foreignAmount": 40.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "PET",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 50.0000,
"code": "BIKE",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Bike",
"foreignAmount": 50.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SPE",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 35.0000,
"code": "SALD",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Sala VIP D",
"foreignAmount": 35.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SAL",
"type": "ServiceCharge",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
],
"conceptExtraInfo": null,
"indexOrder": 2,
"code": "JourneyTotalAmount",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "ALC-BCN",
"journeyIndex": 1,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": null,
"itemAmount": 25.53,
"totalAmount": 25.5300,
"serviceChargesAdded": [
{
"amount": 39.9900,
"code": null,
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": null,
"foreignAmount": 39.9900,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "FarePrice",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
{
"amount": 3.6400,
"code": "IVA",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "ALC-BCN",
"foreignAmount": 3.6400,
"foreignCurrencyCode": "EUR",
"ticketCode": "IVA",
"type": "IncludedTax",
"chargeNumber": null
},
{
"amount": 10.8200,
"code": "JDI",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "ALC-BCN",
"foreignAmount": 10.8200,
"foreignCurrencyCode": "EUR",
"ticketCode": "JD",
"type": "IncludedTravelFee",
"chargeNumber": null
}
],
"conceptExtraInfo": null,
"indexOrder": 3,
"code": "JourneyPaxTypeTotal",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "ALC-BCN",
"journeyIndex": 1,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "Adult",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": null,
"itemAmount": 14.46,
"totalAmount": 14.4600,
"serviceChargesAdded": [
{
"amount": 10.8200,
"code": "JDI",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "ALC-BCN",
"foreignAmount": 10.8200,
"foreignCurrencyCode": "EUR",
"ticketCode": "JD",
"type": "IncludedTravelFee",
"chargeNumber": null
},
{
"amount": 3.6400,
"code": "IVA",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "ALC-BCN",
"foreignAmount": 3.6400,
"foreignCurrencyCode": "EUR",
"ticketCode": "IVA",
"type": "IncludedTax",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
],
"conceptExtraInfo": null,
"indexOrder": 5,
"code": "JourneyTotalFees",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "ALC-BCN",
"journeyIndex": 1,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": 15,
"itemAmount": 20.00,
"totalAmount": 20.0000,
"serviceChargesAdded": [
{
"amount": 20.0000,
"code": "BG15",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Weighted L",
"foreignAmount": 20.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "WLG",
"type": "ServiceCharge",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
],
"conceptExtraInfo": null,
"indexOrder": 7,
"code": "BG15",
"subCode": "Added",
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "ALC-BCN",
"journeyIndex": 1,
"segmentIdentifier": null,
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
},
{
"detailConcept": null,
"itemAmount": 25.41,
"totalAmount": 25.4100,
"serviceChargesAdded": [
{
"amount": 25.4100,
"code": "SEAT",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "ALC-BCN",
"foreignAmount": 25.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "SF",
"type": "ServiceCharge",
"chargeNumber": null
}
],
"serviceChargesSubtracted": null,
"conceptExtraInfo": [
"1A"
],
"indexOrder": 11,
"code": "SEATS",
"subCode": "77",
"itemIdentifierInfo": {
"sourceDataLevel": "Journey",
"journeyIdentifier": "ALC-BCN",
"journeyIndex": 1,
"segmentIdentifier": "ALC-BCN",
"segmentIndex": 0,
"paxTypeIdentifier": null,
"paxIdentifier": "MCFBRFQ-",
"paxIndex": 0
},
"itemCount": 1
}
]
},
{
"indexOrder": 2,
"code": "TotalsSmart",
"infoConcepts": [
],
"calculatedConcepts": [
{
"detailConcept": null,
"itemAmount": 522.92,
"totalAmount": 522.9200,
"serviceChargesAdded": [
{
"amount": 39.9900,
"code": null,
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": null,
"foreignAmount": 39.9900,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "FarePrice",
"chargeNumber": null
},
{
"amount": 39.9900,
"code": null,
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": null,
"foreignAmount": 39.9900,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "FarePrice",
"chargeNumber": null
},
{
"amount": 25.4100,
"code": "SEAT",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "BCN-ALC",
"foreignAmount": 25.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "SF",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 20.0000,
"code": "BG15",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Weighted L",
"foreignAmount": 20.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "WLG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 40.0000,
"code": "PETC",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Pet In Cab",
"foreignAmount": 40.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "PET",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 50.0000,
"code": "BIKE",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Bike",
"foreignAmount": 50.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SPE",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 50.0000,
"code": "SALO",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "SALA VIP O",
"foreignAmount": 50.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SAL",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 25.4100,
"code": "SEAT",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "ALC-BCN",
"foreignAmount": 25.4100,
"foreignCurrencyCode": "EUR",
"ticketCode": "SF",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 20.0000,
"code": "BG15",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Weighted L",
"foreignAmount": 20.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "WLG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 40.0000,
"code": "PETC",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Pet In Cab",
"foreignAmount": 40.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "PET",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 50.0000,
"code": "BIKE",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Bike",
"foreignAmount": 50.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SPE",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 35.0000,
"code": "SALD",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Sala VIP D",
"foreignAmount": 35.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SAL",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 9.0000,
"code": "SEE",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Cobertura ",
"foreignAmount": 9.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SEG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 10.5100,
"code": "SEM",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Cobertura ",
"foreignAmount": 10.5100,
"foreignCurrencyCode": "EUR",
"ticketCode": "SEG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 12.0300,
"code": "SED",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Cobertura ",
"foreignAmount": 12.0300,
"foreignCurrencyCode": "EUR",
"ticketCode": "SEG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 9.0000,
"code": "SPET",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "PETC segur",
"foreignAmount": 9.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": "SEG",
"type": "ServiceCharge",
"chargeNumber": null
},
{
"amount": 0.0,
"code": "SEA",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "for free",
"foreignAmount": 0.0,
"foreignCurrencyCode": "EUR",
"ticketCode": "SEG",
"type": "ServiceCharge",
"chargeNumber": null
}
],
"serviceChargesSubtracted": [
{
"amount": -3.0000,
"code": "SEE",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Fee OR",
"foreignAmount": -3.0000,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "Discount",
"chargeNumber": null
},
{
"amount": -43.5800,
"code": "SEA",
"collectType": "SellerChargeable",
"currencyCode": "EUR",
"detail": "Fee OR",
"foreignAmount": -43.5800,
"foreignCurrencyCode": "EUR",
"ticketCode": null,
"type": "Discount",
"chargeNumber": null
}
],
"conceptExtraInfo": null,
"indexOrder": 2,
"code": "BookingTotalAmount",
"subCode": null,
"itemIdentifierInfo": {
"sourceDataLevel": "Itinerary",
"journeyIdentifier": "ALL",
"journeyIndex": null,
"segmentIdentifier": "ALL",
"segmentIndex": null,
"paxTypeIdentifier": "ALL",
"paxIdentifier": null,
"paxIndex": null
},
"itemCount": 1
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment