Class NPayDAO


public class NPayDAO extends BillingModuleDAO
  • Constructor Details

    • NPayDAO

      public NPayDAO(User user, String billingId, int moduleId)
  • Method Details

    • getServiceList

      public List<NPayService> getServiceList(int contractId)
      Returns the contract's subscription fee services
      Parameters:
      contractId - the contract ID
      Returns:
      the service list
    • getService

      public NPayService getService(int id)
      Returns the contract's subscription fee service by record ID
      Parameters:
      id - the record ID
      Returns:
      the service
    • updateService

      public void updateService(NPayService service)
      Updates or adds the contract's subscription fee service
      Parameters:
      service - the service
    • deleteService

      public void deleteService(int contractId, int id)
      Deletes the contract's subscription fee service
      Parameters:
      contractId - the contract ID
      id - the service ID