PostTransactionResponse class abstract
Response from submitting a transaction to the approval server.
The approval server will return one of five possible response types:
- PostTransactionSuccess Transaction approved without changes
- PostTransactionRevised Transaction modified to be compliant
- PostTransactionPending Approval decision delayed, retry later
- PostTransactionActionRequired User must complete an action
- PostTransactionRejected Transaction cannot be made compliant
Clients must handle each response type appropriately according to the workflow described in the class-level documentation.
Constructors
- PostTransactionResponse()
- Creates a base post-transaction response for regulated asset transfers.
-
PostTransactionResponse.fromJson(Map<
String, dynamic> json) -
Creates a PostTransactionResponse from JSON response.
factory
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