FuelAdditive
public struct FuelAdditive : Hashable
Contains fuel additive information for generic fuel type.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
The type of the fuel additive. For now, only AUS 32 is supported.
Declaration
Swift
public var type: FuelAdditiveType -
Indicates if the fuel additive is available in cans or not.
nilmeans information is unknown.Declaration
Swift
public var availableInCans: Bool? -
Indicates if the fuel additive is available at the pump or not.
nilmeans information is unknown.Declaration
Swift
public var availableAtPump: Bool? -
Creates a new instance.
Declaration
Swift
public init(type: FuelAdditiveType = FuelAdditiveType.aus32, availableInCans: Bool? = nil, availableAtPump: Bool? = nil)