Replace RetailCustomer with Account-based customer model

Refactorkamo-shared-library
Ya
3 Aprili 2026, 22:23 UTC
Mwandishi
Kamo
Ahadi ya
acbcfb6

Account.java was already the commerce customer entity but was too minimal. RetailCustomer duplicated this concept. This commit: - Enhances Account with commerce fields: company, notes, acceptsMarketing, taxExempt, totalOrders, totalSpent, currency, externalId/Provider, isActive - Adds primaryMember ManyToOne to Member (org-scoped contact info with address, email, phone — no duplication) - Creates AccountGroup, AccountGroupMembership (replaces RetailCustomerGroup) - Creates AccountWishlist, AccountWishlistItem - Deletes entire retail.customer package (13 files) and 5 RetailCustomer DTOs - Updates RetailService customer methods to use Account (Long uid, not UUID) - Updates PriceList, Cart, DraftOrder to reference Account/AccountGroup - Updates CustomerSyncAdapter to use Account

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei