PCPayFuel

public class PCPayFuel : APIModel

Undocumented

  • Fuel type for cars, based on the EU fuel marking

    See more

    Declaration

    Swift

    public enum PCPayType : String, Codable, Equatable, CaseIterable
  • Unit

    See more

    Declaration

    Swift

    public enum PCPayUnit : String, Codable, Equatable, CaseIterable
  • Fuel amount in provided unit

    Declaration

    Swift

    public var amount: Double?
  • Price per unit (with three decimal places)

    Declaration

    Swift

    public var pricePerUnit: Double?
  • Product Name of the currect fuel.productName

    Declaration

    Swift

    public var productName: String?
  • Number of the pump used for fueling, i.e., the actual number that is being displayed to the customer

    Declaration

    Swift

    public var pumpNumber: Int?
  • Fuel type for cars, based on the EU fuel marking

    Declaration

    Swift

    public var type: PCPayType?
  • Unit

    Declaration

    Swift

    public var unit: PCPayUnit?
  • Undocumented

    Declaration

    Swift

    public init(amount: Double? = nil, pricePerUnit: Double? = nil, productName: String? = nil, pumpNumber: Int? = nil, type: PCPayType? = nil, unit: PCPayUnit? = nil)
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public func isEqual(to object: Any?) -> Bool
  • Declaration

    Swift

    public static func == (lhs: PCPayFuel, rhs: PCPayFuel) -> Bool