conorH22/bike-rental

View on GitHub
src/main/java/com/csharp/bikerental/service/PaymentReportService/PaymentReportServiceImpl.java

Summary

Maintainability
A
0 mins
Test Coverage
package com.csharp.bikerental.service.PaymentReportService;

import com.csharp.bikerental.persistence.model.Issues;
import com.csharp.bikerental.persistence.repo.IssuesRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;

import com.csharp.bikerental.service.CompositeClasses.PaymentReportImpl;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;

@Service
public class PaymentReportServiceImpl implements  PaymentReportServiceInterface{

    public List<HashMap<Date, Long>> PaymentReportOverview(Long userid) {
        PaymentReportImpl payments = new PaymentReportImpl();
        return payments.calculatePayments(userid);
    }
}