Other Classes
The following classes are available globally.
-
Model used to describe a location address.
See moreDeclaration
Swift
public class SWAddress : NSObject, Codable -
This model is used to describe a booking that a user has made. It will be returned in the
See moreraiseIssueWithBookingdelegate callback contained inSplytWidgetDelegate.Declaration
Swift
public class SWBooking : NSObject, Codable -
Model used to describe a driver.
See moreDeclaration
Swift
public class SWDriver : NSObject, Codable -
Model used to describe the receipt of a booking.
See moreDeclaration
Swift
public class SWReceipt : NSObject, Codable -
Model used to describe the payment method used by a widget user when booking a ride.
See moreDeclaration
Swift
public class SWPaymentMethod : NSObject, Codable -
Model used to describe a status transition of the booking.
See moreDeclaration
Swift
public class SWStatusTransition : NSObject, Codable -
Model used to describe a vehicle.
See moreDeclaration
Swift
public class SWVehicle : NSObject, Codable -
This model describes the configuration settings for the SplytWidget. It should be created using the
See moreSWConfigurationBuilder.Declaration
Swift
public class SWConfiguration : NSObject, Codable -
This is a model returned by the SplytWidget when errors have occured. The code and message can be used to understand what caused the error.
See moreDeclaration
Swift
@objc public class SWError : NSObject -
This model is used to describe a location. The model has various uses with the SplytWidget.
See moreDeclaration
Swift
@objc public class SWLocation : NSObject, Codable -
This model allows you to pre-configure the ride options for the user. This can be used to set the userId, pick up, drop off and payment methods.
See moreDeclaration
Swift
@objc public class SWRideParameters : NSObject, Codable
Other Classes Reference