TerminalReaderAction class final
The most recent action performed by the reader.
Constructors
- TerminalReaderAction({String? failureCode, String? failureMessage, TerminalReaderReaderResourceProcessPaymentIntentAction? processPaymentIntent, TerminalReaderReaderResourceProcessSetupIntentAction? processSetupIntent, TerminalReaderReaderResourceRefundPaymentAction? refundPayment, TerminalReaderReaderResourceSetReaderDisplayAction? setReaderDisplay, required TerminalReaderActionStatus status, required TerminalReaderActionType type})
-
The most recent action performed by the reader.
const
- TerminalReaderAction.fromJson(Object? json)
-
factory
Properties
- failureCode → String?
-
final
- failureMessage → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- processPaymentIntent → TerminalReaderReaderResourceProcessPaymentIntentAction?
-
final
- processSetupIntent → TerminalReaderReaderResourceProcessSetupIntentAction?
-
final
- refundPayment → TerminalReaderReaderResourceRefundPaymentAction?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setReaderDisplay → TerminalReaderReaderResourceSetReaderDisplayAction?
-
final
- status → TerminalReaderActionStatus
-
final
- type → TerminalReaderActionType
-
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (TerminalReaderAction instance, Encoder< V> encoder) → V