Class RippleExchange

    • Constructor Detail

      • RippleExchange

        public RippleExchange()
    • Method Detail

      • ToDate

        public static Date ToDate​(String datetime)
                           throws ParseException
        Converts a datetime string as returned from the Ripple REST API into a java date object. The string is the UTC time in format yyyy-MM-dd'T'hh:mm:ss.SSS'Z' e.g. 2015-06-13T11:45:20.102Z
        Throws:
        com.fasterxml.jackson.databind.exc.InvalidFormatException
        ParseException
      • getNonceFactory

        public si.mazi.rescu.SynchronizedValueFactory<Long> getNonceFactory()
        Description copied from interface: Exchange
        The nonce factory used to create a nonce value. Allows services to accept a placeholder that is replaced with generated value just before message is serialized and sent. If a method of a rest accepts ValueFactory as a parameter, it's evaluated, the message is serialized and sent in a single synchronized block.
        Specified by:
        getNonceFactory in interface Exchange
        Returns:
        Synchronized value factory
      • getRoundingScale

        public int getRoundingScale()
      • validateOrderRequests

        public boolean validateOrderRequests()
      • isStoreTradeTransactionDetails

        public boolean isStoreTradeTransactionDetails()
      • clearOrderDetailsCache

        public void clearOrderDetailsCache()