Class DefaultMerchantTransactionCodeGenerator
java.lang.Object
de.hybris.platform.payment.strategy.impl.DefaultMerchantTransactionCodeGenerator
- All Implemented Interfaces:
TransactionCodeGenerator
public class DefaultMerchantTransactionCodeGenerator
extends Object
implements TransactionCodeGenerator
This class is used by
DefaultPaymentServiceImpl to provide the merchant
transaction code based on the specified order.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateCode(String base) this implementation generates a code of the following pattern- NOTE: if 'base' is only will be returned. voidsetKeyGenerator(KeyGenerator keyGenerator)
-
Field Details
-
DELIMITER
- See Also:
-
-
Constructor Details
-
DefaultMerchantTransactionCodeGenerator
public DefaultMerchantTransactionCodeGenerator()
-
-
Method Details
-
setKeyGenerator
-
generateCode
this implementation generates a code of the following pattern- NOTE: if 'base' is only will be returned. - Specified by:
generateCodein interfaceTransactionCodeGenerator- Parameters:
base- the leading part of the generated code- Returns:
- the merchant transaction code
-