org.broadleafcommerce.core.payment.service
Class BroadleafPaymentModuleServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.service.BroadleafPaymentModuleServiceImpl
All Implemented Interfaces:
BroadleafPaymentModuleService

@Service(value="blPaymentModuleService")
public class BroadleafPaymentModuleServiceImpl
extends Object
implements BroadleafPaymentModuleService

Author:
Jerry Ocanas (jocanas)

Constructor Summary
BroadleafPaymentModuleServiceImpl()
           
 
Method Summary
 void manualPayment(PaymentSeed paymentSeed, String transactionID)
          Used by the payment module to implement setting the transaction id into the database where approriate the payment module.
 void validateResponse(PaymentSeed paymentSeed)
          Validates the response received from the payment module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadleafPaymentModuleServiceImpl

public BroadleafPaymentModuleServiceImpl()
Method Detail

validateResponse

public void validateResponse(PaymentSeed paymentSeed)
                      throws Exception
Description copied from interface: BroadleafPaymentModuleService
Validates the response received from the payment module. When implemented it should throw an error with the message received from the payment module. This message will be bubbled up and displayed in the admin to the user.

Specified by:
validateResponse in interface BroadleafPaymentModuleService
Throws:
Exception

manualPayment

public void manualPayment(PaymentSeed paymentSeed,
                          String transactionID)
Description copied from interface: BroadleafPaymentModuleService
Used by the payment module to implement setting the transaction id into the database where approriate the payment module.

Specified by:
manualPayment in interface BroadleafPaymentModuleService


Copyright © 2013. All Rights Reserved.