Class DefaultMerchantTransactionCodeGenerator

    • Field Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String generateCode​(java.lang.String base)
      this implementation generates a code of the following pattern - NOTE: if 'base' is only will be returned.
      void setKeyGenerator​(KeyGenerator keyGenerator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMerchantTransactionCodeGenerator

        public DefaultMerchantTransactionCodeGenerator()
    • Method Detail

      • setKeyGenerator

        public void setKeyGenerator​(KeyGenerator keyGenerator)
      • generateCode

        public java.lang.String generateCode​(java.lang.String base)
        this implementation generates a code of the following pattern - NOTE: if 'base' is only will be returned.
        Specified by:
        generateCode in interface TransactionCodeGenerator
        Parameters:
        base - the leading part of the generated code
        Returns:
        the merchant transaction code