SEP24DepositRequest class Null safety

Request of the deposit endpoint.

Constructors

SEP24DepositRequest()

Properties

account String?
(optional) The Stellar (G...) or muxed account (M...) the client will use as the source of the withdrawal payment to the anchor. Defaults to the account authenticated via SEP-10 if not specified.
read / write
amount String?
(optional) Amount of asset requested to deposit. If this is not provided it will be collected in the interactive flow.
read / write
assetCode String
The code of the stellar asset the user wants to receive for their deposit with the anchor. The value passed must match one of the codes listed in the /info response's deposit object. 'native' is a special asset_code that represents the native XLM token.
read / write
assetIssuer String?
(optional) The issuer of the stellar asset the user wants to receive for their deposit with the anchor. If assetIssuer is not provided, the anchor will use the asset issued by themselves as described in their TOML file. If 'native' is specified as the assetCode, assetIssuer must be not be set.
read / write
claimableBalanceSupported String?
(optional) True if the client supports receiving deposit transactions as a claimable balance, false otherwise.
read / write
customFields Map<String, String>?
Custom SEP-9 fields that you can use for transmission (fieldname,value)
read / write
customFiles Map<String, Uint8List>?
Custom SEP-9 files that you can use for transmission (fieldname, value)
read / write
hashCode int
The hash code for this object.
read-only, inherited
jwt String
jwt previously received from the anchor via the SEP-10 authentication flow
read / write
kycFields StandardKYCFields?
Additionally, any SEP-9 parameters may be passed as well to make the onboarding experience simpler.
read / write
lang String?
(optional) Defaults to en if not specified or if the specified language is not supported. Language code specified using RFC 4646 which means it can also accept locale in the format en-US. error fields in the response, as well as the interactive flow UI and any other user-facing strings returned for this transaction should be in this language.
read / write
memo String?
(optional) Value of memo to attach to transaction, for hash this should be base64-encoded. Because a memo can be specified in the SEP-10 JWT for Shared Accounts, this field can be different than the value included in the SEP-10 JWT. For example, a client application could use the value passed for this parameter as a reference number used to match payments made to account.
read / write
memoType String?
(optional) type of memo that anchor should attach to the Stellar payment transaction, one of text, id or hash
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
walletName String?
(optional) In communications / pages about the deposit, anchor should display the wallet name to the user to explain where funds are going.
read / write
walletUrl String?
(optional) Anchor should link to this when notifying the user that the transaction has completed.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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