IpayPayments class

Constructors

IpayPayments.new({required String amount, required String authorization, required String msisdn, required String name, required PaymentType paymentType, required Country country, required String currency, required TargetEnvironment targetEnvironment, int timeOut = 60, String cvv = '', String exp = '', String pan = '', String referencePrefix = 'ipay', String? transationId, String? paymentSucceededMsg, String? paymentFailedMsg})

Properties

amount String
the amount of the payment
getter/setter pair
authorization String
the authorization token for the payment
getter/setter pair
country Country
the country where the payment is being made
getter/setter pair
currency String
the currency of the payment
getter/setter pair
cvv String
the card CVV for a card payment
getter/setter pair
exp String
the card expiration date for a card payment
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
msisdn String
the msisdn (mobile phone number) of the payer
getter/setter pair
name String
the name of the payer
getter/setter pair
pan String
the card number for a card payment
getter/setter pair
paymentFailedMsg String?
getter/setter pair
paymentSucceededMsg String?
getter/setter pair
paymentType PaymentType
the type of payment (card , alIzza or mobile money)
getter/setter pair
referencePrefix String
The reference sufix that let you track the type of the transaction.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetEnvironment TargetEnvironment
the target environment (live or sandbox) for the payment
getter/setter pair
timeOut int
the timeout for the payment enquiry
getter/setter pair
transationId String?
getter/setter pair

Methods

ipayPayment({required BuildContext context, required void callback(String)}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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