DeviceSessionId class
DeviceSessionId is the class that allows you to get the ID from Openpay needed for your card payments.
Constructors
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
-
getDeviceID(
String MERCHANT_ID, String API_KEY, bool productionMode) → Future< String?> -
The getDeviceID method uses the
MERCHANT_ID
andAPI_KEY
provided by Openpay to get the Device Session ID and return it in thedeviceID
variable as a String.
Constants
- methodChannel → const MethodChannel
- The methodChannel connects to the Openpay libraries to use native code.