提供支付订单直接设置异步回调地址

This commit is contained in:
egan
2022-03-20 23:43:17 +08:00
parent 47b2bf9b3e
commit 0faa3014f0
3 changed files with 44 additions and 7 deletions

View File

@@ -29,6 +29,12 @@ public class AssistOrder implements Order {
* 交易类型
*/
private TransactionType transactionType;
/**
* 异步回调通知
*/
private String notifyUrl;
/**
* 订单附加信息,可用于预设未提供的参数,这里会覆盖以上所有的订单信息,
*/
@@ -122,5 +128,11 @@ public class AssistOrder implements Order {
getAttrs().put(key, value);
}
public String getNotifyUrl() {
return notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
}