Skip to content
Merged
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,17 +1,16 @@
package com.example.zarinpal.data.remote.dto.refund

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

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