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

eleme.openapi.sdk.api.service.InvoiceService Maven / Gradle / Ivy

There is a newer version: 1.30.71
Show newest version
package eleme.openapi.sdk.api.service;

import eleme.openapi.sdk.api.annotation.Service;
import eleme.openapi.sdk.api.base.BaseNopService;
import eleme.openapi.sdk.api.exception.ServiceException;
import eleme.openapi.sdk.oauth.response.Token;
import eleme.openapi.sdk.config.Config;
import eleme.openapi.sdk.api.entity.invoice.*;
import java.util.HashMap;
import java.util.Map;

/**
 * 发票服务
 */
@Service("eleme.invoice")
public class InvoiceService extends BaseNopService {
    public InvoiceService(Config config,Token token) {
        super(config, token, InvoiceService.class);
    }

    /**
     * 批量查询店铺开票设置
     *
     * @param request 查询请求
     * @return 开票设置
     * @throws ServiceException 服务异常
     */
    public ShopSettingsBatchQueryResponse batchQueryShopSettings(ShopSettingsBatchQueryRequest request) throws ServiceException {
        Map params = new HashMap();
        params.put("request", request);
        return call("eleme.invoice.seller.batchQueryShopSettings", params);
    }

    /**
     * 批量更新店铺开票设置
     *
     * @param request 更新请求
     * @return 更新结果
     * @throws ServiceException 服务异常
     */
    public ShopSettingsBatchUpdateResponse batchUpdateShopSettings(ShopSettingsBatchUpdateRequest request) throws ServiceException {
        Map params = new HashMap();
        params.put("request", request);
        return call("eleme.invoice.seller.batchUpdateShopSettings", params);
    }

    /**
     * 批量查询店铺开票申请
     *
     * @param request 查询请求
     * @return 开票申请
     * @throws ServiceException 服务异常
     */
    public ShopApplicationBatchQueryResponse batchQueryShopApplication(ShopApplicationBatchQueryRequest request) throws ServiceException {
        Map params = new HashMap();
        params.put("request", request);
        return call("eleme.invoice.seller.batchQueryShopApplication", params);
    }

    /**
     * 批量更新店铺开票申请
     *
     * @param request 更新请求
     * @return 更新结果
     * @throws ServiceException 服务异常
     */
    public ShopApplicationBatchUpdateResponse batchUpdateShopApplication(ShopApplicationBatchUpdateRequest request) throws ServiceException {
        Map params = new HashMap();
        params.put("request", request);
        return call("eleme.invoice.seller.batchUpdateShopApplication", params);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy