Class UnitConverter


  • public class UnitConverter
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TRADED_UNIT  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String convertFromOZTAmount​(java.lang.String currencyPair, java.lang.String amount, java.lang.String unit)  
      java.lang.String convertToDisplayedAmount​(java.lang.String requestId, java.lang.String assetClass, java.lang.String amount, java.lang.String currencyPair, java.lang.String unit)
      Anything converted from a traded amount with this method will only be an approximation of what was actually traded
      java.lang.String convertToDisplayedGFA​(java.lang.String assetClass, java.lang.String gfa, java.lang.String currencyPair, java.lang.String unit)  
      java.lang.String convertToOZTAmount​(java.lang.String currencyPair, java.lang.String amount, java.lang.String unit)  
      java.lang.String convertToTradableAmount​(java.lang.String requestId, java.lang.String assetClass, java.lang.String amount, java.lang.String currencyPair, java.lang.String unit)  
      java.util.List<java.lang.String> getAllPreciousMetalsCurrencyPairs()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait