class TripCurrencyCodeSupplier implements CurrencyCodeSupplier {

    @NonNull
    @Override
    public String get() {
        if (trip != null) {
            return trip.getDefaultCurrencyCode();
        } else {
            return userPreferenceManager.get(UserPreference.General.DefaultCurrency);
        }
    }

    public  TripCurrencyCodeSupplier(@NonNull UserPreferenceManager userPreferenceManager, @Nullable Trip trip);

}