public class VerifyCustomerMaxOfferUsesActivity extends BaseActivity<ProcessContext<CheckoutSeed>>
Checks the offers being used in the order to make sure that the customer
has not exceeded the max uses for the Offer.
OfferCodes that were used to retrieve the Offers.| Modifier and Type | Field and Description |
|---|---|
protected OfferAuditService |
offerAuditService |
protected OfferService |
offerService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
VerifyCustomerMaxOfferUsesActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext<CheckoutSeed> |
execute(ProcessContext<CheckoutSeed> context)
Called by the encompassing processor to activate
the execution of the Activity
|
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected OfferAuditService offerAuditService
protected OfferService offerService
public ProcessContext<CheckoutSeed> execute(ProcessContext<CheckoutSeed> context) throws Exception
Activitycontext - - process context for this workflowExceptionCopyright © 2015. All Rights Reserved.