mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-14 05:43:46 +08:00
pom
This commit is contained in:
@@ -183,7 +183,7 @@ public class WechatCombinePayApi extends AbstractApi{
|
|||||||
*/
|
*/
|
||||||
public WechatResponseEntity<ObjectNode> close(CombineCloseParams combineCloseParams) {
|
public WechatResponseEntity<ObjectNode> close(CombineCloseParams combineCloseParams) {
|
||||||
WechatResponseEntity<ObjectNode> wechatResponseEntity = new WechatResponseEntity<>();
|
WechatResponseEntity<ObjectNode> wechatResponseEntity = new WechatResponseEntity<>();
|
||||||
this.client().withType(WechatPayV3Type.COMBINE_NATIVE, combineCloseParams)
|
this.client().withType(WechatPayV3Type.COMBINE_CLOSE, combineCloseParams)
|
||||||
.function((wechatPayV3Type, params) -> {
|
.function((wechatPayV3Type, params) -> {
|
||||||
URI uri = UriComponentsBuilder.fromHttpUrl(wechatPayV3Type.uri(WeChatServer.CHINA))
|
URI uri = UriComponentsBuilder.fromHttpUrl(wechatPayV3Type.uri(WeChatServer.CHINA))
|
||||||
.build().toUri();
|
.build().toUri();
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
package cn.felord.payment.wechat.v3.model.payscore;
|
||||||
|
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class A {
|
||||||
|
|
||||||
|
private String appid;
|
||||||
|
private String attach;
|
||||||
|
private Location location;
|
||||||
|
private Boolean needUserConfirm;
|
||||||
|
private String notifyUrl;
|
||||||
|
private String openid;
|
||||||
|
private String outOrderNo;
|
||||||
|
private List<PostDiscount> postDiscounts;
|
||||||
|
private List<PostPayment> postPayments;
|
||||||
|
private RiskFund riskFund;
|
||||||
|
private String serviceId;
|
||||||
|
private String serviceIntroduction;
|
||||||
|
private TimeRange timeRange;
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
package cn.felord.payment.wechat.v3.model.payscore;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class Location {
|
||||||
|
private String endLocation;
|
||||||
|
private String startLocation;
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
package cn.felord.payment.wechat.v3.model.payscore;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class PostDiscount {
|
||||||
|
|
||||||
|
private String description;
|
||||||
|
private String name;
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
package cn.felord.payment.wechat.v3.model.payscore;
|
||||||
|
|
||||||
|
|
||||||
|
public class PostPayment {
|
||||||
|
|
||||||
|
private Long amount;
|
||||||
|
private Long count;
|
||||||
|
private String description;
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
package cn.felord.payment.wechat.v3.model.payscore;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class RiskFund {
|
||||||
|
|
||||||
|
private Long amount;
|
||||||
|
private String description;
|
||||||
|
private String name;
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
package cn.felord.payment.wechat.v3.model.payscore;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class TimeRange {
|
||||||
|
private String endTime;
|
||||||
|
private String startTime;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user