RevenueWithdrawalState class abstract
This object describes the state of a revenue withdrawal operation. Currently, it can be one of RevenueWithdrawalStatePending, RevenueWithdrawalStateSucceeded, RevenueWithdrawalStateFailed.
Constructors
- RevenueWithdrawalState()
-
Creates a new RevenueWithdrawalState object from JSON.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → RevenueWithdrawalStateType
-
Type of the revenue withdrawal state.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a RevenueWithdrawalState to a Map for JSON encoding.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → RevenueWithdrawalState - Creates a new RevenueWithdrawalState object. This method decides which RevenueWithdrawalState subclass to use based on the type field.