Aura checkout integration Apex interfaces and IntegrationStatus
Key Takeaway
Implement one of the four sfdc_checkout interfaces, return an sfdc_checkout.IntegrationStatus set to SUCCESS or FAILED, then register the class and map it to the store.
B2B stores built with the Aura template use a checkout integrations framework to run your own Apex for inventory, pricing, shipping, and tax during checkout. Your class reports success or failure through an IntegrationStatus. You then register the class and map it to the store so checkout can find it.
The four interfaces
All checkout integration types live in the sfdc_checkout namespace. AsyncCartProcessor is the base interface for asynchronous B2B Commerce integrations. Four interfaces extend it, and your class implements one of them:
CartInventoryValidationfor inventoryCartPriceCalculationsfor pricingCartShippingChargesfor shippingCartTaxCalculationsfor tax