youzan.trade.refund.seller.active,接口
YouzanTradeRefundSellerActive ,YouzanTradeRefundSellerActiveParams 等对象都没有,无法引用
引入包为:
<dependency>
<groupId>com.youzan.cloud</groupId>
<artifactId>open-sdk-gen</artifactId>
<version>1.0.28.10004376202411071231-RELEASE</version>
</dependency>
//YouZanClient 建议全局唯一,使用 spring 容器管理
YouZanClient yzClient = new DefaultYZClient();
Token token = new Token("YOUR_TOKEN");
YouzanTradeRefundSellerActive youzanTradeRefundSellerActive = new YouzanTradeRefundSellerActive();
//创建参数对象,并设置参数
YouzanTradeRefundSellerActiveParams youzanTradeRefundSellerActiveParams = new YouzanTradeRefundSellerActiveParams();
youzanTradeRefundSellerActiveParams.setRefundFee("1");
youzanTradeRefundSellerActiveParams.setOid(2757593609383968833L);
youzanTradeRefundSellerActiveParams.setTid("E20200831191547007100065");
youzanTradeRefundSellerActiveParams.setDesc("测试主动退款");
youzanTradeRefundSellerActive.setAPIParams(youzanTradeRefundSellerActiveParams);
YouzanTradeRefundSellerActiveResult result = yzClient.invoke(youzanTradeRefundSellerActive, token, YouzanTradeRefundSellerActiveResult.class);
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|