package com.zbkj.service.wangshang.api;

public interface MybankClient {

    /**
     * @param <T>
     * @param request
     * @return
     * @throws MybankApiException
     */
    public <T extends MybankResponse> T execute(MybankRequest<T> request) throws MybankApiException;

    /**
     * @param <T>
     * @param request
     * @return
     * @throws MybankApiException
     */
    public <T extends MybankResponse> T execute(MybankUploadRequest<T> request) throws MybankApiException;

}