Package com.foxinmy.weixin4j.api
Class CashApi
- java.lang.Object
-
- com.foxinmy.weixin4j.api.BaseApi
-
- com.foxinmy.weixin4j.api.MchApi
-
- com.foxinmy.weixin4j.api.CashApi
-
@Deprecated public class CashApi extends MchApi
Deprecated.商户平台API迁移到子模块weixin4j-pay现金API
-
-
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 CashApi(WeixinPayAccount weixinAccount)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CorpPaymentRecord
queryCorpPayment(String outTradeNo)
Deprecated.企业付款查询 用于商户的企业付款操作进行结果查询,返回付款操作详细结果double
queryExchageRate(CurrencyType currencyType, Date date)
Deprecated.查询汇率RedpacketRecord
queryRedpack(String outTradeNo)
Deprecated.查询红包记录SettlementRecord
querySettlement(boolean status, Pageable pageable, Date start, Date end)
Deprecated.查询结算资金CorpPaymentResult
sendCorpPayment(CorpPayment payment)
Deprecated.企业付款为企业提供付款至用户零钱的能力RedpacketSendResult
sendRedpack(Redpacket redpacket)
Deprecated.发放红包 企业向微信用户个人发现金红包List<Future<RedpacketSendResult>>
sendRedpacks(Redpacket... redpackets)
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
-
CashApi
public CashApi(WeixinPayAccount weixinAccount)
Deprecated.
-
-
Method Detail
-
sendRedpack
public RedpacketSendResult sendRedpack(Redpacket redpacket) throws WeixinException
Deprecated.发放红包 企业向微信用户个人发现金红包- Parameters:
redpacket
- 红包信息- Returns:
- 发放结果
- Throws:
WeixinException
- See Also:
Redpacket
,RedpacketSendResult
, 发放现金红包接口, 发放裂变红包接口
-
sendRedpacks
public List<Future<RedpacketSendResult>> sendRedpacks(Redpacket... redpackets)
Deprecated.批量发放红包 企业向微信用户个人发现金红包- Parameters:
redpackets
- 多个红包信息- Returns:
- 发放结果
- Throws:
WeixinException
- See Also:
sendRedpacks(Redpacket...)
-
queryRedpack
public RedpacketRecord queryRedpack(String outTradeNo) throws WeixinException
Deprecated.查询红包记录- Parameters:
outTradeNo
- 商户发放红包的商户订单号- Returns:
- 红包记录
- Throws:
WeixinException
- See Also:
RedpacketRecord
, 查询现金红包接口, 查询裂变红包接口
-
sendCorpPayment
public CorpPaymentResult sendCorpPayment(CorpPayment payment) throws WeixinException
Deprecated.企业付款为企业提供付款至用户零钱的能力- Parameters:
payment
- 付款信息- Returns:
- 付款结果
- Throws:
WeixinException
- See Also:
CorpPayment
,CorpPaymentResult
, 企业付款, 场景介绍(使用条件、付款资金、付款规则等)
-
queryCorpPayment
public CorpPaymentRecord queryCorpPayment(String outTradeNo) throws WeixinException
Deprecated.企业付款查询 用于商户的企业付款操作进行结果查询,返回付款操作详细结果- Parameters:
outTradeNo
- 商户调用企业付款API时使用的商户订单号- Returns:
- 付款记录
- Throws:
WeixinException
- See Also:
CorpPaymentRecord
, 企业付款查询接口
-
querySettlement
public SettlementRecord querySettlement(boolean status, Pageable pageable, Date start, Date end) throws WeixinException
Deprecated.查询结算资金- Parameters:
status
- 是否结算pageable
- 分页数据start
- 开始日期 查询未结算记录时,该字段可不传end
- 结束日期 查询未结算记录时,该字段可不传- Returns:
- 结算金额记录
- Throws:
WeixinException
- See Also:
SettlementRecord
, 查询结算资金接口
-
queryExchageRate
public double queryExchageRate(CurrencyType currencyType, Date date) throws WeixinException
Deprecated.查询汇率- Parameters:
currencyType
- 外币币种date
- 日期 不填则默认当天- Returns:
- 汇率 例如美元兑换人民币的比例为6.5
- Throws:
WeixinException
- See Also:
- 查询汇率接口
-
-