org.broadleafcommerce.core.payment.service
Class SecurePaymentInfoServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.service.SecurePaymentInfoServiceImpl
All Implemented Interfaces:
SecurePaymentInfoService

@Service(value="blSecurePaymentInfoService")
public class SecurePaymentInfoServiceImpl
extends Object
implements SecurePaymentInfoService

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
protected  SecurePaymentInfoDao securePaymentInfoDao
           
 
Constructor Summary
SecurePaymentInfoServiceImpl()
           
 
Method Summary
 Referenced create(PaymentInfoType paymentInfoType)
           
 void findAndRemoveSecurePaymentInfo(String referenceNumber, PaymentInfoType paymentInfoType)
           
protected  BankAccountPaymentInfo findBankAccountInfo(String referenceNumber)
           
protected  CreditCardPaymentInfo findCreditCardInfo(String referenceNumber)
           
protected  GiftCardPaymentInfo findGiftCardInfo(String referenceNumber)
           
 Referenced findSecurePaymentInfo(String referenceNumber, PaymentInfoType paymentInfoType)
           
 void remove(Referenced securePaymentInfo)
           
 Referenced save(Referenced securePaymentInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securePaymentInfoDao

protected SecurePaymentInfoDao securePaymentInfoDao
Constructor Detail

SecurePaymentInfoServiceImpl

public SecurePaymentInfoServiceImpl()
Method Detail

save

public Referenced save(Referenced securePaymentInfo)
Specified by:
save in interface SecurePaymentInfoService

create

public Referenced create(PaymentInfoType paymentInfoType)
Specified by:
create in interface SecurePaymentInfoService

findSecurePaymentInfo

public Referenced findSecurePaymentInfo(String referenceNumber,
                                        PaymentInfoType paymentInfoType)
                                 throws WorkflowException
Specified by:
findSecurePaymentInfo in interface SecurePaymentInfoService
Throws:
WorkflowException

findAndRemoveSecurePaymentInfo

public void findAndRemoveSecurePaymentInfo(String referenceNumber,
                                           PaymentInfoType paymentInfoType)
                                    throws WorkflowException
Specified by:
findAndRemoveSecurePaymentInfo in interface SecurePaymentInfoService
Throws:
WorkflowException

remove

public void remove(Referenced securePaymentInfo)
Specified by:
remove in interface SecurePaymentInfoService

findBankAccountInfo

protected BankAccountPaymentInfo findBankAccountInfo(String referenceNumber)

findCreditCardInfo

protected CreditCardPaymentInfo findCreditCardInfo(String referenceNumber)

findGiftCardInfo

protected GiftCardPaymentInfo findGiftCardInfo(String referenceNumber)


Copyright © 2013. All Rights Reserved.