PokepayClient class

Constructors

PokepayClient({required String accessToken, APIEnv env = APIEnv.PRODUCTION, required String privateMoneyId})

Properties

api PokepayAPI
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
privateMoneyId String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createToken({required bool isMerchant, double? amount, required String description, int? expiresIn, String? accountId, List<Product>? products}) Future<String>
getTerminalInfo() Future<Terminal>
getTokenInfo(String token, APIEnv env) Future<TokenInfo>
getWebBaseURL(APIEnv env) Future<String>
invokeToken({required String token}) Future<UserTransaction>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pay({required Bill bill, double? amount}) Future<UserTransaction>
scanToken({required String scanToken, double? amount, String? accountId, List<Product>? products, String? couponId, TransactionStrategy strategy = TransactionStrategy.POINT_PREFERRED}) Future<UserTransaction>
topup({required Check check, String? accountId}) Future<UserTransaction>
toString() String
A string representation of this object.
inherited

Operators

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