All Downloads are FREE. Search and download functionalities are using the official Maven repository.

co.saltpay.epos.models.request.ReverseLastPayment.kt Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
package co.saltpay.epos.models.request

import kotlinx.serialization.Serializable

/**
 * DEPRECATION NOTES:
 * - payment app will return [co.saltpay.epos.models.response.EposDisabledResponse]:
 * - use [RefundPayment] passing in the last received saleId instead.
 * - will be deleted in a future version.
 *
 * Request type for making a reversal of the previous payment.
 *
 * @property requestId see [RequestModel.requestId]
 * @property askForManagerPIN whether the payment app should request for the manager PIN
 * to authorize the user to refund the payment
 */
@Deprecated("Reverse is deprecated. Issue a refund via RefundPayment instead!")
@Serializable
data class ReverseLastPayment(
    override val requestId: String,
    val askForManagerPIN: Boolean
) : ForegroundRequest




© 2015 - 2024 Weber Informatics LLC | Privacy Policy