Display
public struct Display : Equatable, Codable
Contents to be displayed post booking
-
- carImage: Url for the car image
Declaration
Swift
public let carImage: String
-
- driverAge: Drivers age if provided
Declaration
Swift
public let driverAge: Int
-
- vehicle: Display information for the car the user selected
Declaration
Swift
public let vehicle: Vehicle
-
- pickup: Display information for location name and date time for the pickup
Declaration
Swift
public let pickup: Pickup
-
- dropoff: Display information for location name and date time for the drop off
Declaration
Swift
public let dropOff: DropOff
-
- tripDescription: Short text discription of trip. PickupDate - DropoffDate
Declaration
Swift
public let tripDescription: String
-
- totalPrice Full cost of rental in the display currency provided in the Search Context
Declaration
Swift
public let totalPrice: Price
-
- costDescription Approx cost of rental or cost of rental depending on how cost has been calculated
Declaration
Swift
public let costDescription: String
-
- payNow Amount to be paid upfront. In the rare cases that this value is nil, payLocal is guaranteed to be non-nil
Declaration
Swift
public let payNow: PriceDetails?
-
- payLocal Amount to be paid at the pickup desk. Usually optional extras. If this is nil, payNow is guaranteed to be non-nil
Declaration
Swift
public let payLocal: PriceDetails?