KeckPaymentInput class

Eine Zahlung, wie der Aufrufer sie an sellReceipt/sell/ cancel schickt – Zwilling von ReceiptPaymentInput. id und changeCents vergibt der Server.

Hier geprueft wird nur die Form (paymentsError); Summe, Anbieter-Pflicht und Trinkgeld prueft der Server, der den Zahlbetrag kennt.

Constructors

KeckPaymentInput({required KeckPaymentMethod method, required int amountCents, int? tenderedCents, CreditCardProvider? provider, String? providerPaymentId, Map<String, dynamic>? providerData, String? refundOf, int? tipCents})
const

Properties

amountCents → int
final
hashCode → int
The hash code for this object.
no setterinherited
method → KeckPaymentMethod
final
provider → CreditCardProvider?
final
providerData → Map<String, dynamic>?
final
providerPaymentId → String?
final
refundOf → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenderedCents → int?
final
tipCents → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Nutzlast; nur gesetzte Felder, der Enum-Name ist das Drahtformat.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited