org.broadleafcommerce.core.checkout.service.workflow
Class CommitTaxActivity

java.lang.Object
  extended by org.broadleafcommerce.core.workflow.BaseActivity<CheckoutContext>
      extended by org.broadleafcommerce.core.checkout.service.workflow.CommitTaxActivity
All Implemented Interfaces:
Activity<CheckoutContext>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered

public class CommitTaxActivity
extends BaseActivity<CheckoutContext>

This is an optional activity to allow a committal of taxes to a tax sub system. Many tax providers store tax details for reference, debugging, reporting, and reconciliation.

Author:
Kelly Tisdell

Field Summary
protected  TaxService taxService
           
 
Fields inherited from class org.broadleafcommerce.core.workflow.BaseActivity
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
CommitTaxActivity()
           
 
Method Summary
 CheckoutContext execute(CheckoutContext context)
          Called by the encompassing processor to activate the execution of the Activity
 
Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taxService

protected TaxService taxService
Constructor Detail

CommitTaxActivity

public CommitTaxActivity()
Method Detail

execute

public CheckoutContext execute(CheckoutContext context)
                        throws Exception
Description copied from interface: Activity
Called by the encompassing processor to activate the execution of the Activity

Parameters:
context - - process context for this workflow
Returns:
resulting process context
Throws:
Exception


Copyright © 2013. All Rights Reserved.