Package com.foxinmy.weixin4j.api
Class CustomsApi
- java.lang.Object
-
- com.foxinmy.weixin4j.api.BaseApi
-
- com.foxinmy.weixin4j.api.MchApi
-
- com.foxinmy.weixin4j.api.CustomsApi
-
@Deprecated public class CustomsApi extends MchApi
Deprecated.商户平台API迁移到子模块weixin4j-pay报关接口- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Field Summary
-
Fields inherited from class com.foxinmy.weixin4j.api.MchApi
weixinAccount, weixinSignature
-
Fields inherited from class com.foxinmy.weixin4j.api.BaseApi
weixinExecutor
-
-
Constructor Summary
Constructors Constructor Description CustomsApi(WeixinPayAccount weixinAccount)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CustomsOrderResult
declareCustomsOrder(CustomsOrder customsOrder)
Deprecated.订单附加信息提交CustomsOrderRecord
queryCustomsOrder(IdQuery idQuery, CustomsCity customsCity)
Deprecated.订单附加信息查询-
Methods inherited from class com.foxinmy.weixin4j.api.MchApi
createBaseRequestMap, declareMerchant, getWeixinSignature, getWeixinSSLExecutor, weixinBundle
-
Methods inherited from class com.foxinmy.weixin4j.api.BaseApi
getRequestUri
-
-
-
-
Constructor Detail
-
CustomsApi
public CustomsApi(WeixinPayAccount weixinAccount)
Deprecated.
-
-
Method Detail
-
declareCustomsOrder
public CustomsOrderResult declareCustomsOrder(CustomsOrder customsOrder) throws WeixinException
Deprecated.订单附加信息提交- Parameters:
customsOrder
- 附加订单信息- Returns:
- 报关结果
- Throws:
WeixinException
- See Also:
CustomsOrder
,CustomsOrderResult
, 附加订单信息提交接口
-
queryCustomsOrder
public CustomsOrderRecord queryCustomsOrder(IdQuery idQuery, CustomsCity customsCity) throws WeixinException
Deprecated.订单附加信息查询- Parameters:
idQuery
- out_trade_no,transaction_id,sub_order_no,sub_order_id四选一customsCity
- 海关- Returns:
- 报关记录
- Throws:
WeixinException
- See Also:
CustomsOrderRecord
, 附加订单信息查询接口
-
-