|
|
|
@ -0,0 +1,37 @@ |
|
|
|
package com.example.demo.domain.DTO; |
|
|
|
|
|
|
|
/** |
|
|
|
* @program: gold-java |
|
|
|
* @ClassName PaymentDTO |
|
|
|
* @description: |
|
|
|
* @author: Double |
|
|
|
* @create: 2025−11-21 10:42 |
|
|
|
* @Version 1.0 |
|
|
|
**/ |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.NoArgsConstructor; |
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
@Data |
|
|
|
@NoArgsConstructor |
|
|
|
public class PaymentDTO { |
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai") |
|
|
|
private Date time; |
|
|
|
private String type; |
|
|
|
private String provider; |
|
|
|
private String request_reference; |
|
|
|
private String merchant_reference; |
|
|
|
private String provider_reference; |
|
|
|
private String currency; |
|
|
|
private BigDecimal order_amount; |
|
|
|
private BigDecimal charge; |
|
|
|
private BigDecimal net_amount; |
|
|
|
private String status; |
|
|
|
private String created_time; |
|
|
|
private String completed_time; |
|
|
|
} |