/* Options: Date: 2026-11-08 12:02:23 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreditCardRefund.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/api/creditcard/refund", Verbs="POST") open class CreditCardRefund : CreditCardRefund(), IReturn { companion object { private val responseType = RefundResponse::class.java } override fun getResponseType(): Any? = CreditCardRefund.responseType } open class RefundResponse : CreditCardCloudServiceResponse() { var IsOverpayment:Boolean? = null var PaymentNotFound:Boolean? = null } open class CreditCardRefund { var UserId:Int? = null var GroupId:Int? = null var Location:String? = null var CurrencyCode:String? = null var GatewayConfirmationNumber:String? = null var RefundAmount:BigDecimal? = null var Memo:String? = null } open interface IHaveErrorField { var IsError:Boolean? } open class CreditCardCloudServiceResponse : IHaveErrorField { var IsDuplicate:Boolean? = null var IsSuccessful:Boolean? = null var ErrorCode:String? = null var Message:String? = null var GatewayId:Int? = null var ConfirmationNumber:String? = null var NetworkTransactionId:String? = null var IsError:Boolean? = null } open interface IHaveErrorField { var IsError:Boolean? }