FlutterHyperPay class

Constructors

FlutterHyperPay({required String shopperResultUrl, required PaymentMode paymentMode, required String lang})

Properties

channelName String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lang String
getter/setter pair
paymentMode PaymentMode
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shopperResultUrl String
getter/setter pair

Methods

customUICards({required CustomUI customUI}) Future<PaymentResultData>
This method is used for making custom UI payments with cards. It takes in the required CustomUI input and returns a PaymentResultData object.
customUISTC({required CustomUISTC customUISTC}) Future<PaymentResultData>
This function is used to do payment using custom UI. It takes "CustomUI" as an argument, which consists of the brand name, checkout id, card number, holder name, month, year and cvv. The function returns a Future of PaymentResultData.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payWithSoredCards({required StoredCards storedCards}) Future<PaymentResultData>
This function allows the user to make payments using their stored cards. It accepts an argument of type StoredCards and makes a call to the implementPaymentStoredCards function with the values required for the payment. It returns a Future
readyUICards({required ReadyUI readyUI}) Future<PaymentResultData>
This async function takes a ReadyUI object as input and returns a Future object of type PaymentResultData. It implements a payment operation by passing the Brand name, Checkout ID, Shopper Result URL, Payment Channel name, Payment mode, Language, Theme color in HEX (iOS), and a flag to set the store payment details mode. The function waits for the payment operation to complete and returns the resulting PaymentResultData.
toString() String
A string representation of this object.
inherited

Operators

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