ypay_platform_interface library

Classes

Configuration
The class represents the information for SDK initialization.
YPayMethodHandler
This class contains the necessary logic of the order of method calls for the correct SDK working.
YPayPlatform
The interface that implementations of 'YPay' must implement.

Constants

paymentChannel → const MethodChannel
A constant MethodChannel for invoking payment methods.
paymentEventChannel → const EventChannel
A constant EventChannel for listening to payment events.

Functions

ypayMockMethodCallHandler(MethodCall methodCall) Future
Mock platform channel method call handler.

Exceptions / Errors

YPayError
YPay error.
YPayInitializeError
Initialization error.
YPayInternalError
Internal error.
YPayUnknownError
Unknown error.
YPayValidationError
Client error.