Class AccountGetPortfolioResponse.Asset
-
- All Implemented Interfaces:
public final class AccountGetPortfolioResponse.AssetBalance of a dShare in an
Account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAccountGetPortfolioResponse.Asset.BuilderA builder for Asset.
-
Method Summary
Modifier and Type Method Description final Doubleamount()Total amount of the dShare asset token in the Account.final ChainchainId()CAIP-2 chain ID of the blockchain where the dShare asset token exists. final StringstockId()ID of the underlying Stockrepresented by the dShare asset token.final Stringsymbol()Token symbol of the dShare asset token. final StringtokenAddress()Address of the dShare asset token. final JsonField<Double>_amount()Returns the raw JSON value of amount. final JsonField<Chain>_chainId()Returns the raw JSON value of chainId. final JsonField<String>_stockId()Returns the raw JSON value of stockId. final JsonField<String>_symbol()Returns the raw JSON value of symbol. final JsonField<String>_tokenAddress()Returns the raw JSON value of tokenAddress. final Map<String, JsonValue>_additionalProperties()final AccountGetPortfolioResponse.Asset.BuildertoBuilder()final AccountGetPortfolioResponse.Assetvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AccountGetPortfolioResponse.Asset.Builderbuilder()Returns a mutable builder for constructing an instance of Asset. -
-
Method Detail
-
chainId
final Chain chainId()
CAIP-2 chain ID of the blockchain where the dShare asset token exists.
-
tokenAddress
final String tokenAddress()
Address of the dShare asset token.
-
_amount
final JsonField<Double> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_chainId
final JsonField<Chain> _chainId()
Returns the raw JSON value of chainId.
Unlike chainId, this method doesn't throw if the JSON field has an unexpected type.
-
_stockId
final JsonField<String> _stockId()
Returns the raw JSON value of stockId.
Unlike stockId, this method doesn't throw if the JSON field has an unexpected type.
-
_symbol
final JsonField<String> _symbol()
Returns the raw JSON value of symbol.
Unlike symbol, this method doesn't throw if the JSON field has an unexpected type.
-
_tokenAddress
final JsonField<String> _tokenAddress()
Returns the raw JSON value of tokenAddress.
Unlike tokenAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AccountGetPortfolioResponse.Asset.Builder toBuilder()
-
validate
final AccountGetPortfolioResponse.Asset validate()
-
builder
final static AccountGetPortfolioResponse.Asset.Builder builder()
Returns a mutable builder for constructing an instance of Asset.
The following fields are required:
.amount() .chainId() .stockId() .symbol() .tokenAddress()
-
-
-
-