Interface AvailableLimits.Builder

  • Method Details

    • availableSpendAmount

      AvailableLimits.Builder availableSpendAmount(Amount availableSpendAmount)

      The remaining available amount that can be spent.

      Parameters:
      availableSpendAmount - The remaining available amount that can be spent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableSpendAmount

      default AvailableLimits.Builder availableSpendAmount(Consumer<Amount.Builder> availableSpendAmount)

      The remaining available amount that can be spent.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to availableSpendAmount(Amount).

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

      AvailableLimits.Builder updatedAt(Instant updatedAt)

      The timestamp when the available limits were last updated.

      Parameters:
      updatedAt - The timestamp when the available limits were last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.