com.github.binarywang.wxpay.service.CustomDeclarationService Maven / Gradle / Ivy
package com.github.binarywang.wxpay.service;
import com.github.binarywang.wxpay.bean.customs.*;
import com.github.binarywang.wxpay.exception.WxPayException;
/**
*
* 微信支付 支付报关 API.
* Created by xifengzhu on 2022/05/05.
*
*
* @author xifengzhu
*/
public interface CustomDeclarationService {
/**
* The constant DECLARATION_BASE_URL.
*/
String DECLARATION_BASE_URL = "https://apihk.mch.weixin.qq.com/global/v3/customs";
/**
*
* 报关API
* 文档地址: ...
*
*
* @param request the request
* @return 返回数据 declaration result
* @throws WxPayException the wx pay exception
*/
DeclarationResult declare(DeclarationRequest request) throws WxPayException;
/**
*
* 报关查询API
* 文档地址: ...
*
*
* @param request the request
* @return 返回数据 declaration query result
* @throws WxPayException the wx pay exception
*/
DeclarationQueryResult query(DeclarationQueryRequest request) throws WxPayException;
/**
*
* 身份信息校验API
* 文档地址: ...
*
*
* @param request the request
* @return 返回数据 verify certification result
* @throws WxPayException the wx pay exception
*/
VerifyCertificateResult verifyCertificate(VerifyCertificateRequest request) throws WxPayException;
/**
*
* 报关信息修改API
* 文档地址: ...
*
*
* @param request the request
* @return 返回数据 declaration result
* @throws WxPayException the wx pay exception
*/
DeclarationResult modify(DeclarationRequest request) throws WxPayException;
/**
*
* 报关重推API
* 文档地址: ...
*
*
* @param request the request
* @return 返回数据 redeclaration result
* @throws WxPayException the wx pay exception
*/
RedeclareResult redeclare(RedeclareRequest request) throws WxPayException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy