Class OBCurrencyUtils


  • public class OBCurrencyUtils
    extends Object
    Utilities to get Currency
    • Constructor Detail

      • OBCurrencyUtils

        public OBCurrencyUtils()
    • Method Detail

      • getOrgCurrency

        public static String getOrgCurrency​(String orgId)
        Returns the currency id for the given organization id. If the org id is empty, it returns null. If the given organization has no currency, it tries to get its legal entity's currency. If not found, it returns the organization client's currency
        Parameters:
        orgId - Organization Id whose currency is needed
        Returns:
        String currencyId currency id for the given organization. Null if not found