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

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

Link copied to clipboard
object Companion

Properties

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

Functions

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