Platform Services (FCORE_BASE)
The Platform services are available to every package. Reference them under the FCORE_BASE namespace.
JobRunService.createAndRunJob(Id jobGroupId) returns List<Job_Run_Stage__c> — the staged work it created and queued.
Commerce Services (FCORE_PAY)
The Commerce services handle order, financial-event, payment, and form/table configuration flows.
Subscriptions (FCORE_MEM)
The Subscriptions package does not expose *Service classes. Its multi-step tasks live in engine classes that are invoked through event-framework hooks rather than called directly — see the subscription events on the Event Framework page.
SubscriptionRenewalEngine— creates renewal orders from renewal paths; invoked byGenerateRenewalOrderEHwhen theGenerateRenewalOrderevent fires.ProrationPriceCalculator/AdvancedJoinProrationPriceCalculator— proration pricing for mid-term subscription purchases, plugged into the CommerceCalculatePriceflow via the pricing engine.SubscriptionTermCalculator— calculates subscription term start and end dates.
Services Fire Event Hooks
Package services fire event-framework hooks at key steps. For example, activating an order fires theGenerateInvoice event. Those hooks are what let other packages extend a flow — by registering an event handler — without modifying the service that fires them. When you build a new service, fire an event at the points where another package might reasonably need to add behavior, and document the event on the Event Framework page.
