FortisTransactionResponse class
Standardized response returned by Fortis OneCo Tap to Pay transaction endpoints.
Constructors
-
FortisTransactionResponse({required int statusCode, required bool isSuccess, String? id, int? statusId, String? verbiage, String? authCode, int? amount, String? cardBrand, String? lastFour, String? errorMessage, Map<
String, dynamic> raw = const {}}) -
const
-
FortisTransactionResponse.fromJson(int statusCode, Map<
String, dynamic> json) -
factory
Properties
- amount → int?
-
final
- authCode → String?
-
final
- cardBrand → String?
-
final
- errorMessage → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- isSuccess → bool
-
final
- lastFour → String?
-
final
-
raw
→ Map<
String, dynamic> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
final
- statusId → int?
-
final
- verbiage → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited