package com.ruoyi.system.service;

import com.ruoyi.system.domain.PosStoreLinePay;
import com.ruoyi.system.domain.dto.StoreLinePayCredentialDto;
import com.ruoyi.system.domain.vo.PosStoreLinePayVo;

import java.util.List;

public interface IPosStoreLinePayService {
    PosStoreLinePay getCurrent(Long storeId);
    PosStoreLinePay getEnabledCurrent(Long storeId);
    PosStoreLinePay getById(Long credentialId);
    List<PosStoreLinePayVo> selectStoreList(PosStoreLinePayVo query);
    PosStoreLinePayVo selectStoreDetail(Long storeId);
    PosStoreLinePay saveVerifiedCredential(StoreLinePayCredentialDto dto, String environment,
                                           String returnCode, String returnMessage);
    int setCurrentEnabled(Long storeId, boolean enabled);
}
