/* Options: Date: 2026-05-13 15:22:56 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: PrintReceiptRequest.* //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.* /** * PrintReceiptRequires active-e Customer Service */ @Route(Path="/PrintReceipt", Verbs="POST, GET") @DataContract open class PrintReceiptRequest : BaseSecureRequest(), IReturn { @DataMember open var Ref:String? = null /** * Can be STREAM, PRINT, or EMAIL. Defaults to STREAM */ @DataMember @ApiMember(Description="Can be STREAM, PRINT, or EMAIL. Defaults to STREAM", Name="OutputType", ParameterType="query") open var OutputType:String? = null /** * Only applies to OutputTypes of PRINT and EMAIL. The listening workstation to handle the request. */ @DataMember @ApiMember(Description="Only applies to OutputTypes of PRINT and EMAIL. The listening workstation to handle the request.", Name="OutputWorkstation", ParameterType="query") open var OutputWorkstation:Int? = null /** * Only applies to OutputType of EMAIL. The email address to send to. */ @DataMember @ApiMember(Description="Only applies to OutputType of EMAIL. The email address to send to.", Name="OutputTo", ParameterType="query") open var OutputTo:String? = null /** * Only applies to employee logins. Customer account of the receipt. */ @DataMember @ApiMember(Description="Only applies to employee logins. Customer account of the receipt.", Name="CustomerAcct", ParameterType="query") open var CustomerAcct:Int? = null /** * Date of the receipt. */ @DataMember @ApiMember(Description="Date of the receipt.", Name="Date", ParameterType="query") open var Date:Date? = null companion object { private val responseType = PrintReceiptResponse::class.java } override fun getResponseType(): Any? = PrintReceiptRequest.responseType } @DataContract open class PrintReceiptResponse : BaseResponse() { @DataMember open var PdfStream:String? = null @DataMember open var EmailSubject:String? = null @DataMember open var EmailBody:String? = 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 BaseSecureRequest : BaseRequest() { /** * The Login Token return by the Security API. Required for secured calls. */ @DataMember @ApiMember(DataType="string", Description="The Login Token return by the Security API. Required for secured calls.", Name="Token", ParameterType="Header") open var Token:String? = null } @DataContract open class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") open var Status:BaseResponseResult? = null }