AccountGroup -> AccountTier (customer segmentation, not billing)

Otherkamo-shared-library
Shipped
April 27, 2026 at 11:07 PM UTC
Author
Kamo
Commit
89bbb86

The retail customer-segmentation entity (with discountPercentage, used by PriceList for tier-based pricing) collided in name with the now-removed billing-group concept. Renamed throughout to "Tier" to make its purpose self-evident and eliminate the lingering "group" terminology in the accounts package. Renames: - AccountGroup -> AccountTier - AccountGroupMembership -> AccountTierMembership (and its `group` field -> `tier`) - AccountGroupRepository -> AccountTierRepository - **************** -> AccountTierMembershipRepository (findByGroupUid -> findByTierUid) - Tables: ACCOUNT_GROUPS -> ACCOUNT_TIERS, ACCOUNT_GROUP_MEMBERSHIPS -> ACCOUNT_TIER_MEMBERSHIPS - PriceList.customerGroup -> customerTier (column customer_group_id -> customer_tier_id) - RetailService methods: getCustomerGroups -> getCustomerTiers, createGroup -> createTier, updateGroup -> updateTier, deleteGroup -> deleteTier, toGroupDTO -> toTierDTO - DTO field customerGroupId -> customerTierId

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing