EveryMundo / emDataStandards

EveryMundo's Data Standards
7 stars 20 forks source link

Move currencyCode and currencySymbol to the offer-level #29

Closed BigDataKatha closed 6 years ago

BigDataKatha commented 6 years ago

Decided between DataCore, MS, FareNet, and DA team to move the currencyCode and currencySymbol fields to the offer-level and remove it from the priceSpecification_base object to avoid repetition of the same field in the hotels array object and make it more intuitive when there is no flight service.

Updated Object Schema

If the flight (journey) and hotel are offered in different currencies - this scenario doesn't exist yet - the currencyCode will be null on the offer-level and the currencyCode will be added under the priceSpecification object for each service.