mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
超时关闭的订单,检查一下汇付是否存在支付单,一起退款
This commit is contained in:
@@ -1,14 +1,34 @@
|
||||
package com.jsowell.adapay.vo;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.*;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 付款信息对象
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class PaymentInfo {
|
||||
// 支付id
|
||||
private String paymentId;
|
||||
|
||||
// 金额
|
||||
private String amount;
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
PaymentInfo that = (PaymentInfo) o;
|
||||
return paymentId.equals(that.paymentId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(paymentId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user