Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
package com.example.zarinpal.data.remote.dto.refund

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

/**
* Represents a GraphQL request for initiating a payment refund.
* Represents the GraphQL request for initiating a payment refund.
*
* @property query GraphQL query string to execute the refund.
* @property variables Parameters required to process the refund,
* @property query The GraphQL query string to be executed for the refund operation.
* @property variables Contains the variables required for the refund operation,
* including session ID, description, method, reason, amount, and token.
*/
@Serializable
data class GraphRefundModel(
val query: String,
val query :String,
val variables: PaymentRefundRequest
)
)