VoucherPaymentManager class

Constructors

VoucherPaymentManager({required String publicKey, required bool isDebugMode, required String amount, required String currency, required String email, required String txRef, required String fullName, required String phoneNumber, String? redirectUrl})
VoucherPaymentManager constructor returns an instance of VoucherPaymentManager

Properties

amount String
getter/setter pair
currency String
getter/setter pair
email String
getter/setter pair
fullName String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDebugMode bool
getter/setter pair
phoneNumber String
getter/setter pair
publicKey String
getter/setter pair
redirectUrl String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
txRef String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payWithVoucher(VoucherPaymentRequest payload, Client client) Future<ChargeResponse>
Initiates voucher payments Returns an inatance of ChargeResponse or throws an error
toJson() Map<String, dynamic>
Converts this instance of VoucherPaymentManager to a Map
toString() String
A string representation of this object.
inherited

Operators

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