新增接口

This commit is contained in:
lu7213 committed 2026-10-10 10:54:12 -04:00
1 parent a2be79377b
commit 8ebf5f383d
6 files changed
+487 -40

No files matched your search

@@ -0,0 +1,34 @@
package com.ruoyi.system.domain.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
import java.util.Date;
/** 开放 API 创建支付订单响应。 */
public class PaymentOrderCreateResult {
@JsonProperty("order_id")
private String orderId;
@JsonProperty("trade_id")
private String tradeId;
@JsonProperty("payment_address")
private String paymentAddress;
@JsonProperty("payment_amount")
private BigDecimal paymentAmount;
@JsonProperty("expiration_time")
private Date expirationTime;
public PaymentOrderCreateResult(String orderId, String tradeId, String paymentAddress,
BigDecimal paymentAmount, Date expirationTime) {
this.orderId = orderId;
this.tradeId = tradeId;
this.paymentAddress = paymentAddress;
this.paymentAmount = paymentAmount;
this.expirationTime = expirationTime;
}
public String getOrderId() { return orderId; }
public String getTradeId() { return tradeId; }
public String getPaymentAddress() { return paymentAddress; }
public BigDecimal getPaymentAmount() { return paymentAmount; }
public Date getExpirationTime() { return expirationTime; }
}