SwichPaySandbox class
Sandbox-only OAuth/session-details helpers for prototyping - never call from production code.
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
-
fetchAccessToken(
{required String clientId, required String clientSecret}) → Future< String> -
Calls the sandbox token endpoint with the
client_credentialsgrant. -
fetchPaymentSessionDetails(
{required String paymentSessionGuid, required String accessToken}) → Future< PaymentSessionDetails> -
Fetches session details and parses them into a PaymentSessionDetails, dropping
clientSecret.