(* Options: Date: 2024-06-26 08:28:59 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: UpdateServicePrice.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type GroupBookingSettings() = member val Active:Boolean = new Boolean() with get,set member val Min:Int32 = new Int32() with get,set member val Max:Int32 = new Int32() with get,set [] type MultipleResourceSettings() = member val Active:Boolean = new Boolean() with get,set member val Min:Int32 = new Int32() with get,set member val Max:Int32 = new Int32() with get,set [] type ServiceInfoResponse() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Description:String = null with get,set member val ImageUrl:Uri = null with get,set member val LengthInMinutes:Nullable = new Nullable() with get,set member val MaxNumberOfSpotsPerBooking:Int32 = new Int32() with get,set member val GroupBooking:GroupBookingSettings = null with get,set member val MultipleResource:MultipleResourceSettings = null with get,set member val IsGroupBooking:Boolean = new Boolean() with get,set member val IsPaymentEnabled:Boolean = new Boolean() with get,set [] type DayOfWeekDto() = member val DayOfWeekId:Int32 = new Int32() with get,set member val DotNetDayOfWeekId:Int32 = new Int32() with get,set member val DayOfWeek:String = null with get,set [] type ServicePriceResponse() = /// ///The company id /// [] member val CompanyId:Guid = new Guid() with get,set /// ///The price id /// [] member val Id:Int32 = new Int32() with get,set /// ///The service id /// [] member val ServiceId:Int32 = new Int32() with get,set /// ///The price /// [] member val Price:Double = new Double() with get,set /// ///The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day /// [] member val CalculationTypeId:Int32 = new Int32() with get,set /// ///The price currency /// [] member val CurrencyId:String = null with get,set /// ///The price sign /// [] member val PriceSign:String = null with get,set /// ///The price VAT in percent /// [] member val VAT:Decimal = new Decimal() with get,set /// ///The price category if price has a category /// [] member val Category:String = null with get,set /// ///The price text to display /// [] member val PriceText:String = null with get,set /// ///The valid from date for the price. /// [] member val From:DateTime = new DateTime() with get,set /// ///The valid to date for the price. /// [] member val To:DateTime = new DateTime() with get,set /// ///If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. /// [] member val DaysOfWeek:ResizeArray = new ResizeArray() with get,set /// ///If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. /// [] member val FromTime:Nullable = new Nullable() with get,set /// ///If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters. /// [] member val ToTime:Nullable = new Nullable() with get,set member val Service:ServiceInfoResponse = null with get,set /// ///If the price is only valid for a specific time span /// [] member val IsTimeSpecific:Boolean = new Boolean() with get,set /// ///If the price is only valid for specific days of week /// [] member val IsDaysOfWeekSpecific:Boolean = new Boolean() with get,set /// ///If the price is Weighted /// [] member val IsWeighted:Boolean = new Boolean() with get,set [] [] [] type UpdateServicePrice() = interface IReturn /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Id of the price /// [] member val Id:Int32 = new Int32() with get,set /// ///The price /// [] member val Price:Double = new Double() with get,set /// ///The price currency /// [] member val CurrencyId:String = null with get,set /// ///The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day /// [] member val CalculationTypeId:Int32 = new Int32() with get,set /// ///The price VAT in percent /// [] member val VAT:Decimal = new Decimal() with get,set /// ///The price category if price has a category /// [] member val Category:String = null with get,set /// ///The valid from date for the price. /// [] member val From:DateTime = new DateTime() with get,set /// ///The valid to date for the price. /// [] member val To:DateTime = new DateTime() with get,set /// ///If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. /// [] member val DaysOfWeek:Int32[] = [||] with get,set /// ///If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. /// [] member val FromTime:Nullable = new Nullable() with get,set /// ///If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters. /// [] member val ToTime:Nullable = new Nullable() with get,set