HPay class

Constructors

HPay({required String clientId, required String clientKey, required String currency, String purpose = '', String source = '', String reference = '', String transactionType = '', String customerNumber = '', String customerName = '', Color buttonColors = const Color(0xFF24b4c4)})

Properties

amount double
getter/setter pair
buttonColors Color
getter/setter pair
clientId String
getter/setter pair
clientKey String
getter/setter pair
currency String
getter/setter pair
customerName String
getter/setter pair
customerNumber String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
purpose String
getter/setter pair
recipients List<MoneyRecipient>
getter/setter pair
reference String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
getter/setter pair
transactionPlatform String
getter/setter pair
transactionType String
getter/setter pair

Methods

appendToInitializer(dynamic options) → dynamic
genId({int count = 8}) → dynamic
headers() → dynamic
initialize(HPay options) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paymentCaptured(BuildContext context) → dynamic
prepareTransaction(dynamic context, {Map extra = const {}}) → dynamic
processPayment({required BuildContext context, required double amount, String? customerName, required String customerNumber, String? purpose, Map extra = const {}}) Future
processTransfer(dynamic context) → dynamic
processWithdrawal(dynamic context) → dynamic
queryTransStatus(dynamic transId) Future<Map<String, dynamic>>
sendMoney({required BuildContext context, List<MoneyRecipient> recipients = const []}) Future
toString() String
A string representation of this object.
inherited
withdraw({required BuildContext context, required double amount, String? customerName, required String customerNumber}) Future

Operators

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