Class RegistrationPromotionCodeLogic

java.lang.Object
ch.tocco.nice2.optional.order.api.promotioncode.AbstractDefaultPromotionCodeLogic
ch.tocco.nice2.optional.eventorder.impl.RegistrationPromotionCodeLogic
All Implemented Interfaces:
PromotionCodeLogic

@Component public class RegistrationPromotionCodeLogic extends AbstractDefaultPromotionCodeLogic
  • Constructor Details Link icon

  • Method Details Link icon

    • getDefaultPositions Link icon

      public EntityList getDefaultPositions(Entity source)
      Description copied from interface: PromotionCodeLogic
      gets all positions for a source entity that will be present after the creation of the entity
      Parameters:
      source - the entity to get the positions from
      Returns:
      a entitylist of positions (might be Billing_position or Order_position entities)
    • getEntityName Link icon

      public String getEntityName()
    • getPositionEntityName Link icon

      protected String getPositionEntityName()
      Specified by:
      getPositionEntityName in class AbstractDefaultPromotionCodeLogic