BillingService auf Account-basierte Unternehmen umschreiben

RefactorBillingService
Verschifft
27. April 2026 um 22:36 UTC
Autor
Kamo
Ausschuss
c984b72

Der BillingService ist nun kontozentriert. Mitgliedergetriebene Ströme (z.B. "Eine Karte hinzufügen", "einen Plan abschließen") gehen Sie jetzt durch ein Konto, das auto-creates für das Mitglied, wenn es noch nicht existiert; das Konto hält Stripe Kunden-ID, eine oder mehrere Karten, Abonnements, Lizenzen, Rechnungen und eine Abrechnungskonfiguration. Umbenannte/ergesetzte Dienste: - BillingGroupService -" AccountBillingService - BillingGroupMitgliedService -- AccountBillingMitgliedService - BillingGroupSubscriptionService -" Account SubscriptionService - ************ -- AccountPaymentMethodService - BillingGroupInvoiceService -- AccountInvoiceService - LicenseService (rebalanceGroup -" rebalanceAccount) - StripeCustomerManager (operiert auf Rechnung) - StripeWebhookService (Account-scoped webhook Handler) - PlatformAdminService (Rolls up by Account, nicht nach Group) Umbenannte/ergesetzte Controller: - BillingGroupController -- AccountBillingController Endpunkte jetzt bei ************ montiert AccountUid ist eine Long (CockroachDB int64) als Pfadvariable getragen; Zahlungsmethode Primärmarker von "Standard" in "primär" umbenannt. Umbenannte/ergesetzte DTOs: - BillingGroupDto -- KontoBillingDto - BillingGroupMitgliedDto -- KontoBillingMemberDto - BillingGroupLicenseDto -- AccountLicenseDto - BillingGroupSubscriptionDto -- AccountAbonnementDto - BillingGroupAnforderungen -- KontoBillingAnforderungen - PlatformGroupSummary -- PlatformAccountSummary EntitlementInvalidator: invalidateGroup(UUID) ersetzt durch invalidateAccount(Long); Pub/sub Nutzlast geändert von "GROUP:{uuid" zu "ACCOUNT:{accountUid" Entfernt: jede BillingGroup* Datei in diesem Dienst.

Alle Änderungen

Wie, was Sie sehen Versand?

Jedes dieser Updates landet automatisch in Ihrem Arbeitsbereich. Starten Sie frei und beobachten Sie es Woche für Woche wachsen.

Free Forever startenPreisgestaltung anzeigen