/* Options: Date: 2026-04-01 02:33:20 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PreviewSummarizedInvoice.* //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.* @Route(Path="/eaccounting/summarizedinvoice/preview", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") open class PreviewSummarizedInvoice : IReturn, ICompany { /** * 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.") override var CompanyId:UUID? = null /** * Start date for the booking range to include. */ @ApiMember(Description="Start date for the booking range to include.", IsRequired=true) open var DateFrom:Date? = null /** * End date for the booking range to include. */ @ApiMember(Description="End date for the booking range to include.", IsRequired=true) open var DateTo:Date? = null /** * Optional customer id filter. */ @ApiMember(Description="Optional customer id filter.") open var CustomerId:UUID? = null /** * Optional service/event id filter. */ @ApiMember(Description="Optional service/event id filter.") open var ServiceId:Int? = null /** * Optional list of booking status ids to include. If empty, all statuses are included. */ @ApiMember(Description="Optional list of booking status ids to include. If empty, all statuses are included.") open var BookingStatusIds:ArrayList? = null /** * Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery. */ @ApiMember(Description="Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery.") open var SendType:EAccountingInvoiceSendTypes? = null companion object { private val responseType = PreviewSummarizedInvoiceResponse::class.java } override fun getResponseType(): Any? = PreviewSummarizedInvoice.responseType } open class PreviewSummarizedInvoiceResponse { open var TotalCustomers:Int? = null open var TotalBookings:Int? = null open var Customers:ArrayList = ArrayList() open var ResponseStatus:ResponseStatus? = null } interface ICompany { var CompanyId:UUID? } enum class EAccountingInvoiceSendTypes { None, AutoInvoiceElectronic, AutoInvoicePrint, AutoInvoiceB2C, } open class PreviewCustomerGroup { open var CustomerId:UUID? = null open var CustomerName:String? = null open var Email:String? = null open var BookingCount:Int? = null open var BookingIds:ArrayList = ArrayList() open var MissingInvoiceAddress:Boolean? = null open var MissingEmail:Boolean? = null }