Openpay class

Openpay instance

Constructors

Openpay(String merchantId, String apiKey, {bool isSandboxMode = false, Country country = Country.Mexico})

Properties

apiKey String
Your public API Key
final
baseUrl String
no setter
country Country
Which API endpoint to use.
final
hashCode int
The hash code for this object.
no setterinherited
isSandboxMode bool
enable sandox or production mode False by default
final
merchantId String
Your merchant id
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createToken(CardInfo card) Future<TokenInfo>
Create a token from card data
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