QrModel constructor

QrModel({
  1. required String merchantID,
  2. String? mcc,
  3. String? currency,
  4. required String? amount,
  5. String? feesAmount,
  6. String? countryCode,
  7. String? merchantName,
  8. String? merchantCity,
  9. String? postalCode,
  10. String? ref1,
  11. String? ref2,
  12. AdditionalInfo? additionalInfo,
  13. String? terminalId,
  14. String? qrTimeStamp,
  15. required Map<String, Map<String, String>> unreservedTemplate,
  16. MerchantInformationLanguageTemplate? merchantInformationLanguageTemplate,
  17. String? tipsConvenienceIndicator,
})

Constructor for initializing the QR model.

Implementation

QrModel({
  required this.merchantID,
  this.mcc,
  this.currency,
  required this.amount,
  this.feesAmount,
  this.countryCode,
  this.merchantName,
  this.merchantCity,
  this.postalCode,
  this.ref1,
  this.ref2,
  this.additionalInfo,
  this.terminalId,
  this.qrTimeStamp,
  required this.unreservedTemplate,
  this.merchantInformationLanguageTemplate,
  this.tipsConvenienceIndicator,
});