From a0e51eec2a621d6512189b0c6385eaa0a038ca0c Mon Sep 17 00:00:00 2001 From: Sonali Shakya Date: Fri, 13 Dec 2024 10:22:39 +0530 Subject: [PATCH] Payload String --- .idea/.gitignore | 3 +++ .idea/automation-db.iml | 9 +++++++++ .idea/compiler.xml | 18 +++++++++++++++++ .idea/encodings.xml | 6 ++++++ .idea/jarRepositories.xml | 20 +++++++++++++++++++ .idea/misc.xml | 14 +++++++++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ .../yugabyte_integration/Entity/Payload.java | 19 ++++++++++++++++++ 9 files changed, 103 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/automation-db.iml create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/jarRepositories.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/automation-db.iml b/.idea/automation-db.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/automation-db.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..fc8e873 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..ec33e27 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..2193bad --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..db1f776 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/Payload.java b/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/Payload.java index 9223f68..9da8861 100644 --- a/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/Payload.java +++ b/yugabyte-integration/src/main/java/com/ondc/yugabyte_integration/Entity/Payload.java @@ -195,4 +195,23 @@ public SessionDetails getSessionDetails() { public void setSessionDetails(SessionDetails sessionDetails) { this.sessionDetails = sessionDetails; } + + @Override + public String toString() { + return "Payload{" + + "id=" + id + + ", messageId='" + messageId + '\'' + + ", transactionId='" + transactionId + '\'' + + ", flowId='" + flowId + '\'' + + ", action=" + action + + ", bppId='" + bppId + '\'' + + ", bapId='" + bapId + '\'' + + ", jsonRequest=" + jsonRequest + + ", jsonResponse=" + jsonResponse + + ", httpStatus=" + httpStatus + + ", createdAt=" + createdAt + + ", updatedAt=" + updatedAt + + ", sessionDetails=" + sessionDetails + + '}'; + } }