RefundResultSubscription

@ObjCName(name = "TeyaRefundResultSubscription", exact = true)
interface RefundResultSubscription

RefundResultSubscription is a handler to a refund which is "in progress". It allows for subscribing to the final result of that refund.

Types

Link copied to clipboard
@ObjCName(name = "TeyaRefundResultListener", exact = true)
interface RefundResultListener

Listener for refund result.

Link copied to clipboard
@ObjCName(name = "TeyaRefundResult", exact = true)
enum Result : Enum<RefundResultSubscription.Result>

Enum representing the final result of the refund.

Link copied to clipboard
@ObjCName(name = "TeyaRefundResultDetails", exact = true)
data class ResultDetails(val gatewayRefundId: GatewayRefundId?, val result: RefundResultSubscription.Result, val debugErrorMessage: String? = null)

Details about the refund result.

Functions

Link copied to clipboard
abstract fun subscribe(@ObjCName(name = "refundListener") listener: RefundResultSubscription.RefundResultListener)

Subscribes to refund result.