Class Wallet.Builder
-
- All Implemented Interfaces:
public final class Wallet.BuilderA builder for Wallet.
-
-
Method Summary
Modifier and Type Method Description final Wallet.Builderaddress(String address)Address of the Wallet.final Wallet.Builderaddress(JsonField<String> address)Sets Builder.address to an arbitrary JSON value. final Wallet.BuilderchainId(WalletChainId chainId)CAIP-2 formatted chain ID of the blockchain the Walletis on.final Wallet.BuilderchainId(JsonField<WalletChainId> chainId)Sets Builder.chainId to an arbitrary JSON value. final Wallet.BuilderisAmlFlagged(Boolean isAmlFlagged)Indicates whether the Walletis flagged for AML violation.final Wallet.BuilderisAmlFlagged(JsonField<Boolean> isAmlFlagged)Sets Builder.isAmlFlagged to an arbitrary JSON value. final Wallet.BuilderisManagedWallet(Boolean isManagedWallet)Indicates whether the Walletis a Dinari-managed wallet.final Wallet.BuilderisManagedWallet(JsonField<Boolean> isManagedWallet)Sets Builder.isManagedWallet to an arbitrary JSON value. final Wallet.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Wallet.BuilderputAdditionalProperty(String key, JsonValue value)final Wallet.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Wallet.BuilderremoveAdditionalProperty(String key)final Wallet.BuilderremoveAllAdditionalProperties(Set<String> keys)final Walletbuild()Returns an immutable instance of Wallet. -
-
Method Detail
-
address
final Wallet.Builder address(String address)
Address of the
Wallet.
-
address
final Wallet.Builder address(JsonField<String> address)
Sets Builder.address to an arbitrary JSON value.
You should usually call Builder.address with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chainId
final Wallet.Builder chainId(WalletChainId chainId)
CAIP-2 formatted chain ID of the blockchain the
Walletis on. eip155:0 is used for EOA wallets
-
chainId
final Wallet.Builder chainId(JsonField<WalletChainId> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed WalletChainId value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isAmlFlagged
final Wallet.Builder isAmlFlagged(Boolean isAmlFlagged)
Indicates whether the
Walletis flagged for AML violation.
-
isAmlFlagged
final Wallet.Builder isAmlFlagged(JsonField<Boolean> isAmlFlagged)
Sets Builder.isAmlFlagged to an arbitrary JSON value.
You should usually call Builder.isAmlFlagged with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isManagedWallet
final Wallet.Builder isManagedWallet(Boolean isManagedWallet)
Indicates whether the
Walletis a Dinari-managed wallet.
-
isManagedWallet
final Wallet.Builder isManagedWallet(JsonField<Boolean> isManagedWallet)
Sets Builder.isManagedWallet to an arbitrary JSON value.
You should usually call Builder.isManagedWallet with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Wallet.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Wallet.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Wallet.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Wallet.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Wallet.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-