Package dev.ucomprotocol.spi.mock
Class MockCommerceAdapter
java.lang.Object
dev.ucomprotocol.spi.mock.MockCommerceAdapter
- All Implemented Interfaces:
CommerceAdapter
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
MockCommerceAdapter
public MockCommerceAdapter()
-
-
Method Details
-
getCatalogAdapter
Description copied from interface:CommerceAdapterReturns the catalog adapter for product operations.- Specified by:
getCatalogAdapterin interfaceCommerceAdapter
-
getCartAdapter
Description copied from interface:CommerceAdapterReturns the cart adapter for shopping cart operations.- Specified by:
getCartAdapterin interfaceCommerceAdapter
-
getOrderAdapter
Description copied from interface:CommerceAdapterReturns the order adapter for order management operations.- Specified by:
getOrderAdapterin interfaceCommerceAdapter
-
getCustomerAdapter
Description copied from interface:CommerceAdapterReturns the customer adapter for customer management operations.- Specified by:
getCustomerAdapterin interfaceCommerceAdapter
-