@Nonnull public static class BulkFixedRateConversionResult.BulkFixedRateConversionResultBuilder extends Object
Constructor and Description |
---|
BulkFixedRateConversionResultBuilder() |
Modifier and Type | Method and Description |
---|---|
BulkFixedRateConversionResult.BulkFixedRateConversionResultBuilder |
addFailureResultEntry(ConversionParametersForFixedRate conversionParametersForFixedRate,
Throwable throwable)
Adds the
Try of Throwable as a failed entry to the conversion result set map with the
specified ConversionParametersForFixedRate . |
BulkFixedRateConversionResult.BulkFixedRateConversionResultBuilder |
addSuccessResultEntry(ConversionParametersForFixedRate conversionParametersForFixedRate,
SingleFixedRateConversionResult singleFixedRateConversionResult)
Adds the
Try of SingleFixedRateConversionResult as a success entry to the conversion result
set map with the specified ConversionParametersForFixedRate . |
BulkFixedRateConversionResult |
build()
The build method for BulkFixedRateConversionResult.
|
public BulkFixedRateConversionResultBuilder()
@Nonnull public BulkFixedRateConversionResult.BulkFixedRateConversionResultBuilder addSuccessResultEntry(@Nonnull ConversionParametersForFixedRate conversionParametersForFixedRate, @Nonnull SingleFixedRateConversionResult singleFixedRateConversionResult)
Try
of SingleFixedRateConversionResult
as a success entry to the conversion result
set map with the specified ConversionParametersForFixedRate
.conversionParametersForFixedRate
- ConversionParametersForFixedRate
: A list of conversion parameters for a fixed rate. The
list acts as the input for the conversion and the same object is provided in the result
SingleFixedRateConversionResult
for correlation.singleFixedRateConversionResult
- SingleFixedRateConversionResult
after a fixed rate conversion is performed.@Nonnull public BulkFixedRateConversionResult.BulkFixedRateConversionResultBuilder addFailureResultEntry(@Nonnull ConversionParametersForFixedRate conversionParametersForFixedRate, @Nonnull Throwable throwable)
Try
of Throwable
as a failed entry to the conversion result set map with the
specified ConversionParametersForFixedRate
.conversionParametersForFixedRate
- ConversionParametersForFixedRate
: A list of conversion parameters for a fixed rate. The
list acts as the input for conversion and the same object is provided in the result
SingleFixedRateConversionResult
for correlation.throwable
- The exception that occurred while performing the conversion.@Nonnull public BulkFixedRateConversionResult build()
BulkFixedRateConversionResult
.Copyright © 2021 SAP SE. All rights reserved.