Class SecureOrderPaymentServiceImpl
java.lang.Object
org.broadleafcommerce.core.payment.service.SecureOrderPaymentServiceImpl
- All Implemented Interfaces:
SecureOrderPaymentService
@Service("blSecureOrderPaymentService")
public class SecureOrderPaymentServiceImpl
extends Object
implements SecureOrderPaymentService
Acquisition of Primary Account Number (PAN) and other sensitive information
is retrieved through a service separate from the order. This conceptual
separation facilitates the physical separation of this sensitive data from
the order. As a result, implementors may host sensitive user account
information in a datastore separate from the datastore housing the order.
This measure goes towards achieving a PCI compliant architecture.
- Author:
- jfischer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(PaymentType paymentType) voidfindAndRemoveSecurePaymentInfo(String referenceNumber, PaymentType paymentType) protected BankAccountPaymentfindBankAccountInfo(String referenceNumber) protected CreditCardPaymentfindCreditCardInfo(String referenceNumber) protected GiftCardPaymentfindGiftCardInfo(String referenceNumber) findSecurePaymentInfo(String referenceNumber, PaymentType paymentType) voidremove(Referenced securePaymentInfo) save(Referenced securePaymentInfo)
-
Field Details
-
securePaymentInfoDao
-
-
Constructor Details
-
SecureOrderPaymentServiceImpl
public SecureOrderPaymentServiceImpl()
-
-
Method Details
-
save
@Transactional("blTransactionManagerSecureInfo") public Referenced save(Referenced securePaymentInfo) - Specified by:
savein interfaceSecureOrderPaymentService
-
create
- Specified by:
createin interfaceSecureOrderPaymentService
-
findSecurePaymentInfo
public Referenced findSecurePaymentInfo(String referenceNumber, PaymentType paymentType) throws WorkflowException - Specified by:
findSecurePaymentInfoin interfaceSecureOrderPaymentService- Throws:
WorkflowException
-
findAndRemoveSecurePaymentInfo
@Transactional("blTransactionManagerSecureInfo") public void findAndRemoveSecurePaymentInfo(String referenceNumber, PaymentType paymentType) throws WorkflowException - Specified by:
findAndRemoveSecurePaymentInfoin interfaceSecureOrderPaymentService- Throws:
WorkflowException
-
remove
- Specified by:
removein interfaceSecureOrderPaymentService
-
findBankAccountInfo
-
findCreditCardInfo
-
findGiftCardInfo
-