Interface IssuanceDetail.Builder

  • Method Details

    • issuanceId

      IssuanceDetail.Builder issuanceId(String issuanceId)

      The unique identifier for this specific issuance.

      Parameters:
      issuanceId - The unique identifier for this specific issuance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuanceAmount

      IssuanceDetail.Builder issuanceAmount(MonetaryValue issuanceAmount)

      The monetary amount or value that was issued in this specific issuance.

      Parameters:
      issuanceAmount - The monetary amount or value that was issued in this specific issuance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issuanceAmount

      default IssuanceDetail.Builder issuanceAmount(Consumer<MonetaryValue.Builder> issuanceAmount)

      The monetary amount or value that was issued in this specific issuance.

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

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

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

      IssuanceDetail.Builder issuedAt(Instant issuedAt)

      The timestamp when this specific issuance was processed.

      Parameters:
      issuedAt - The timestamp when this specific issuance was processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.