Interface MembershipPriceCategoryService

All Known Implementing Classes:
MembershipPriceCategoryServiceImpl

public interface MembershipPriceCategoryService
  • Method Details

    • getPriceCategoryForMembership

      Tuple2<Entity,Entity> getPriceCategoryForMembership(Entity membership, InvoicePropertiesContribution properties)
      Get the price category for a membership gets the related price categories of as well the Membership_type as the related billing address and returns the one with the lower level. (if the level is equal, the Price_category of the Membership_type will be used)
      Returns:
      Tuple2 containing 2 entities. Tuple._1 Price_category entity; Tuple._2 Price_category "source" entity (either the Membership_type or the Address entity)