QrModel class

This class represents a QR Model.

Constructors

QrModel({required String merchantID, String? mcc, String? currency, required String? amount, String? feesAmount, String? countryCode, String? merchantName, String? merchantCity, String? postalCode, String? ref1, String? ref2, AdditionalInfo? additionalInfo, String? terminalId, String? qrTimeStamp, required Map<String, Map<String, String>> unreservedTemplate, MerchantInformationLanguageTemplate? merchantInformationLanguageTemplate, String? tipsConvenienceIndicator})
Constructor for initializing the QR model.
QrModel.fromJson(Map<String, dynamic> responseData)
factory

Properties

additionalInfo AdditionalInfo?
Additional information associated with the QR code - an optional field.
final
amount String?
The amount of the transaction.
final
countryCode String?
The country code associated with the QR code - an optional field.
final
currency String?
The currency used for the transaction - an optional field.
final
feesAmount String?
Fees associated with the transaction - an optional field.
final
hashCode int
The hash code for this object.
no setterinherited
mcc String?
Merchant Category Code (MCC) - an optional field.
final
merchantCity String?
The city where the merchant is located - an optional field.
final
merchantID String
The merchant ID associated with the QR code.
final
merchantInformationLanguageTemplate MerchantInformationLanguageTemplate?
final
merchantName String?
The name of the merchant - an optional field.
final
postalCode String?
The postal code of the merchant's location - an optional field.
final
qrTimeStamp String?
Timestamp associated with the QR code - an optional field.
final
ref1 String?
Additional reference information (Reference 1) - an optional field.
final
ref2 String?
Additional reference information (Reference 2) - an optional field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
terminalId String?
The terminal ID associated with the QR code - an optional field.
final
tipsConvenienceIndicator String?
final
unreservedTemplate Map<String, Map<String, String>>
Unreserved Template - a map containing String keys and values, where each key is associated with an inner map. The inner map is of type Map<String, String>.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert the QrModel to a JSON representation.
toString() String
Override toString method to provide a formatted string representation of QrModel.
override

Operators

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