Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zaynkorai
Created February 8, 2019 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaynkorai/efa8d3637fea250aa28946f31abd6d57 to your computer and use it in GitHub Desktop.
Save zaynkorai/efa8d3637fea250aa28946f31abd6d57 to your computer and use it in GitHub Desktop.
{
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