MobiPayHash class

Utility class for generating Mobibox hash signatures

According to Mobibox documentation: Hash = SHA1(MD5(UPPERCASE(order.number + order.amount + order.currency + order.description + password)))

Constructors

MobiPayHash()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

generateAuthHash({required String orderNumber, required String orderAmount, required String orderCurrency, required String orderDescription, required String password}) String
Generate authentication hash for checkout/session token requests
generateTransactionStatusHash({required String paymentId, required String password}) String
Generate hash for GET_TRANS_STATUS by payment_id