' Options: 'Date: 2024-11-21 11:52:28 'Version: 8.23 '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: True '''ExportValueTypes: False 'IncludeTypes: UpdateAllQuantities.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.IO Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class BookedQuantity ''' '''The quantity Id ''' Public Overridable Property Id As Integer ''' '''The quantity for booked on this price category ''' Public Overridable Property Quantity As Integer ''' '''The price ''' Public Overridable Property Price As Nullable(Of Double) ''' '''The price bofore rebate codes ''' Public Overridable Property PriceBeforeRebate As Nullable(Of Double) ''' '''The price currency ''' Public Overridable Property CurrencyId As String ''' '''The price sign ''' Public Overridable Property PriceSign As String ''' '''The price category ''' Public Overridable Property Category As String ''' '''The price VAT in percent ''' Public Overridable Property VAT As Nullable(Of Decimal) ''' '''The price text to display ''' Public Overridable Property PriceText As String ''' '''If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information. ''' Public Overridable Property OccupiesSpot As Boolean End Class Public Partial Class UpdateAllQuantities Implements IReturn(Of BookedQuantity) Implements ICompany Public Sub New() Quantities = New QuantityToUpdate(){} End Sub ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''Id of the booking ''' Public Overridable Property BookingId As Integer ''' '''Set the number of spots you want to book. You add number of spots per price category. Multiple spots require that the service has GroupBooking enabled. Default is one spot. ''' Public Overridable Property Quantities As QuantityToUpdate() ''' '''Any comments to be stored in the event log. ''' Public Overridable Property Comments As String End Class End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Nullable(Of Guid) End Interface End Namespace End Namespace