AllPaystackPaymentsWeb class
A web implementation of the AllPaystackPaymentsPlatform of the AllPaystackPayments plugin.
- Inheritance
-
- Object
- PlatformInterface
- AllPaystackPaymentsPlatform
- AllPaystackPaymentsWeb
Constructors
- AllPaystackPaymentsWeb.new()
- Constructs a AllPaystackPaymentsWeb
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
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?> -
Returns a String containing the version of the platform.
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
Static Methods
-
registerWith(
Registrar registrar) → void