FlutterTappay class

A flutter resolution for Tappay user

Currently support Android, iOS need wait or please and welcome to pull request :P

Constructors

FlutterTappay()
factory
FlutterTappay.private()

Properties

eventChannel EventChannel
final
hashCode int
The hash code for this object. [...]
read-only, inherited
onTokenReceived Stream
Stream for listening the token from native activity [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

init({int appId, String appKey, FlutterTappayServerType serverType}) Future<void>
Use programmatically way to init, can't be used with Android way.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sendToken({String cardNumber, String dueMonth, String dueYear, String ccv}) Future<TappayTokenResponse>
Use programmatically way to get card prime, can't be used with Android way. Must catch error If there is any.
toString() String
A string representation of this object. [...]
inherited
validate({String cardNumber, String dueMonth, String dueYear, String ccv}) Future<TappayValidation>
Use programmatically way to valid card infos, can't be used with Android way.

Operators

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

Static Methods

showPayment({int appId, String appKey, FlutterTappayServerType serverType, String title, String btnName, String pendingBtnName, int androidReqCode = 8787}) Future<void>
Show native payment to pay [...]