completed zesa journey
This commit is contained in:
@@ -3,12 +3,12 @@ package zw.qantra.tm.domain.models;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.*;
|
||||
import zw.qantra.tm.domain.enums.AuthType;
|
||||
import zw.qantra.tm.domain.enums.CurrencyType;
|
||||
import zw.qantra.tm.domain.enums.RequestType;
|
||||
import zw.qantra.tm.domain.enums.Status;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Entity
|
||||
@Getter
|
||||
@@ -35,12 +35,14 @@ public class Transaction extends BaseEntity {
|
||||
private String channel;
|
||||
private String debitPhone;
|
||||
private String debitAccount;
|
||||
@Enumerated(EnumType.STRING)
|
||||
private CurrencyType debitCurrency;
|
||||
private String debitName;
|
||||
private String debitCard;
|
||||
private String debitRef;
|
||||
private String creditPhone;
|
||||
private String creditAccount;
|
||||
@Enumerated(EnumType.STRING)
|
||||
private CurrencyType creditCurrency;
|
||||
private String creditName;
|
||||
private String creditCard;
|
||||
@@ -50,12 +52,20 @@ public class Transaction extends BaseEntity {
|
||||
private String aggregatorId;
|
||||
private String billName;
|
||||
private String billProductName;
|
||||
@Enumerated(EnumType.STRING)
|
||||
private RequestType type;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
private AuthType authType;
|
||||
|
||||
@Column(columnDefinition = "TEXT")
|
||||
private String errorMessage;
|
||||
private String responseCode;
|
||||
private Status status;
|
||||
@Column(columnDefinition = "TEXT")
|
||||
private String targetUrl;
|
||||
private String sdkActionId;
|
||||
|
||||
@Transient
|
||||
private List<Object> additionalData;
|
||||
private Object additionalData;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user