MastercardPaymentResponse class

Mastercard Payment Response

Constructors

MastercardPaymentResponse({required String orderId, String? transactionId, required String result, String? authorizationCode, String? receiptNumber, double? amount, String? currency, Map<String, dynamic>? sourceOfFunds, Map<String, dynamic>? response, String? gatewayRecommendation, DateTime? timestamp})
const
MastercardPaymentResponse.fromJson(Map<String, dynamic> json)
factory

Properties

amount double?
final
authorizationCode String?
final
currency String?
final
gatewayRecommendation String?
final
hashCode int
The hash code for this object.
no setterinherited
isFailed bool
no setter
isPending bool
no setter
isSuccessful bool
no setter
orderId String
final
receiptNumber String?
final
requiresAction bool
no setter
response Map<String, dynamic>?
final
result String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceOfFunds Map<String, dynamic>?
final
timestamp DateTime?
final
transactionId String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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