SWReceipt

public class SWReceipt : NSObject, Codable

Model used to describe the receipt of a booking.

Properties

  • Currency code.

    Declaration

    Swift

    @objc
    public internal(set) var currencyCode: String
  • Cost of the ride.

    Declaration

    Swift

    @objc
    public internal(set) var amount: Float
  • Formatted string used for display purposes.

    Declaration

    Swift

    @objc
    public internal(set) var formatted: String
  • Payment method used to pay for the booking.

    Declaration

    Swift

    @objc
    public internal(set) var paymentMethod: SWPaymentMethod