MobiPaySessionTokenService class
Service for obtaining session tokens from Mobibox API
According to Mobibox HPF documentation, session tokens are obtained using the checkout authentication request parameters (operation, order, hash). Reference: https://docs.mobibox.io/docs/guides/hosted_payment_fields
Constructors
- MobiPaySessionTokenService({required String checkoutHost, required String merchantKey, required String password})
Properties
- checkoutHost → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantKey → String
-
final
- password → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getSessionToken(
{required String orderNumber, required String orderAmount, required String orderCurrency, required String orderDescription}) → Future< String> - Get session token from Mobibox API
-
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