Interface AccountBalance.Builder

  • Method Details

    • amount

      The amount, in the currency that the records making up this balance were issued in.

      Parameters:
      amount - The amount, in the currency that the records making up this balance were issued in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amount

      The amount, in the currency that the records making up this balance were issued in.

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

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

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

      AccountBalance.Builder merchantOfRecord(String merchantOfRecord)

      The merchant of record that issued the invoices or credit memos that make up this amount.

      Parameters:
      merchantOfRecord - The merchant of record that issued the invoices or credit memos that make up this amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.