setContext

open override fun setContext(monetaryContext: MonetaryContext): GeldbetragFactory

Sets the MonetaryContext to be used.

Return

This factory instance, for chaining.

Parameters

monetaryContext

the MonetaryContext to be used, not null.

See also

MonetaryAmountFactory.getMaximalMonetaryContext

Throws

MonetaryException

when the MonetaryContext given exceeds the capabilities supported by this factory type.