' Options: 'Date: 2026-04-01 02:31:14 'Version: 10.05 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: PreviewSummarizedInvoice.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Enums Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class PreviewCustomerGroup Public Overridable Property CustomerId As Guid Public Overridable Property CustomerName As String Public Overridable Property Email As String Public Overridable Property BookingCount As Integer Public Overridable Property BookingIds As List(Of Integer) = New List(Of Integer) Public Overridable Property MissingInvoiceAddress As Boolean Public Overridable Property MissingEmail As Boolean End Class Public Partial Class PreviewSummarizedInvoice Implements IReturn(Of PreviewSummarizedInvoiceResponse) Implements ICompany ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Guid? Implements ICompany.CompanyId ''' '''Start date for the booking range to include. ''' Public Overridable Property DateFrom As Date ''' '''End date for the booking range to include. ''' Public Overridable Property DateTo As Date ''' '''Optional customer id filter. ''' Public Overridable Property CustomerId As Guid? ''' '''Optional service/event id filter. ''' Public Overridable Property ServiceId As Integer? ''' '''Optional list of booking status ids to include. If empty, all statuses are included. ''' Public Overridable Property BookingStatusIds As List(Of Integer) ''' '''Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery. ''' Public Overridable Property SendType As EAccountingInvoiceSendTypes? End Class Public Partial Class PreviewSummarizedInvoiceResponse Public Overridable Property TotalCustomers As Integer Public Overridable Property TotalBookings As Integer Public Overridable Property Customers As List(Of PreviewCustomerGroup) = New List(Of PreviewCustomerGroup) Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface End Namespace End Namespace