RefundEvent.java
960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.diligrp.cashier.shared.spi;
import java.time.LocalDateTime;
public class RefundEvent {
// 退款单号
private final String refundId;
// 原支付ID
private final String tradeId;
// 支付状态
private final Integer state;
// 发生时间
private final LocalDateTime when;
// 交易描述
private final String message;
public RefundEvent(String refundId, String tradeId, int state, LocalDateTime when, String message) {
this.refundId = refundId;
this.tradeId = tradeId;
this.state = state;
this.when = when;
this.message = message;
}
public String getRefundId() {
return refundId;
}
public String getTradeId() {
return tradeId;
}
public Integer getState() {
return state;
}
public LocalDateTime getWhen() {
return when;
}
public String getMessage() {
return message;
}
}