Interface EmbeddedCryptoWallet.Builder

  • Method Details

    • network

      The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA

      Parameters:
      network - The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • network

      The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA

      Parameters:
      network - The blockchain network for this embedded crypto wallet. Supported networks: ETHEREUM, SOLANA
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • linkedAccounts

      EmbeddedCryptoWallet.Builder linkedAccounts(Collection<LinkedAccount> linkedAccounts)

      List of linkedAccounts linked to this wallet. Each linkedAccount represents a way the end user can authenticate to this wallet. Can be empty when adding a new linkedAccount to an existing wallet.

      Parameters:
      linkedAccounts - List of linkedAccounts linked to this wallet. Each linkedAccount represents a way the end user can authenticate to this wallet. Can be empty when adding a new linkedAccount to an existing wallet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedAccounts

      EmbeddedCryptoWallet.Builder linkedAccounts(LinkedAccount... linkedAccounts)

      List of linkedAccounts linked to this wallet. Each linkedAccount represents a way the end user can authenticate to this wallet. Can be empty when adding a new linkedAccount to an existing wallet.

      Parameters:
      linkedAccounts - List of linkedAccounts linked to this wallet. Each linkedAccount represents a way the end user can authenticate to this wallet. Can be empty when adding a new linkedAccount to an existing wallet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedAccounts

      EmbeddedCryptoWallet.Builder linkedAccounts(Consumer<LinkedAccount.Builder>... linkedAccounts)

      List of linkedAccounts linked to this wallet. Each linkedAccount represents a way the end user can authenticate to this wallet. Can be empty when adding a new linkedAccount to an existing wallet.

      This is a convenience method that creates an instance of the LinkedAccount.Builder avoiding the need to create one manually via LinkedAccount.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to linkedAccounts(List<LinkedAccount>).

      Parameters:
      linkedAccounts - a consumer that will call methods on LinkedAccount.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • walletAddress

      EmbeddedCryptoWallet.Builder walletAddress(String walletAddress)

      The wallet address on the specified blockchain network.

      Parameters:
      walletAddress - The wallet address on the specified blockchain network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redirectUrl

      EmbeddedCryptoWallet.Builder redirectUrl(String redirectUrl)

      URL for the end user to complete a provider-specific action (e.g., wallet linking, onboarding). Returned by the payment connector during instrument creation.

      Parameters:
      redirectUrl - URL for the end user to complete a provider-specific action (e.g., wallet linking, onboarding). Returned by the payment connector during instrument creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.