package inside_payment.service;

import inside_payment.domain.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


public interface InsidePaymentService {
    boolean pay(PaymentInfo info, HttpServletRequest request);
    boolean createAccount(CreateAccountInfo info);
    boolean addMoney(AddMoneyInfo info);
    List<Payment> queryPayment();
    List<Balance> queryAccount();
    boolean drawBack(DrawBackInfo info);
    boolean payDifference(PaymentDifferenceInfo info, HttpServletRequest request);
    List<AddMoney> queryAddMoney();
    void initPayment(Payment payment);
}
