PinePaymentSdk class
Entry point for starting a payment flow.
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
-
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
Static Methods
-
startPayment(
{required String paymentUrl, required String successUrl, required String failureUrl, String appBarTitle = 'Complete Payment'}) → Future< PaymentResult> - Opens a fullscreen payment WebView and resolves when the flow completes.
-
startPaymentFromRedirectUrl(
{required String redirectUrl, String appBarTitle = 'Complete Payment'}) → Future< PaymentResult> - Merchant-first API: pass only the checkout redirect URL and start.
-
startPaymentWithRedirect(
{required String paymentUrl, required String redirectUrl, String appBarTitle = 'Complete Payment'}) → Future< PaymentResult> - Convenience API for gateways that use a single merchant redirect URL.