Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tedgonzalez/808313a08a3d5670e4f07b509b051eed to your computer and use it in GitHub Desktop.
Save tedgonzalez/808313a08a3d5670e4f07b509b051eed to your computer and use it in GitHub Desktop.
struct GenericOrderItem: Codable {
// common between all the objects
let date: String
let totalCost: String
let carType: PassengerDelivery.CarType?
let restaurantName: String?
let distance: String?
let orders: [FoodDelivery.Order]?
let size: String?
let time: String?
let weight: String?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment