Credential (reference only)
data class Credential(
val name: String? = null,
val env: String? = null,
val shop: String? = null,
val apiKey: String? = null,
val apiToken: String? = null,
)
TransactionRequest
data class TransactionRequest(
val requestAmount: BigDecimal? = null,
val tranType: TranType? = null,
val preferredInstrument: PreferredInstrument? = null,
val messageId: String,
val tranId: String? = null,
val description: String? = null
) : Serializable
EnquiryRequest
data class EnquiryRequest(
val messageId: String
) : Serializable
PreferredInstrument
enum class PreferredInstrument {
CASH,
CARD,
QR
}
TranType
enum class TranType {
SALE,
VOID,
REFUND,
AUTH,
AUTH_COMPLETE,
}