CheckoutResponse class

Constructors

CheckoutResponse({required String message, required String? reference, required bool status, required CheckoutMethod method, required bool verify, PaymentCard? card, BankAccount? account})
CheckoutResponse.defaults()

Properties

account ↔ BankAccount?
The bank account used for the payment. Will be null if the customer didn't use bank account as a means of payment
getter/setter pair
card PaymentCard?
The card used for the payment. Will be null if the customer didn't use card payment
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
A user readable message. If the transaction was not successful, this returns the cause of the error.
getter/setter pair
method CheckoutMethod
The means of payment. It may return CheckoutMethod.bank or CheckoutMethod.card
getter/setter pair
reference String?
Transaction reference. Might be null for failed transaction transactions
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status bool
The status of the transaction. A successful response returns true and false otherwise
getter/setter pair
verify bool
If the transaction should be verified. See https://developers.paystack.co/v2.0/reference#verify-transaction. This is usually false for transactions that didn't reach Paystack before terminating
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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