Partner Module - Samgbr/LSMPServiceRS GitHub Wiki

All partners implementation is covered in this module. This module is responsible for creating, updating and deleting a partner. In addition, it maps the partner product to its partner profile id for reference. One thing to note is, all product inventory is implemented inside the product module. The following are partner packages created in the project.

  1. Partner Package
  2. Partner Service Package
  3. Partner Representation Package
  4. Partner Workflow Package

Partner Package

In this package all partner profile, address, billing, phone and products added by a partner data access object, model and manager classes created and implemented.

Partner Service Package

Here are the lists of classes used in the package.

  • Partner Address Resource
  • Partner Billing Resource
  • Partner Phone Resource
  • Partner Book Resource
  • Partner Smartphone Resource
  • Partner Resource
  • Partner Service and others.

Partner Representation Package

For the above partner service classes representation and request classes created for REST request-response implementation.

Partner Workflow Package

All partner module activity classes declared. For partner address, phone and billing activities, we have already created methods inside customer data access layer for both customer and partner. And in this module we declared the customer manager class to access these CRUD partner methods.

Endpoints

Home