flutter_hyperpay library

Classes

FlutterHyperPay
PaymentBrands
This class contains constants representing various payment brands, such as mada, applePay, credit, stcPay, masterCard, and visa.
PaymentConst
This class contains different constants used in Payment APIs including Apple Pay, Ready UI, Custom UI, Custom UI STC, Stored Cards, Method Call, Success, Error, and Sync.
PaymentLang
This class is used to store the language constants used for Payment. Constants include iOS's Arabic (ar) and English (en) and Android's English (en_US) and Arabic (ar_AR).
PaymentResultData
This class holds the data for a payment result, containing an errorString (nullable) and a paymentResult object.

Enums

PaymentMode
PaymentMode is an enumeration which can take on the values of either 'live' or 'test' and is used to indicate which payment mode is used.
PaymentResult
This enum is used to store the result of a Payment operation. It can be either 'sync', 'success', 'error' or 'noResult'.