Attributes

public class Attributes : APIModel

Undocumented

  • Undocumented

    See more

    Declaration

    Swift

    public enum PCFuelingCurrency : String, Codable, Equatable, CaseIterable
  • The fueling process that has to be followed

    • postPay the pump is free and needs to be paid after fueling
    • preAuth the pump is locked and has to be unlocked
    • preAuthWithFuelType the pump is locked and has to be unlocked, the carFuelType is required
    See more

    Declaration

    Swift

    public enum PCFuelingFuelingProcess : String, Codable, Equatable, CaseIterable
  • Current pump status.

    • free the pump is free, fueling possible (nozzle not lifted), possible transitions inUse, locked, outOfOrder. Note: A transition from free to locked may implies the pump was pre-authorization was canceled.
    • inUse the pump is fueling, possible transitions readyToPay, locked, outOfOrder
    • readyToPay the pump can be payed using the post pay process, possible transitions free, locked, outOfOrder. Note: A transition from readyToPay to free implies the pump was paid.
    • locked the pump required a pre-authorization, possible transitions free, inTransaction, outOfOrder. Note: A transition from locked to free implies the pre-authorization was successful.
    • inTransaction the pump is in use by another user using the pre-authorization process, possible transitions locked, outOfOrder
    • outOfOrder the pump has a technical problem, this can only be resolved by the gas station staff on site, possible transitions free, locked. Note: The customer has to pay in the shop
    See more

    Declaration

    Swift

    public enum PCFuelingStatus : String, Codable, Equatable, CaseIterable
  • vat

    Undocumented

    Declaration

    Swift

    public var vat: VAT?
  • Undocumented

    Declaration

    Swift

    public var currency: PCFuelingCurrency?
  • Fuel amount in liters

    Declaration

    Swift

    public var fuelAmount: Double?
  • Undocumented

    Declaration

    Swift

    public var fuelType: String?
  • The fueling process that has to be followed postPay the pump is free and needs to be paid after fueling preAuth the pump is locked and has to be unlocked preAuthWithFuelType the pump is locked and has to be unlocked, the carFuelType is required

    Declaration

    Swift

    public var fuelingProcess: PCFuelingFuelingProcess?
  • Pump identifier

    Declaration

    Swift

    public var identifier: String?
  • Undocumented

    Declaration

    Swift

    public var priceIncludingVAT: Double?
  • Fuel price in CUR/liter

    Declaration

    Swift

    public var pricePerUnit: Double?
  • Undocumented

    Declaration

    Swift

    public var priceWithoutVAT: Double?
  • Undocumented

    Declaration

    Swift

    public var productName: String?
  • Current pump status. free the pump is free, fueling possible (nozzle not lifted), possible transitions inUse, locked, outOfOrder. Note: A transition from free to locked may implies the pump was pre-authorization was canceled. inUse the pump is fueling, possible transitions readyToPay, locked, outOfOrder readyToPay the pump can be payed using the post pay process, possible transitions free, locked, outOfOrder. Note: A transition from readyToPay to free implies the pump was paid. locked the pump required a pre-authorization, possible transitions free, inTransaction, outOfOrder. Note: A transition from locked to free implies the pre-authorization was successful. inTransaction the pump is in use by another user using the pre-authorization process, possible transitions locked, outOfOrder outOfOrder the pump has a technical problem, this can only be resolved by the gas station staff on site, possible transitions free, locked. Note: The customer has to pay in the shop

    Declaration

    Swift

    public var status: PCFuelingStatus?
  • Provided if the user pre-authorized the pump

    Declaration

    Swift

    public var transactionId: ID?
  • VAT

    Undocumented

    See more

    Declaration

    Swift

    public class VAT : APIModel
  • Undocumented

    Declaration

    Swift

    public init(vat: VAT? = nil, currency: PCFuelingCurrency? = nil, fuelAmount: Double? = nil, fuelType: String? = nil, fuelingProcess: PCFuelingFuelingProcess? = nil, identifier: String? = nil, priceIncludingVAT: Double? = nil, pricePerUnit: Double? = nil, priceWithoutVAT: Double? = nil, productName: String? = nil, status: PCFuelingStatus? = nil, transactionId: ID? = 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: Attributes, rhs: Attributes) -> Bool