All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fasc.open.api.v5_1.client.ArchivesPerformanceClient Maven / Gradle / Ivy

package com.fasc.open.api.v5_1.client;

import com.fasc.open.api.bean.base.BaseRes;
import com.fasc.open.api.constants.OpenApiUrlConstants;
import com.fasc.open.api.exception.ApiException;
import com.fasc.open.api.v5_1.req.archives.*;
import com.fasc.open.api.v5_1.res.archives.*;

import java.util.List;

/**
 * @author zhoufucheng
 * @date 2023/11/8 14:01
 */
public class ArchivesPerformanceClient {
    private OpenApiClient openApiClient;

    public ArchivesPerformanceClient(OpenApiClient openApiClient) {
        this.openApiClient = openApiClient;
    }

    //创建/修改履约
    public BaseRes createOrModifyPerformance(CreateOrModifyPerformanceReq req) throws ApiException {
        return openApiClient.invokeApi(req, OpenApiUrlConstants.ARCHIVES_PERFORMANCE_MODIFY, CreateOrModifyPerformanceRes.class);
    }

    //删除履约提醒
    public BaseRes deletePerformance(DeletePerformanceReq req) throws ApiException {
        return openApiClient.invokeApi(req, OpenApiUrlConstants.ARCHIVES_PERFORMANCE_DELETE, Void.class);
    }

    //查询履约提醒
    public BaseRes> getPerformanceList(GetPerformanceListReq req) throws ApiException {
        return openApiClient.invokeApiList(req, OpenApiUrlConstants.ARCHIVES_PERFORMANCE_LIST, GetPerformanceListRes.class);
    }


    public BaseRes contactArchived(ContactArchivedReq req) throws ApiException {
        return openApiClient.invokeApi(req, OpenApiUrlConstants.CONTACT_ARCHIVED, ContactArchivedRes.class);
    }


    public BaseRes getArchivedList(ArchivedListReq req) throws ApiException {
        return openApiClient.invokeApi(req, OpenApiUrlConstants.GET_ARCHIVED_LIST, ArchivedListRes.class);
    }


    public BaseRes> getArchivesCatalogList(ArchivesCatalogListReq req) throws ApiException {
        return openApiClient.invokeApiList(req, OpenApiUrlConstants.GET_ARCHIVES_CATALOG_LIST, ArchivesCatalogListRes.class);
    }


    public BaseRes getArchivesDetail(ArchivesDetailReq req) throws ApiException {
        return openApiClient.invokeApi(req, OpenApiUrlConstants.GET_ARCHIVES_DETAIL, ArchivedDetailInfo.class);
    }

    public BaseRes getArchivesManageUrl(GetArchivesManageUrlReq req) throws ApiException {
        return openApiClient.invokeApi(req, OpenApiUrlConstants.GET_ARCHIVES_MANAGE_URL, GetArchivesManageUrlRes.class);
    }

    public BaseRes getLedGerDetail(GetArchivesLedgerDetailReq req) throws ApiException {
        return openApiClient.invokeApi(req, OpenApiUrlConstants.GET_ARCHIVES_LEDGER_DETAIL, GetArchiveLedgerDetailRes.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy