org.broadleafcommerce.core.payment.service
Class CompositePaymentServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.service.CompositePaymentServiceImpl
All Implemented Interfaces:
CompositePaymentService

@Service(value="blCompositePaymentService")
public class CompositePaymentServiceImpl
extends Object
implements CompositePaymentService

Execute the payment workflow independently of the checkout workflow

Author:
jfischer

Field Summary
protected  SequenceProcessor paymentWorkflow
           
 
Constructor Summary
CompositePaymentServiceImpl()
           
 
Method Summary
 CompositePaymentResponse executePayment(Order order)
           
 CompositePaymentResponse executePayment(Order order, Map<PaymentInfo,Referenced> payments)
           
 CompositePaymentResponse executePayment(Order order, Map<PaymentInfo,Referenced> payments, PaymentResponse response)
           
 CompositePaymentResponse executePaymentForGateway(Order order, PaymentInfoFactory paymentInfoFactory)
           
 SequenceProcessor getPaymentWorkflow()
           
 void setPaymentWorkflow(SequenceProcessor paymentWorkflow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paymentWorkflow

protected SequenceProcessor paymentWorkflow
Constructor Detail

CompositePaymentServiceImpl

public CompositePaymentServiceImpl()
Method Detail

executePayment

public CompositePaymentResponse executePayment(Order order,
                                               Map<PaymentInfo,Referenced> payments,
                                               PaymentResponse response)
                                        throws PaymentException
Specified by:
executePayment in interface CompositePaymentService
Throws:
PaymentException

executePayment

public CompositePaymentResponse executePayment(Order order,
                                               Map<PaymentInfo,Referenced> payments)
                                        throws PaymentException
Specified by:
executePayment in interface CompositePaymentService
Throws:
PaymentException

executePayment

public CompositePaymentResponse executePayment(Order order)
                                        throws PaymentException
Specified by:
executePayment in interface CompositePaymentService
Throws:
PaymentException

executePaymentForGateway

public CompositePaymentResponse executePaymentForGateway(Order order,
                                                         PaymentInfoFactory paymentInfoFactory)
                                                  throws PaymentException
Specified by:
executePaymentForGateway in interface CompositePaymentService
Throws:
PaymentException

getPaymentWorkflow

public SequenceProcessor getPaymentWorkflow()

setPaymentWorkflow

public void setPaymentWorkflow(SequenceProcessor paymentWorkflow)


Copyright © 2013. All Rights Reserved.