Class MembershipPromotionCodeLogic

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

@Component public class MembershipPromotionCodeLogic extends AbstractDefaultPromotionCodeLogic
  • Constructor Details

  • Method Details

    • getDefaultPositions

      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

      public String getEntityName()
    • getPositionEntityName

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