/* Options: Date: 2025-09-08 02:07:38 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://account.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AdminUncancelSubscription.* //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="/AdminUncancelSubscription") @ValidateRequest(Validator="IsAdmin") open class AdminUncancelSubscription : IReturn, IPost { @Validate(Validator="NotEmpty") open var licenseRef:String? = null companion object { private val responseType = Subscription::class.java } override fun getResponseType(): Any? = AdminUncancelSubscription.responseType } open class Subscription { open var id:Int? = null open var customerId:Int? = null open var email:String? = null open var skuId:Int? = null open var skuName:String? = null open var skuType:SkuType? = null open var code:String? = null open var quantity:Int? = null open var supportQuantity:Int? = null open var total:Int? = null open var isPlan:Boolean? = null open var isRenewal:Boolean? = null open var subscriptionDurationDays:Int? = null open var renewalDate:Date? = null open var licenseRef:String? = null open var licenseName:String? = null open var licenseAddress:String? = null open var licenseType:LicenseType? = null open var expiryDate:Date? = null open var licenseKey:LicenseKey? = null open var licenseKeyText:String? = null open var createdDate:Date? = null open var modifiedDate:Date? = null open var cancelledDate:Date? = null open var stripeSubscriptionId:String? = null open var emailId:Int? = null open var emailRenewalId:Int? = null open var emailExpiredId:Int? = null open var renewalSubscriptionId:Int? = null open var externalRef:String? = null open var notes:String? = null open var error:String? = null } enum class SkuType { Product, PerDev, PerCore, Site, Support, Training, Register, Payment, } enum class LicenseType { Free, FreeIndividual, FreeOpenSource, Indie, Business, Enterprise, TextIndie, TextBusiness, OrmLiteIndie, OrmLiteBusiness, RedisIndie, RedisBusiness, AwsIndie, AwsBusiness, Trial, Site, TextSite, RedisSite, OrmLiteSite, } open class LicenseKey { open var ref:String? = null open var name:String? = null @SerializedName("type") open var Type:LicenseType? = null open var meta:Long? = null open var hash:String? = null open var halg:String? = null open var expiry:Date? = null }