Merchant class

The information of a Merchant Account

A typical QRIS code could be consisting of one of these scenarios:

  • Single Merchant at Tag 26
  • Single Merchant at Tag 51
  • Double Merchant Information at both Tag 26 and 51
Inheritance

Constructors

Merchant(String data)
Creates Merchant instance from a QRIS subtag information

Properties

checkDigit int?
Check Digit of the mPAN sequence
no setterinherited
currencyCode String?
Currency Code, positioned as 3 digits on nationalNumberingSystemDigits after the first digit (typically 360)
latefinalinherited
entries Iterable<MapEntry<int, String>>
The map entries of this Map.
no setterinherited
globallyUniqueIdentifier String?
Merchant identifier in the form of reverse domain name. Usually presented in UPPER-CASED.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
Merchant ID, with length up to 15 characters
no setter
institutionCode String?
See PANCodeMixin.institutionCode
no setter
isEmpty bool
Whether there is no key/value pair in the map.
no setterinherited
isNotEmpty bool
Whether there is at least one key/value pair in the map.
no setterinherited
keys Iterable<int>
The keys of this Map.
no setterinherited
length int
The number of key/value pairs in the map.
no setterinherited
merchantCriteria MerchantCriteria
Merchant Criteria which describes the size/scale of the merchant
no setterinherited
merchantSequence String?
Merchant Sequence Data
no setterinherited
nationalMerchantId NationalMerchantIdentifier?
(Tag 51 only) Merchant ID, with length between 15-19 characters, including additional information
latefinal
nationalNumberingSystemDigits String?
National Numbering System (NNS), which is the first 8 digits of PAN
latefinalinherited
panCode String?
See PANCodeMixin.panCode
no setter
panMerchantMethod PANMerchantMethod
The main transaction/payment method.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<String>
The values of this Map.
no setterinherited

Methods

addAll(Map<int, String> other) → void
This operation is not supported by an unmodifiable map.
inherited
addEntries(Iterable<MapEntry<int, String>> entries) → void
This operation is not supported by an unmodifiable map.
inherited
cast<RK, RV>() Map<RK, RV>
Provides a view of this map as having RK keys and RV instances, if necessary.
inherited
clear() → void
This operation is not supported by an unmodifiable map.
inherited
containsKey(Object? key) bool
Whether this map contains the given key.
inherited
containsValue(Object? value) bool
Whether this map contains the given value.
inherited
forEach(void action(int key, String value)) → void
Applies action to each key/value pair of the map.
inherited
isValidCheckDigit({bool useDeduction = false}) bool
Performs a Check Digits validation with mod 10 / Luhn Algorithm
inherited
isValidCheckDigitVerbose({bool useDeduction = false}) bool
inherited
map<K2, V2>(MapEntry<K2, V2> transform(int key, String value)) Map<K2, V2>
Returns a new map where all entries of this map are transformed by the given convert function.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putIfAbsent(int key, String ifAbsent()) String
This operation is not supported by an unmodifiable map.
inherited
remove(Object? key) String?
This operation is not supported by an unmodifiable map.
inherited
removeWhere(bool test(int key, String value)) → void
This operation is not supported by an unmodifiable map.
inherited
toEncodable() Map<String, dynamic>
inherited
toString() String
Returns the base data
inherited
update(int key, String update(String value), {String ifAbsent()?}) String
This operation is not supported by an unmodifiable map.
inherited
updateAll(String update(int key, String value)) → void
This operation is not supported by an unmodifiable map.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](covariant int? key) String?
Fetch an entry by subtag Shouldn't override
inherited
operator []=(int key, String value) → void
This operation is not supported by an unmodifiable map.
inherited