Interface Referenced

All Superinterfaces:
Serializable
All Known Subinterfaces:
BankAccountPayment, CreditCardPayment, GiftCardPayment
All Known Implementing Classes:
BankAccountPaymentImpl, CreditCardPaymentInfoImpl, GiftCardPaymentImpl

public interface Referenced extends Serializable

The main interface used to store extra-secure data such as credit card, bank accounts and gift card data. All entities that implement this interface should be stored in a completely separate database under strict PCI compliance. Broadleaf provides the ability for this in the blSecurePU persistence unit, which all implementing entities are members of.

Entities that implement this Referenced interface should not be instantiated directly but rather be instaniated via SecureOrderPaymentService.create(org.broadleafcommerce.core.payment.service.type.PaymentType)

In the common case, this is rarely used as most implementors will NOT want to deal with the liability and extra PCI requirements associated with storing sensitive payment data. Consider integrating with a payment provider that takes care of PCI-sensitive data instead.

Author:
Phillip Verheyden (phillipuniverse)
  • Method Summary

    Modifier and Type
    Method
    Description
    org.broadleafcommerce.common.encryption.EncryptionModule
     
     
    The indirect link between non-secure data and the secure data represented here.
    void
    setEncryptionModule(org.broadleafcommerce.common.encryption.EncryptionModule encryptionModule)
    Sets the encryption module used by to encrypt and decrypt the data saved in the blSecurePU persistence unit.
    void
    setId(Long id)
     
    void
    setReferenceNumber(String referenceNumber)
    Set the link between this secure entity and the OrderPayment.