GetPurchase

data class GetPurchase(val purchase: SDKPurchase, val operations: List<SDKPaymentOperation>) : SdkSuccessAnswer

Represents the result of a successful single-purchase request (su.ips.pos_payment_external_sdk.domain.PosPaymentSdkActionExecutor.getPurchase).

The call itself completed (operational failures are reported via su.ips.pos_payment_external_sdk.models.Result.Error; a blank guid yields code "003", an unknown guid — code "023"); purchase is the purchase header (see SDKPurchase) and operations lists its payment operations — the original sale and any later refunds/cancellations (see SDKPaymentOperation).

Constructors

Link copied to clipboard
constructor(purchase: SDKPurchase, operations: List<SDKPaymentOperation>)

Properties

Link copied to clipboard
Link copied to clipboard