CheckoutResource class
Checkout resource for managing checkout sessions
Constructors
- CheckoutResource(FyberHttpClient _http)
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
-
create(
CreateCheckoutRequest request) → Future< CheckoutSession> - Create a new checkout session
-
expire(
String id) → Future< CheckoutSession> - Expire a checkout session
-
get(
String id) → Future< CheckoutSession> - Retrieve a checkout session by ID
-
getBySessionId(
String sessionId) → Future< CheckoutSession> - Retrieve a checkout session by session ID (cs_xxx format)
-
list(
[ListOptions? options]) → Future< PaginatedResponse< CheckoutSession> > - List all checkout sessions
-
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