public class AdminMgrUtils extends java.lang.Object implements AdminMgrUtilsIf
Constructor and Description |
---|
AdminMgrUtils()
Empty constructor
|
Modifier and Type | Method and Description |
---|---|
void |
decryptOrder(AdminOrder order)
Decrypt the encrypted parts of an order - but only if the encryption key passed in is
non-null and not empty.
|
AdminCreditCard |
encryptCreditCard(AdminCreditCard creditCard,
java.lang.String ek)
Encrypt the credit card details - but only if the encryption key passed in is non-null and
not empty.
|
public void decryptOrder(AdminOrder order) throws KKAdminException
decryptOrder
in interface AdminMgrUtilsIf
order
- the order object that will be populated with the unencrypted attributesKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic AdminCreditCard encryptCreditCard(AdminCreditCard creditCard, java.lang.String ek) throws KKAdminException
encryptCreditCard
in interface AdminMgrUtilsIf
creditCard
- the original credit card objectek
- the encryption keyKKAdminException
- unexpected exception in the KonaKart Admin EngineCopyright © 2018 DS Data Systems UK Ltd.