添加返回支付地址
This commit is contained in:
1 parent
361bfd6421
commit
3161365ec8
4 files changed
+23
-2
No files matched your search
@@ -16,14 +16,17 @@ public class PaymentOrderCreateResult {
|
||||
private BigDecimal paymentAmount;
|
||||
@JsonProperty("expiration_time")
|
||||
private Date expirationTime;
|
||||
/** 商户可引导用户访问的公共收银台地址。 */
|
||||
private String url;
|
||||
|
||||
public PaymentOrderCreateResult(String orderId, String tradeId, String paymentAddress,
|
||||
BigDecimal paymentAmount, Date expirationTime) {
|
||||
BigDecimal paymentAmount, Date expirationTime, String url) {
|
||||
this.orderId = orderId;
|
||||
this.tradeId = tradeId;
|
||||
this.paymentAddress = paymentAddress;
|
||||
this.paymentAmount = paymentAmount;
|
||||
this.expirationTime = expirationTime;
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getOrderId() { return orderId; }
|
||||
@@ -31,4 +34,5 @@ public class PaymentOrderCreateResult {
|
||||
public String getPaymentAddress() { return paymentAddress; }
|
||||
public BigDecimal getPaymentAmount() { return paymentAmount; }
|
||||
public Date getExpirationTime() { return expirationTime; }
|
||||
public String getUrl() { return url; }
|
||||
}
|
||||
Reference in new issue
Block a user