Class VerifyCustomerMaxOfferUsesActivity

java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<ProcessContext<CheckoutSeed>>
org.broadleafcommerce.core.offer.service.workflow.VerifyCustomerMaxOfferUsesActivity
All Implemented Interfaces:
Activity<ProcessContext<CheckoutSeed>>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered

@Component("blVerifyCustomerMaxOfferUsesActivity") 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.

This will also verify that max uses for any OfferCodes that were used to retrieve the Offers.

Author:
Phillip Verheyden (phillipuniverse)
  • Field Details

  • Constructor Details

    • VerifyCustomerMaxOfferUsesActivity

      public VerifyCustomerMaxOfferUsesActivity()
  • Method Details