find

Find the instance of CheckoutCurrency based on the currency code.

Return

The CheckoutCurrency instance, or throws a CheckoutException if the code is not supported.

Parameters

currency

The currency code.