Package dev.ucomprotocol.spi
Interface CommerceAdapter
- All Known Implementing Classes:
MockCommerceAdapter
public interface CommerceAdapter
Main SPI interface for UCP adapters.
Implementations should provide access to specific capability adapters.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the cart adapter for shopping cart operations.Returns the catalog adapter for product operations.Returns the customer adapter for customer management operations.Returns the order adapter for order management operations.
-
Method Details
-
getCatalogAdapter
CatalogAdapter getCatalogAdapter()Returns the catalog adapter for product operations. -
getCartAdapter
CartAdapter getCartAdapter()Returns the cart adapter for shopping cart operations. -
getOrderAdapter
OrderAdapter getOrderAdapter()Returns the order adapter for order management operations. -
getCustomerAdapter
CustomerAdapter getCustomerAdapter()Returns the customer adapter for customer management operations.
-