DeviceSessionId class

DeviceSessionId is the class that allows you to get the ID from Openpay needed for your card payments.

Constructors

DeviceSessionId()

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 and API_KEY provided by Openpay to get the Device Session ID and return it in the deviceID variable as a String.

Constants

methodChannel → const MethodChannel
The methodChannel connects to the Openpay libraries to use native code.