(* Options: Date: 2024-11-21 11:44:47 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: DeleteRebateCode.* //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 ServiceStack.Data open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type RebateCodeServiceResponse() = 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 Active:Boolean = new Boolean() with get,set [] type RebateCodeCustomerResponse() = member val Id:Guid = new Guid() with get,set member val Firstname:String = null with get,set member val Lastname:String = null with get,set member val Email:String = null with get,set member val Phone:String = null with get,set member val ImageUrl:String = null with get,set [] type RebateCodeTransactionQueryResponse() = member val Id:Int32 = new Int32() with get,set member val CompanyId:Guid = new Guid() with get,set member val Note:String = null with get,set member val RebateCodeId:Int32 = new Int32() with get,set member val RebateCodeSign:String = null with get,set member val RebateCodeTypeId:Nullable = new Nullable() with get,set member val RebateCodeTypeName:String = null with get,set member val Amount:Double = new Double() with get,set member val BookingId:Nullable = new Nullable() with get,set member val UpdatedDate:DateTime = new DateTime() with get,set member val CreatedDate:DateTime = new DateTime() with get,set member val Service:RebateCodeServiceResponse = null with get,set member val Customer:RebateCodeCustomerResponse = null with get,set member val PriceSign:String = null with get,set [] type DaysOfWeekResponse() = member val Id:Int32 = new Int32() with get,set member val DayOfWeek:String = null with get,set member val DayOfWeekTranslation:String = null with get,set member val DayOfWeekActive:Nullable = new Nullable() with get,set member val DayOfWeekSortOrder:Nullable = new Nullable() with get,set [] type ArticleResponse() = member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val ArticleTypeId:Int32 = new Int32() with get,set member val Description:String = null with get,set member val ImageUrl:String = null with get,set member val Active:Boolean = new Boolean() with get,set member val Amount:Int32 = new Int32() with get,set member val Price:Double = new Double() with get,set member val CurrencyId:String = null with get,set member val UpdatedDate:DateTime = new DateTime() with get,set member val CreatedDate:DateTime = new DateTime() with get,set member val Services:ResizeArray = new ResizeArray() with get,set member val ServiceIds:ResizeArray = new ResizeArray() with get,set member val PriceSign:String = null with get,set [] type RebateCodeResponse() = member val Id:Int32 = new Int32() with get,set member val CompanyId:Nullable = new Nullable() with get,set member val ValidFrom:DateTime = new DateTime() with get,set member val ValidTo: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 FromTime:TimeSpan = new TimeSpan() 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:TimeSpan = new TimeSpan() with get,set member val CreatedBy:String = null with get,set member val Created:DateTime = new DateTime() with get,set member val UpdatedBy:String = null with get,set member val Updated:DateTime = new DateTime() with get,set member val PersonalNote:String = null with get,set member val RebateCodeSign:String = null with get,set member val RebateCodeValue:Int32 = new Int32() with get,set member val RebateCodeTypeId:Int32 = new Int32() with get,set member val Name:String = null with get,set member val RebateCodeStatusId:Int32 = new Int32() with get,set member val StatusName:String = null with get,set member val MaxNumberOfUses:Int32 = new Int32() with get,set member val MaxNumberOfUsesPerCustomer:Int32 = new Int32() with get,set member val NumberOfUsesUsed:Int32 = new Int32() with get,set member val DaysOfWeek:ResizeArray = new ResizeArray() with get,set member val Services:ResizeArray = new ResizeArray() with get,set member val Article:ArticleResponse = null with get,set member val Transactions:ResizeArray = new ResizeArray() with get,set member val RemainingAmount:Nullable = new Nullable() with get,set member val RemainingUsage:Nullable = new Nullable() with get,set member val Customers:ResizeArray = new ResizeArray() with get,set member val ResponseStatus:ResponseStatus = null with get,set member val PaymentReceived:Boolean = new Boolean() with get,set member val RebateCodeCurrencySign:String = null with get,set member val ActiveByStatus:Boolean = new Boolean() with get,set member val PriceSign:String = null with get,set member val RebateCodeTypeName:String = null with get,set [] [] [] [] type DeleteRebateCode() = interface IReturn /// /// /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Id of the rebate code /// [] member val Id:Nullable = new Nullable() with get,set member val ForceDelete:Boolean = new Boolean() with get,set