/* Options: Date: 2026-05-13 14:20:25 Version: 10.06 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: C2BGetPlanInfoRequest.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * C2BGetPlanInfoRequires active-e Contracts Service. */ @Route(Path="/C2BGetPlanInfo", Verbs="POST, GET") @DataContract open class C2BGetPlanInfoRequest : BaseRequest(), IReturn { /** * If sent, only info on the plan code sent will be returned. Otherwise info on all plan codes will be returned. */ @DataMember @ApiMember(DataType="string", Description="If sent, only info on the plan code sent will be returned. Otherwise info on all plan codes will be returned.", Name="PlanCode", ParameterType="query") open var PlanCode:String? = null companion object { private val responseType = C2BGetPlanInfoResponse::class.java } override fun getResponseType(): Any? = C2BGetPlanInfoRequest.responseType } @DataContract open class C2BGetPlanInfoResponse : BaseResponse() { @DataMember open var Plans:ArrayList? = null } @DataContract open class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="Header") open var ApiKey:String? = null /** * The OAuthToken token return by AeServices30 */ @DataMember @ApiMember(DataType="string", Description="The OAuthToken token return by AeServices30", IsRequired=true, Name="OAuthToken", ParameterType="Header") open var OAuthToken:String? = null /** * The Device ID of the Mobile Device. Not used for non-mobile devices. */ @DataMember @ApiMember(DataType="string", Description="The Device ID of the Mobile Device. Not used for non-mobile devices.", Name="DeviceId", ParameterType="Header") open var DeviceId:String? = null /** * An identifier for your integration */ @DataMember @ApiMember(DataType="string", Description="An identifier for your integration", IsRequired=true, Name="AppId", ParameterType="Header") open var AppId:String? = null } @DataContract open class C2BPlanGeneric { @DataMember open var Id:Long? = null @DataMember open var Code:String? = null @DataMember open var Name:String? = null @DataMember open var Months:Int? = null @DataMember open var Topic:String? = null @DataMember open var FinalTopic:String? = null @DataMember open var Url:String? = null } @DataContract open class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") open var Status:BaseResponseResult? = null }