Structures
The following structures are available globally.
-
Represents a discount that can be redeemed by the user.
See moreDeclaration
Swift
struct Coupon : Codable
-
Structure for displaying trip segments on a MKMapView
See moreDeclaration
Swift
struct LocationsSegment
-
Represent an active ticket recived from the backend. Since we are mocking tickets, there is no need for security.
See moreDeclaration
Swift
struct Ticket : Codable
-
A wallet stores the total co2 a user has saved.
See moreDeclaration
Swift
struct Wallet : Codable