package com.hepl.tunefortwo.service;

import java.io.IOException;
import java.time.LocalDate;
import java.util.List;

import com.hepl.tunefortwo.dto.PaymentDto;
import com.hepl.tunefortwo.entity.Payment;

public interface PaymentService  {
	
	public Payment savepayment(PaymentDto dto);
	
	public void updatePayment(PaymentDto dto,String id);
	
	public void delete(String id);

	public PaymentDto getPaymentById(String id);

	public List<Payment> getAllPayments();
	
	 public double calculateDeliveryPayment(LocalDate clientDate) ;
}
