Status201
public class Status201 : APIModel
This call supports two different flows. The Pre Auth flow and the Post Pay flow. This call will notify the user via email with a payment receipt if transaction is finished successfully. Only use after approaching, otherwise returns 403 Forbidden
.
Pre Auth
This flow is used if a pump is having the status locked
. A locked
pump requires a Pre Auth to unlock. Only after this Pre Auth the pump and can be used by the user
carFuelType
may be passed to only unlock a certain nozzle of the pump. Not all pumps support this feature, and some require it. It is advised to always pass the desired fuel type. ### Post Pay You can optionally provide:priceIncludingVAT
andcurrency
in the request body to check if the price the user has seen is still correct. If the values don’t match, the status409 Conflict
is returned.carFuelType
may be provided but has no effect.
-
Undocumented
Declaration
Swift
public var data: PCFuelingProcessPaymentResponse?
-
Undocumented
Declaration
Swift
public init(data: PCFuelingProcessPaymentResponse? = 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: Status201, rhs: Status201) -> Bool