# RetailerReversalRequest

data class RetailerReversalRequest(val originalPoiTransaction: RetailerOriginalPoiTransactionCancellation, val reversalReason: String, val startDate: String? = null, val forecastedAmount: BigDecimal? = null, val saleData: RetailerSaleData? = null, val reversedAmount: BigDecimal? = null, val customerOrder: String? = null, val customerOrderId: String? = null, val openOrderState: Boolean? = null, val currency: String? = null, val additionalInformation: String? = null, val marketpayPaymentExtensions: RetailerMarketpayPaymentExtensions? = null) : RetailerRequest

#### Parameters

originalPoiTransaction

original transaction info

saleData

If payment reservation reversal

reversalReason
reversedAmount

ReversedAmount is implicitely the AuthorizedAmount if absent.

customerOrder

If related to a customer order, NOT SUPPORTED, will always be null when converting to RTRReversalRequest

customerOrderId

f the reversal is performed inside a customer order.

openOrderState

True by default

currency

If multiple currencies are allowed

## Constructors

RetailerReversalRequest
Link copied to clipboard
constructor(originalPoiTransaction: RetailerOriginalPoiTransactionCancellation, reversalReason: String, startDate: String? = null, forecastedAmount: BigDecimal? = null, saleData: RetailerSaleData? = null, reversedAmount: BigDecimal? = null, customerOrder: String? = null, customerOrderId: String? = null, openOrderState: Boolean? = null, currency: String? = null, additionalInformation: String? = null, marketpayPaymentExtensions: RetailerMarketpayPaymentExtensions? = null)

## Types

Companion
Link copied to clipboard
object Companion

## Properties

additionalInformation
Link copied to clipboard
val additionalInformation: String? = null
currency
Link copied to clipboard
val currency: String? = null
customerOrder
Link copied to clipboard
val customerOrder: String? = null
customerOrderId
Link copied to clipboard
val customerOrderId: String? = null
forecastedAmount
Link copied to clipboard
val forecastedAmount: BigDecimal? = null
marketpayPaymentExtensions
Link copied to clipboard
val marketpayPaymentExtensions: RetailerMarketpayPaymentExtensions? = null
openOrderState
Link copied to clipboard
val openOrderState: Boolean? = null
originalPoiTransaction
Link copied to clipboard
val originalPoiTransaction: RetailerOriginalPoiTransactionCancellation
reversalReason
Link copied to clipboard
val reversalReason: String
reversedAmount
Link copied to clipboard
val reversedAmount: BigDecimal? = null
saleData
Link copied to clipboard
val saleData: RetailerSaleData? = null
startDate
Link copied to clipboard
val startDate: String? = null

## Functions

isSameProtocol
Link copied to clipboard
open override fun isSameProtocol(message: DomainMessage): Boolean
open override fun isSameProtocol(message: RawMessage): Boolean