Created
February 8, 2019 08:14
-
-
Save zaynkorai/efa8d3637fea250aa28946f31abd6d57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
orderRef: number, | |
orderStatus: string, | |
affiliate: string, | |
source: string, | |
agent: string, | |
customer: { | |
name: string, | |
email: string, | |
telephone: string | |
mobile: string, | |
address: { | |
address1: string, | |
address2: string, | |
city: string, | |
country: string, | |
postcode: string, | |
country: stringdob | |
}, | |
}, | |
voucherCode: string, | |
voucherAmount: number, | |
orderDate: date, | |
items:[ | |
{ | |
itemId: number, | |
type: string, | |
supplierCode: string, | |
supplierName: string, | |
bookingReference: string, | |
supplierPrice: float, | |
supplierPriceCurrency: string, | |
sellingPrice: float, | |
sellingPriceCurrency: string, | |
legs: [ | |
{ | |
departureDate: datetime, | |
arrivalDate: datetime, // can be null of not available | |
origin: string, | |
destination: string, | |
carrier: string, | |
flightNumber: string, | |
class: string | |
} | |
], | |
passengers: [ | |
{ | |
passengerType: string, | |
title: string, | |
firstName: string, | |
surName: string, | |
dob: string, | |
gender: string, | |
foidType: string | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment