AllPaystackPaymentsPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AllPaystackPaymentsPlatform
- Implementers
Constructors
- AllPaystackPaymentsPlatform.new()
- Constructs a AllPaystackPaymentsPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelPayment(
String reference) → Future< bool> - Cancel a payment transaction
-
getCheckoutUrl(
PaymentRequest request) → Future< String> - Get checkout URL for a payment transaction
-
getPaymentStatus(
String reference) → Future< PaymentResponse> - Get payment status
-
getPlatformVersion(
) → Future< String?> - Get platform version (legacy method for backward compatibility)
-
initialize(
String publicKey) → Future< void> - Initialize the Paystack SDK with public key
-
initializePayment(
PaymentRequest request) → Future< PaymentResponse> - Initialize a payment transaction
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AllPaystackPaymentsPlatform
-
The default instance of AllPaystackPaymentsPlatform to use.
getter/setter pair