CardPaymentManager class

Constructors

CardPaymentManager({required String publicKey, required String encryptionKey, required String currency, required String amount, required String email, required String fullName, required String txRef, required bool isDebugMode, String? country, String? phoneNumber, int? frequency, int? duration, bool? isPermanent, String? narration, String? redirectUrl})
CardPaymentManager constructor

Properties

amount String
getter/setter pair
cardPaymentListener CardPaymentListener?
getter/setter pair
chargeCardRequest ChargeCardRequest
getter/setter pair
country String?
getter/setter pair
currency String
getter/setter pair
duration int?
getter/setter pair
email String
getter/setter pair
encryptionKey String
getter/setter pair
frequency int?
getter/setter pair
fullName String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDebugMode bool
getter/setter pair
isPermanent bool?
getter/setter pair
narration String?
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

addAddress(ChargeRequestAddress chargeAddress) Future
This method is responsible for updating a card request with the card's address information
addOTP(String otp, String flwRef) Future<ChargeResponse>
This method is responsible for updating a card request with the card's OTP
addPin(String pin) Future
This method is responsible for updating a card request with the card's pin
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payWithCard(Client client, ChargeCardRequest chargeCardRequest) Future
Initiates Card Request
setCardPaymentListener(CardPaymentListener cardPaymentListener) CardPaymentManager
This method is required to add a payment listener to card transactions
toString() String
A string representation of this object.
inherited

Operators

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