DepositResponse class
Represents an transfer service deposit response.
Constructors
-
DepositResponse(String? how, String? id, int? eta, double? minAmount, double? maxAmount, double? feeFixed, double? feePercent, ExtraInfo? extraInfo, Map<
String, DepositInstruction> ? instructions) -
DepositResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- eta ↔ int?
-
(optional) Estimate of how long the deposit will take to credit in seconds.
getter/setter pair
- extraInfo ↔ ExtraInfo?
-
(optional) Object with additional information about the deposit process.
getter/setter pair
- feeFixed ↔ double?
-
(optional) Fixed fee (if any). In units of the deposited asset.
getter/setter pair
- feePercent ↔ double?
-
(optional) Percentage fee (if any). In units of percentage points.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- how ↔ String?
-
(deprecated, use instructions instead) Terse but complete instructions
for how to deposit the asset. In the case of most cryptocurrencies it is
just an address to which the deposit should be sent.
getter/setter pair
- id ↔ String?
-
(optional) The anchor's ID for this deposit. The wallet will use this ID
to query the /transaction endpoint to check status of the request.
getter/setter pair
-
instructions
↔ Map<
String, DepositInstruction> ? -
(optional) A Map containing details that describe how to complete
the off-chain deposit. The map has SEP-9 financial account fields as keys
and its values are DepositInstruction objects.
getter/setter pair
- maxAmount ↔ double?
-
(optional) Maximum amount of asset that a user can deposit.
getter/setter pair
- minAmount ↔ double?
-
(optional) Minimum amount of an asset that a user can deposit.
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