WithdrawResponse class

Represents an transfer service withdraw response.

Inheritance

Constructors

WithdrawResponse(String? accountId, String? memoType, String? memo, String? id, int? eta, double? minAmount, double? maxAmount, double? feeFixed, double? feePercent, ExtraInfo? extraInfo)
WithdrawResponse.fromJson(Map<String, dynamic> json)
factory

Properties

accountId String?
(optional) The account the user should send its token back to. This field can be omitted if the anchor cannot provide this information at the time of the request.
getter/setter pair
eta int?
(optional) Estimate of how long the withdrawal will take to credit in seconds.
getter/setter pair
extraInfo ExtraInfo?
(optional) Any additional data needed as an input for this withdraw, example: Bank Name.
getter/setter pair
feeFixed double?
(optional) If there is a fee for withdraw. In units of the withdrawn asset.
getter/setter pair
feePercent double?
(optional) If there is a percent fee for withdraw.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
(optional) The anchor's ID for this withdrawal. The wallet will use this ID to query the /transaction endpoint to check status of the request.
getter/setter pair
maxAmount double?
(optional) Maximum amount of asset that a user can withdraw.
getter/setter pair
memo String?
(optional) Value of memo to attach to transaction, for hash this should be base64-encoded. The anchor should use this memo to match the Stellar transaction with the database entry associated created to represent it.
getter/setter pair
memoType String?
(optional) Type of memo to attach to transaction, one of text, id or hash.
getter/setter pair
minAmount double?
(optional) Minimum amount of an asset that a user can withdraw.
getter/setter pair
rateLimitLimit int?
getter/setter pairinherited
rateLimitRemaining int?
getter/setter pairinherited
rateLimitReset int?
getter/setter pairinherited
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
setHeaders(Map<String, String> headers) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited