Interface GetAccountBalanceResponse.Builder

  • Method Details

    • accountBalances

      GetAccountBalanceResponse.Builder accountBalances(Collection<AccountBalance> accountBalances)

      The balance, as one amount for each merchant of record and currency. This list is empty when your account has nothing in the requested balance.

      Parameters:
      accountBalances - The balance, as one amount for each merchant of record and currency. This list is empty when your account has nothing in the requested balance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountBalances

      GetAccountBalanceResponse.Builder accountBalances(AccountBalance... accountBalances)

      The balance, as one amount for each merchant of record and currency. This list is empty when your account has nothing in the requested balance.

      Parameters:
      accountBalances - The balance, as one amount for each merchant of record and currency. This list is empty when your account has nothing in the requested balance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountBalances

      The balance, as one amount for each merchant of record and currency. This list is empty when your account has nothing in the requested balance.

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

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

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

      The pagination token that indicates the next set of results to retrieve. This value is absent when there are no more results.

      Parameters:
      nextToken - The pagination token that indicates the next set of results to retrieve. This value is absent when there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.