@@ -6,10 +6,10 @@ import kotlinx.serialization.Serializable
66import kotlinx.serialization.json.JsonElement
77
88/* *
9- * Represents the response data returned when querying unverified payment transactions .
9+ * Response model for unverified payment queries .
1010 *
11- * @property data Contains the details of the unverified payment response .
12- * @property errors If present, contains any errors returned by the payment gateway.
11+ * @property data Contains the details of the unverified payment.
12+ * @property errors Optional error information returned by the payment gateway.
1313 */
1414@Keep
1515@Serializable
@@ -19,11 +19,11 @@ data class PaymentUnVerifiedResponse(
1919)
2020
2121/* *
22- * Contains the data returned from the unverified payment query .
22+ * Contains the main response data for unverified payments .
2323 *
24- * @property code A numeric code indicating the result of the request .
25- * @property message A descriptive message explaining the result or error .
26- * @property authorities A list of [AuthorityResponse] objects representing the authorities related to the unverified payments .
24+ * @property code Status code representing the result of the query .
25+ * @property message Descriptive message about the outcome .
26+ * @property authorities Optional list of authorities related to unverified transactions .
2727 */
2828@Keep
2929@Serializable
@@ -34,20 +34,21 @@ data class PaymentUnVerifiedDataResponse(
3434)
3535
3636/* *
37- * Represents an authority related to an unverified payment .
37+ * Represents an authority entry related to an unverified transaction .
3838 *
39- * @property authority The authority code for the payment .
40- * @property amount The amount of the unverified payment .
41- * @property callbackUrl The URL to which the user will be redirected after payment.
42- * @property referer The referer URL from which the request was made .
43- * @property date The date of the unverified payment .
39+ * @property authority Unique identifier for the transaction .
40+ * @property amount Transaction amount in the smallest currency unit .
41+ * @property callbackUrl URL to redirect the user after payment.
42+ * @property referer Referring URL from which the request originated .
43+ * @property date Timestamp of the transaction event .
4444 */
4545@Keep
4646@Serializable
4747data class AuthorityResponse (
4848 val authority : String ,
4949 val amount : Int ,
50- @SerialName(" callback_url" ) val callbackUrl : String ,
50+ @SerialName(" callback_url" )
51+ val callbackUrl : String ,
5152 val referer : String ,
5253 val date : String
5354)
0 commit comments