/* Options: Date: 2024-11-23 10:52:21 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ExportRebateCode.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/rebatecodes/{RebateCodeId}/reports", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") open class ExportRebateCode : ICompany { /** * Id of the rebate code */ @ApiMember(Description="Id of the rebate code", IsRequired=true, ParameterType="path") var RebateCodeId:Int? = null /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") var CompanyId:UUID? = null var SendReceiptMethod:SendReceiptMethod? = null } open interface ICompany { var CompanyId:UUID? } enum class SendReceiptMethod(val value:Int) { Email(1), PdfExport(2), }