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  Processor 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)
           
 Processor getPaymentWorkflow()
           
 void setPaymentWorkflow(Processor paymentWorkflow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paymentWorkflow

protected Processor 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 Processor getPaymentWorkflow()

setPaymentWorkflow

public void setPaymentWorkflow(Processor paymentWorkflow)


Copyright © 2013. All Rights Reserved.