/* Options: Date: 2026-11-21 01:24:24 Version: 10.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.testenv.webhop.biz //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetSelfServiceDeviceBettingSession.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/qry/self-service-device-betting-sessions/{Id}", Verbs="GET") open class GetSelfServiceDeviceBettingSession : IReturn { open var id:String? = null companion object { private val responseType = SelfServiceDeviceBettingSession::class.java } override fun getResponseType(): Any? = GetSelfServiceDeviceBettingSession.responseType } open class SelfServiceDeviceBettingSession { open var id:String? = null open var device:Ref? = null open var location:Ref? = null open var status:SessionStatus? = null open var startedAt:Date? = null open var issuedByClerk:Ref? = null open var patronName:String? = null open var initialCredit:Money? = null open var topUps:RecordList? = null open var payoutId:String? = null open var payout:Money? = null open var rejectionReason:String? = null } open class Money { open var amount:BigDecimal? = null open var currency:String? = null } open class Ref { open var id:String? = null @SerializedName("val") open var Val:String? = null } open class RecordList : ArrayList() { } enum class SessionStatus(val value:Int) { @SerializedName("1") Opening(1), @SerializedName("2") Open(2), @SerializedName("3") Ending(3), @SerializedName("4") Ended(4), @SerializedName("5") Rejected(5), } open class SessionTopUp { open var id:String? = null open var amount:Money? = null open var clerk:Ref? = null open var status:TopUpStatus? = null open var failureReason:String? = null } enum class TopUpStatus(val value:Int) { @SerializedName("1") Pending(1), @SerializedName("2") Completed(2), @SerializedName("3") Failed(3), }