MethodChannelAllPaystackPayments class

An implementation of AllPaystackPaymentsPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelPayment(String reference) Future<bool>
Cancel a payment transaction
override
getCheckoutUrl(PaymentRequest request) Future<String>
Get checkout URL for a payment transaction
override
getPaymentStatus(String reference) Future<PaymentResponse>
Get payment status
override
getPlatformVersion() Future<String?>
Get platform version (legacy method for backward compatibility)
override
initialize(String publicKey) Future<void>
Initialize the Paystack SDK with public key
override
initializePayment(PaymentRequest request) Future<PaymentResponse>
Initialize a payment transaction
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
verifyPayment(String reference) Future<PaymentResponse>
Verify a payment transaction
override

Operators

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