Class AccountGetPortfolioResponse.Asset.Builder
-
- All Implemented Interfaces:
public final class AccountGetPortfolioResponse.Asset.BuilderA builder for Asset.
-
-
Method Summary
-
-
Method Detail
-
amount
final AccountGetPortfolioResponse.Asset.Builder amount(Double amount)
Total amount of the dShare asset token in the
Account.
-
amount
final AccountGetPortfolioResponse.Asset.Builder amount(JsonField<Double> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chainId
final AccountGetPortfolioResponse.Asset.Builder chainId(Chain chainId)
CAIP-2 chain ID of the blockchain where the dShare asset token exists.
-
chainId
final AccountGetPortfolioResponse.Asset.Builder chainId(JsonField<Chain> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed Chain value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stockId
final AccountGetPortfolioResponse.Asset.Builder stockId(String stockId)
ID of the underlying
Stockrepresented by the dShare asset token.
-
stockId
final AccountGetPortfolioResponse.Asset.Builder stockId(JsonField<String> stockId)
Sets Builder.stockId to an arbitrary JSON value.
You should usually call Builder.stockId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
symbol
final AccountGetPortfolioResponse.Asset.Builder symbol(String symbol)
Token symbol of the dShare asset token.
-
symbol
final AccountGetPortfolioResponse.Asset.Builder symbol(JsonField<String> symbol)
Sets Builder.symbol to an arbitrary JSON value.
You should usually call Builder.symbol with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tokenAddress
final AccountGetPortfolioResponse.Asset.Builder tokenAddress(String tokenAddress)
Address of the dShare asset token.
-
tokenAddress
final AccountGetPortfolioResponse.Asset.Builder tokenAddress(JsonField<String> tokenAddress)
Sets Builder.tokenAddress to an arbitrary JSON value.
You should usually call Builder.tokenAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AccountGetPortfolioResponse.Asset.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AccountGetPortfolioResponse.Asset.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AccountGetPortfolioResponse.Asset.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AccountGetPortfolioResponse.Asset.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AccountGetPortfolioResponse.Asset.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AccountGetPortfolioResponse.Asset build()
Returns an immutable instance of Asset.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.amount() .chainId() .stockId() .symbol() .tokenAddress()
-
-
-
-