PurchaseData class

Constructors

PurchaseData.new({required int terminalId, required String message, required String transactionId, required HostResponseData hostResponseData, required bool isOtpRequired, String? customerId, String? customerTokenId, String? transactionTypeId, String? transactionTypeDisplayName, String? merchantId, String? currency, String? amount, String? currencyId, String? merchantName, String? gatewayTransactionReference, String? transactionDate})
PurchaseData.fromMap(Map<String, dynamic> map)
factory
PurchaseData.fromUri(Uri uri)
factory

Properties

amount String?
final
currency String?
final
currencyId String?
final
customerId String?
final
customerTokenId String?
final
gatewayTransactionReference String?
final
hashCode int
The hash code for this object.
no setteroverride
hostResponseData HostResponseData
final
isOtpRequired bool
final
merchantId String?
final
merchantName String?
final
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terminalId int
final
transactionDate String?
final
transactionId String
final
transactionTypeDisplayName String?
final
transactionTypeId String?
final

Methods

copyWith({String? transactionNo, String? approvalCode, String? actionCode, String? message, String? authCode, String? transactionId, bool? signatureRequired, String? mwActionCode, String? mwMessage, String? threeDSecureUrl, HostResponseData? hostResponseData, int? terminalId, String? transactionDate, String? gatewayTransactionReference, String? merchantName}) PurchaseData
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

formatLastLoggedInDate(String? value) String