(* Options: Date: 2024-11-23 09:14:43 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: RebateCodeQuery.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Db open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end type CompanyStatus = | Registered = 1 | AwaitingApproval = 2 | Approved = 3 | Inactive = 4 | ClosedDown = 5 | NotApproved = 6 [] type CustomFieldValue() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val Value:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val SortOrder:Nullable = new Nullable() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type CustomField() = inherit BaseModel() [] member val Table:String = null with get,set [] member val Column:String = null with get,set [] member val DataType:String = null with get,set [] member val Description:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type RegEx() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val RegExCode:String = null with get,set member val ErrorMessage:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set type ScheduleType = | NotDefined = 0 | RecurringSchedule = 1 | DateSchedule = 2 [] type ISchedule = abstract Resources:IList with get,set abstract Type:ScheduleType with get,set abstract Active:Boolean with get,set abstract IsResourceSpecific:Boolean with get,set [] type ITimeException = abstract Id:Int32 with get,set abstract ReasonText:String with get,set abstract IsBlock:Boolean with get,set abstract ReasonTextPublic:String with get,set abstract IsRecurring:Boolean with get,set abstract ResourceIds:Int32[] with get,set type BookingStatusEnum = | Booked = 1 | Unbooked = 2 | Reserved = 3 | Canceled = 4 | AwaitingPayment = 5 | AwaitingPaymentNoTimeLimit = 6 | Payed = 7 | AwaitingPaymentRequestFromAdmin = 8 | AwaitingPaymentFromProvider = 9 | Invoiced = 10 [] type BookedCustomer() = 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 FacebookUserName:String = null with get,set member val ImageUrl:String = null with get,set member val CorporateIdentityNumber:String = null with get,set member val InvoiceAddress1:String = null with get,set member val InvoiceAddress2:String = null with get,set member val InvoiceCity:String = null with get,set member val InvoicePostalCode:String = null with get,set member val InvoiceCountryCode:String = null with get,set [] type IBookedTime = abstract Id:Int32 with get,set abstract ServiceId:Int32 with get,set abstract BookedSpots:Int32 with get,set abstract TotalSpots:Int32 with get,set abstract PauseAfterInMinutes:Int32 with get,set abstract Status:BookingStatusEnum with get,set abstract StatusId:Int32 with get,set abstract Customer:BookedCustomer with get,set [] type CustomFieldDataResponse() = member val Id:Int32 = new Int32() with get,set member val Column:String = null with get,set member val Name:String = null with get,set member val Description:String = null with get,set member val Value:String = null with get,set /// ///Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' /// [] member val DataType:String = null with get,set [] type Resource() = inherit BaseModel() [] member val Priority:Int32 = new Int32() with get,set [] member val Schedules:IList = null with get,set [] member val Exceptions:IList = null with get,set [] member val Bookings:IList = null with get,set [] member val CustomFieldsConfig:IList = null with get,set [] member val CustomFieldsData:IList = null with get,set [] 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 Active:Boolean = new Boolean() with get,set member val Description:String = null with get,set member val ImageUrl: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 Color:String = null with get,set member val Email:String = null with get,set member val MobilePhone:String = null with get,set member val EmailNotification:Nullable = new Nullable() with get,set member val SMSNotification:Nullable = new Nullable() with get,set [] member val SendSMSReminder:Boolean = new Boolean() with get,set [] member val SendEmailReminder:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val AccessGroup:String = null with get,set member val TextField1:String = null with get,set member val TextField2:String = null with get,set member val TextField3:String = null with get,set member val TextField4:String = null with get,set member val TextField5:String = null with get,set member val TextField6:String = null with get,set member val TextField7:String = null with get,set member val TextField8:String = null with get,set member val TextField9:String = null with get,set member val TextField10:String = null with get,set member val TextField11:String = null with get,set member val TextField12:String = null with get,set member val TextField13:String = null with get,set member val TextField14:String = null with get,set member val TextField15:String = null with get,set member val TextField16:String = null with get,set member val TextField17:String = null with get,set member val TextField18:String = null with get,set member val TextField19:String = null with get,set member val TextField20:String = null with get,set [] type ResourceType() = inherit BaseModel() [] member val SelectableByUser:Boolean = new Boolean() with get,set [] member val Resources:ResizeArray = new ResizeArray() with get,set [] 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 Description:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val UpdatedDate:DateTime = new DateTime() with get,set [] member val CreatedDate:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type RebateCodeType() = inherit BaseModel() [] member val Name:String = null with get,set member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type AppliedRebateCodes() = member val RebateCodeId:Int32 = new Int32() with get,set member val RebateCodeSign:String = null with get,set member val RebateCodeValue:Int32 = new Int32() with get,set member val RebateAmount:Double = new Double() with get,set member val RebateCodeType:RebateCodeType = null with get,set [] type TotalPriceInformation() = member val TotalPrice:Double = new Double() with get,set member val TotalVATAmount:Double = new Double() with get,set member val TotalRebate:Double = new Double() with get,set member val TotalPriceBeforeRebate:Double = new Double() with get,set member val AppliedCodes:ResizeArray = new ResizeArray() with get,set member val PriceSign:String = null with get,set member val CurrencyId:String = null with get,set member val VAT:Decimal = new Decimal() with get,set type Currency = | SEK = 1 | EUR = 2 [] type PriceMapping() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val Id:Guid = new Guid() with get,set [] member val PriceId:Int32 = new Int32() with get,set member val ReferenceType:String = null with get,set member val ExternalReference: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 ModifiedDate:Nullable = new Nullable() with get,set type BokaMeraDayOfWeek = | Monday = 1 | Tuesday = 2 | Wednesday = 3 | Thursday = 4 | Friday = 5 | Saturday = 6 | Sunday = 7 [] type ServicePriceDayOfWeekRelation() = inherit BaseModel() [] member val DayOfWeek:BokaMeraDayOfWeek = new BokaMeraDayOfWeek() with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val ServicePriceId:Int32 = new Int32() with get,set [] member val DayOfWeekId:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type ServerData() = member val HTTP_HOST:String = null with get,set member val HTTP_CONNECTION:String = null with get,set member val HTTP_CACHE_CONTROL:String = null with get,set member val HTTP_ACCEPT:String = null with get,set member val HTTP_USER_AGENT:String = null with get,set member val HTTP_ACCEPT_ENCODING:String = null with get,set member val HTTP_ACCEPT_LANGUAGE:String = null with get,set member val PATH:String = null with get,set member val SERVER_SOFTWARE:String = null with get,set member val SERVER_NAME:String = null with get,set member val SERVER_ADDR:String = null with get,set member val SERVER_PORT:String = null with get,set member val REMOTE_ADDR:String = null with get,set member val REMOTE_PORT:String = null with get,set member val GATEWAY_INTERFACE:String = null with get,set member val SERVER_PROTOCOL:String = null with get,set member val REQUEST_METHOD:String = null with get,set member val QUERY_STRING:String = null with get,set member val REQUEST_TIME:String = null with get,set [] type Credentials() = member val hash:String = null with get,set member val id:String = null with get,set member val version:String = null with get,set member val client:String = null with get,set member val serverdata:ServerData = null with get,set member val time:String = null with get,set member val test:String = null with get,set member val language:String = null with get,set [] type CheckoutData() = member val terms:Uri = null with get,set member val privacyPolicy:Uri = null with get,set member val redirectOnSuccess:String = null with get,set [] type CheckoutPaymentData() = member val currency:String = null with get,set member val language:String = null with get,set member val country:String = null with get,set member val autoactivate:String = null with get,set member val orderid:String = null with get,set member val returnmethod:String = null with get,set member val accepturl:Uri = null with get,set member val cancelurl:Uri = null with get,set member val callbackurl:Uri = null with get,set [] type PaymentInfo() = member val paymentdate:String = null with get,set member val paymentterms:String = null with get,set member val yourreference:String = null with get,set member val ourreference:String = null with get,set member val projectname:String = null with get,set member val deliverymethod:String = null with get,set member val deliveryterms:String = null with get,set [] type CartHandling() = member val withouttax:String = null with get,set member val taxrate:String = null with get,set [] type CartTotal() = member val rounding:String = null with get,set member val withouttax:String = null with get,set member val tax:String = null with get,set member val withtax:String = null with get,set [] type Shipping() = member val firstname:String = null with get,set member val lastname:String = null with get,set member val company:String = null with get,set member val street:String = null with get,set member val street2:String = null with get,set member val zip:String = null with get,set member val city:String = null with get,set member val country:String = null with get,set member val phone:String = null with get,set member val withouttax:String = null with get,set member val taxrate:String = null with get,set [] type Cart() = member val Handling:CartHandling = null with get,set member val Total:CartTotal = null with get,set member val Shipping:Shipping = null with get,set [] type CustomerBilling() = member val firstname:String = null with get,set member val lastname:String = null with get,set member val company:String = null with get,set member val street:String = null with get,set member val street2:String = null with get,set member val zip:String = null with get,set member val city:String = null with get,set member val country:String = null with get,set member val phone:String = null with get,set member val email:String = null with get,set [] type QvicklyCustomer() = member val nr:String = null with get,set member val pno:String = null with get,set member val Billing:CustomerBilling = null with get,set [] type InitCheckoutData() = member val CheckoutData:CheckoutData = null with get,set member val PaymentData:CheckoutPaymentData = null with get,set member val PaymentInfo:PaymentInfo = null with get,set member val Articles:QvicklyArticle[] = [||] with get,set member val Cart:Cart = null with get,set member val QvicklyCustomer:QvicklyCustomer = null with get,set [] type InitCheckoutRequestBody() = member val credentials:Credentials = null with get,set member val data:InitCheckoutData = null with get,set member val function:String = null with get,set [] type QvicklyCheckoutResponse() = member val Number:Int32 = new Int32() with get,set member val Status:String = null with get,set member val OrderId:String = null with get,set member val Url:String = null with get,set [] type QvikclyPaymentData() = member val method:String = null with get,set member val paymentplanid:String = null with get,set member val currency:String = null with get,set member val country:String = null with get,set member val language:String = null with get,set member val autoactivate:String = null with get,set member val orderid:String = null with get,set member val status:String = null with get,set member val paymentid_related:String = null with get,set member val url:String = null with get,set [] type Card() = member val promptname:String = null with get,set member val recurring:String = null with get,set member val recurringnr:String = null with get,set member val accepturl:String = null with get,set member val cancelurl:String = null with get,set member val callbackurl:String = null with get,set member val returnmethod:String = null with get,set [] type Settlement() = member val number:String = null with get,set member val date:String = null with get,set [] type QvicklyPaymentResponse() = member val PaymentData:QvikclyPaymentData = null with get,set member val PaymentInfo:PaymentInfo = null with get,set member val Card:Card = null with get,set member val Settlement:Settlement = null with get,set member val QvicklyCustomer:QvicklyCustomer = null with get,set member val Articles:QvicklyArticle[] = [||] with get,set member val Cart:Cart = null with get,set type Payson2CheckoutStatus = | None = 0 | Created = 1 | FormsFilled = 2 | ReadyToPay = 3 | ProcessingPayment = 4 | ReadyToShip = 5 | Shipped = 6 | PaidToAccount = 7 | Canceled = 8 | Credited = 9 | Expired = 10 | Denied = 11 [] type ExternalReference() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val Id:Guid = new Guid() with get,set [] member val OwnerId:Guid = new Guid() with get,set [] member val ReferenceType:String = null with get,set member val ExternalData:String = null with get,set member val CreatedBy:String = null with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type Customer() = member val City:String = null with get,set member val CountryCode:String = null with get,set member val IdentityNumber:String = null with get,set member val Email:String = null with get,set member val FirstName:String = null with get,set member val LastName:String = null with get,set member val Phone:String = null with get,set member val PostalCode:String = null with get,set member val Street:String = null with get,set member val Reference:String = null with get,set member val Type:CustomerType = new CustomerType() with get,set type ItemType = | Physical = 0 | Service = 1 | Fee = 2 | Discount = 3 [] type Item() = member val ItemId:Guid = new Guid() with get,set member val DiscountRate:Decimal = new Decimal() with get,set member val Ean:String = null with get,set member val ImageUri:Uri = null with get,set member val Name:String = null with get,set member val Quantity:Decimal = new Decimal() with get,set member val Reference:String = null with get,set member val TaxRate:Decimal = new Decimal() with get,set member val TotalPriceExcludingTax:Decimal = new Decimal() with get,set member val TotalPriceIncludingTax:Decimal = new Decimal() with get,set member val TotalTaxAmount:Decimal = new Decimal() with get,set member val CreditedAmount:Decimal = new Decimal() with get,set member val Type:ItemType = new ItemType() with get,set member val UnitPrice:Decimal = new Decimal() with get,set member val Uri:Uri = null with get,set [] type Order() = member val Currency:Currency = new Currency() with get,set member val TotalFeeExcludingTax:Decimal = new Decimal() with get,set member val TotalFeeIncludingTax:Decimal = new Decimal() with get,set member val TotalPriceExcludingTax:Decimal = new Decimal() with get,set member val TotalPriceIncludingTax:Decimal = new Decimal() with get,set member val TotalTaxAmount:Decimal = new Decimal() with get,set member val TotalCreditedAmount:Decimal = new Decimal() with get,set member val Items:IList = null with get,set [] type Merchant() = member val CheckoutUri:Uri = null with get,set member val ConfirmationUri:Uri = null with get,set member val NotificationUri:Uri = null with get,set member val ValidationUri:Uri = null with get,set member val TermsUri:Uri = null with get,set member val Reference:String = null with get,set member val PartnerId:String = null with get,set type ColorScheme = | White = 0 | Blue = 1 | Gray = 2 | GrayTextLogos = 3 | BlueTextLogos = 4 | WhiteTextLogos = 5 | WhiteNoFooter = 6 | GrayNoFooter = 7 | BlueNoFooter = 8 [] type Gui() = member val ColorScheme:ColorScheme = new ColorScheme() with get,set member val Locale:String = null with get,set member val RequestPhone:Boolean = new Boolean() with get,set member val PhoneOptional:Boolean = new Boolean() with get,set [] type History() = member val Created:Nullable = new Nullable() with get,set member val ReadyToPay:Nullable = new Nullable() with get,set member val ReadyToShip:Nullable = new Nullable() with get,set member val Shipped:Nullable = new Nullable() with get,set member val PaidToAccount:Nullable = new Nullable() with get,set member val Canceled:Nullable = new Nullable() with get,set member val Expired:Nullable = new Nullable() with get,set member val Denied:Nullable = new Nullable() with get,set [] type Payson2CheckoutResponse() = member val Id:Guid = new Guid() with get,set member val ExpirationTime:Nullable = new Nullable() with get,set member val Snippet:String = null with get,set member val Status:Payson2CheckoutStatus = new Payson2CheckoutStatus() with get,set member val Customer:Customer = null with get,set member val Order:Order = null with get,set member val Merchant:Merchant = null with get,set member val Gui:Gui = null with get,set member val History:History = null with get,set member val PurchaseId:Nullable = new Nullable() with get,set [] type IPaysonPaymentCheckout1 = interface end [] type PaymentLog() = inherit BaseModel() [)>] member val CurrencyId:String = null with get,set member val CurrencyInfo:Currency = null with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val InternalReferenceId:String = null with get,set [] member val ArticleTypeId:Int32 = new Int32() with get,set member val PaymentReferenceId:String = null with get,set member val PaymentProviderId:Nullable = new Nullable() with get,set member val OrderItemReferenceId:String = null with get,set member val Amount:Nullable = new Nullable() with get,set member val VAT:Nullable = new Nullable() with get,set member val AmountCredited:Nullable = new Nullable() with get,set member val Comments:String = null with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Updated:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type PayableEntity() = inherit BaseModel() [] member val DbFactory:IDbConnectionFactory = null with get,set [] member val QvicklyPaymentManager:IBokameraPaymentManager = null with get,set [] member val Payson2PaymentManager:IBokameraPaymentManager = null with get,set [] member val PaysonPaymentCheckout1:IPaysonPaymentCheckout1 = null with get,set [] member val Logger:ILogger = null with get,set [] member val InternalReferenceId:String = null with get,set [] member val PaymentLog:ResizeArray = new ResizeArray() with get,set member val CompanyId:Guid = new Guid() with get,set member val PriceVat:Nullable = new Nullable() with get,set [)>] member val CurrencyId:String = null with get,set [] member val Customer:Customer = null with get,set [] member val Customers:ResizeArray = new ResizeArray() with get,set [] member val Company:Company = null with get,set [] type RebateCodeStatus() = inherit BaseModel() [] member val Name:String = null with get,set member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type ArticleServiceRelation() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val ServiceId:Int32 = new Int32() with get,set [] member val ArticleId:Int32 = new Int32() with get,set type ArticleTypeEnum = | ServiceArticle = 1 | StandAloneArticle = 2 | RebateCodePunchTicketArticle = 3 | RebateCodeGiftCardArticle = 4 | RebateCodeValueCardArticle = 5 [] type Article() = inherit BaseModel() member val Company:Company = null with get,set member val CurrencyInfo:Currency = null with get,set member val ArticleServiceRelations:ResizeArray = new ResizeArray() with get,set [] member val ServiceIds:ResizeArray = new ResizeArray() with get,set [] member val ArticleType:ArticleTypeEnum = new ArticleTypeEnum() with get,set [] member val ArticleTypeName:String = null with get,set [] 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 ModifiedDate:Nullable = new Nullable() with get,set [] type RebateCodeDayOfWeekRelation() = inherit BaseModel() [] member val DayOfWeek:BokaMeraDayOfWeek = new BokaMeraDayOfWeek() with get,set [] member val DayOfWeekId:Int32 = new Int32() with get,set [] member val RebateCodeId:Int32 = new Int32() with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type RebateCodeServiceRelation() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val ServiceId:Int32 = new Int32() with get,set [] member val RebateCodeId:Int32 = new Int32() with get,set member val Id:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type RebateCodeBookingPriceRelation() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val PriceId:Int32 = new Int32() with get,set [] member val RebateCodeId:Int32 = new Int32() with get,set member val Id:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type RebateCodeCustomerRelation() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val CustomerId:Guid = new Guid() with get,set [] member val RebateCodeId:Int32 = new Int32() with get,set member val Id:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val RebateCodeEmailSentToCustomer:Boolean = new Boolean() with get,set member val MessageToReceiver:String = null with get,set member val Buyer:Boolean = new Boolean() with get,set [] type DaysOfWeek() = inherit BaseModel() [] 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 member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type CalendarExport() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val BookingId:Int32 = new Int32() with get,set [] member val ExceptionId:Int32 = new Int32() with get,set member val CalendarSync:Nullable = new Nullable() with get,set member val CalendarId:String = null with get,set member val IsExceptionDeleted:Nullable = new Nullable() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type BookingLogEventType() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type BookingLog() = inherit BaseModel() [)>] member val EventTypeId:Int32 = new Int32() with get,set member val EventType:BookingLogEventType = null with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val BookingId:Int32 = new Int32() with get,set member val Id:Int32 = new Int32() with get,set member val Comments:String = null with get,set member val UserId:String = null with get,set [] member val Created:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type PaymentDetails() = inherit BaseModel() [] member val QvicklyCheckoutSerialized:QvicklyCheckoutResponse = null with get,set [] member val Payson2CheckoutSerialized:Payson2CheckoutResponse = null with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val InternalReferenceId:String = null with get,set [] member val ArticleTypeId:Int32 = new Int32() with get,set [] member val ExternalResponseData:String = null with get,set [] member val ExternalResponseReference:String = null with get,set [] member val PaymentProviderId:Int32 = new Int32() with get,set [] member val CreatedDate:DateTime = new DateTime() with get,set [] member val UpdatedDate:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type BookingPrice() = inherit BaseModel() [)>] member val CurrencyId:String = null with get,set member val PriceId:Nullable = new Nullable() with get,set member val CurrencyInfo:Currency = null with get,set [] member val PriceText:String = null with get,set [] member val AppliedCodes:ResizeArray = new ResizeArray() with get,set [] member val IsRebate:Boolean = new Boolean() with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val BookingId:Int32 = new Int32() with get,set [] member val Quantity:Int32 = new Int32() with get,set member val Price:Nullable = new Nullable() with get,set member val VAT:Nullable = new Nullable() with get,set member val Category:String = null with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Invoiced:Boolean = new Boolean() with get,set [] member val OccupiesSpot:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type BookingStatus() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Color:String = null with get,set [] member val Icon:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type BookedResource() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Color:String = null with get,set member val ImageUrl:Uri = null with get,set member val Email:String = null with get,set member val MobilePhone:String = null with get,set member val AccessGroup:String = null with get,set member val EmailNotification:Boolean = new Boolean() with get,set member val SMSNotification:Boolean = new Boolean() with get,set member val EmailReminder:Boolean = new Boolean() with get,set member val SMSReminder:Boolean = new Boolean() with get,set [] type BookedResourceType() = /// ///The resource type id /// [] member val Id:Int32 = new Int32() with get,set /// ///The resource type name /// [] member val Name:String = null with get,set /// ///The resources inside resource type /// [] member val Resources:ResizeArray = new ResizeArray() with get,set [] type Booking() = inherit PayableEntity() [] member val Service:Service = null with get,set [] member val CalendarExport:CalendarExport = null with get,set [] member val Log:ResizeArray = new ResizeArray() with get,set [] member val CheckoutLogs:ResizeArray = new ResizeArray() with get,set [] member val Prices:ResizeArray = new ResizeArray() with get,set [] member val Status:BookingStatusEnum = new BookingStatusEnum() with get,set [] member val IsReserved:Boolean = new Boolean() with get,set [] member val StatusName:String = null with get,set member val CurrencyInfo:Currency = null with get,set member val BookingStatus:BookingStatus = null with get,set [] member val TotalPrice:Nullable = new Nullable() with get,set [] member val TotalSpots:Nullable = new Nullable() with get,set [] member val Resources:IList = null with get,set [] member val ExternalReferences:IList = null with get,set [] member val BookedResources:IList = null with get,set [] member val CustomFieldsConfig:IList = null with get,set [] member val CustomFieldsData:IList = null with get,set [] member val DeterministicId:Guid = new Guid() with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val LastTimeToUnBook:Nullable = new Nullable() with get,set [] member val PriceMappings:ResizeArray = new ResizeArray() with get,set [] member val InternalReferenceId: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 Id:Int32 = new Int32() with get,set [] member val CustomerId:Guid = new Guid() with get,set [] member val ServiceId:Int32 = new Int32() with get,set [] member val StatusId:Int32 = new Int32() with get,set member val UnbookedOn:Nullable = new Nullable() with get,set member val UnbookedComments:String = null with get,set member val BookedComments:String = null with get,set [] member val BookedBy:String = null with get,set member val UnBookedBy:String = null with get,set [] member val SendSmsReminder:Boolean = new Boolean() with get,set [] member val SendEmailReminder:Boolean = new Boolean() with get,set [] member val SendSmsConfirmation:Boolean = new Boolean() with get,set member val RebateCode:String = null with get,set member val Comments:String = null with get,set member val IpAddress:String = null with get,set [] member val NumberOfBookedSpots:Int32 = new Int32() with get,set member val CommentsToCustomer:String = null with get,set member val PaymentExpiration:Nullable = new Nullable() with get,set [] member val SendEmailConfirmation:Boolean = new Boolean() with get,set member val CancellationCode:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val RatingCode:String = null with get,set member val TextField1:String = null with get,set member val TextField2:String = null with get,set member val TextField3:String = null with get,set member val TextField4:String = null with get,set member val TextField5:String = null with get,set member val TextField6:String = null with get,set member val TextField7:String = null with get,set member val TextField8:String = null with get,set member val TextField9:String = null with get,set member val TextField10:String = null with get,set member val TextField11:String = null with get,set member val TextField12:String = null with get,set member val TextField13:String = null with get,set member val TextField14:String = null with get,set member val TextField15:String = null with get,set member val TextField16:String = null with get,set member val TextField17:String = null with get,set member val TextField18:String = null with get,set member val TextField19:String = null with get,set member val TextField20:String = null with get,set [] member val From:DateTime = new DateTime() with get,set [] member val To:DateTime = new DateTime() with get,set [] type RebateCodeTransaction() = inherit BaseModel() [] member val Booking:Booking = null with get,set [] member val RebateCode:RebateCode = null with get,set [] member val Customer:Customer = null with get,set 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 Amount:Double = new Double() with get,set [] member val Usage:Int32 = new Int32() 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 [] type RebateCode() = inherit PayableEntity() [)>] member val RebateCodeTypeId:Int32 = new Int32() with get,set member val RebateCodeTypeInfo:RebateCodeType = null with get,set [)>] member val RebateCodeStatusId:Int32 = new Int32() with get,set member val RebateCodeStatusInfo:RebateCodeStatus = null with get,set [] member val Article:Article = null with get,set [] member val Services:ResizeArray = new ResizeArray() with get,set member val RebateCodeDayOfWeekRelation:ResizeArray = new ResizeArray() with get,set member val RebateCodeServiceRelation:ResizeArray = new ResizeArray() with get,set member val RebateCodeBookingPriceRelation:ResizeArray = new ResizeArray() with get,set member val RebateCodeCustomerRelation:ResizeArray = new ResizeArray() with get,set [] member val ServicesNames:String = null with get,set [] member val DaysOfWeek:ResizeArray = new ResizeArray() with get,set [] member val RebateCodeStatus:RebateCodeStatus = null with get,set [] member val RebateCodeType:RebateCodeType = 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 CurrentNumberOfUsesPerCustomer:Int32 = new Int32() with get,set [] member val IsSpecificByDayOfWeek:Boolean = new Boolean() with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val ActiveByStatus:Boolean = new Boolean() with get,set [] member val RebateCodeCurrencySign:String = null with get,set member val CurrencyInfo:Currency = null with get,set [] member val PaymentReceived:Boolean = new Boolean() with get,set [] member val InternalReferenceId:String = null with get,set [] member val ValidFrom:DateTime = new DateTime() with get,set [] member val ValidTo:DateTime = new DateTime() with get,set [] member val RebateCodeSign:String = null with get,set [] member val RebateCodeValue:Int32 = new Int32() 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 PersonalNote:String = null 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 UpdatedDate:DateTime = new DateTime() with get,set [] member val FromTime:TimeSpan = new TimeSpan() with get,set [] member val ToTime:TimeSpan = new TimeSpan() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set member val ArticleId:Nullable = new Nullable() with get,set [] type ServicePrice() = inherit BaseModel() [)>] member val CurrencyId:String = null with get,set member val CurrencyInfo:Currency = null with get,set [] member val Service:Service = null with get,set [] member val PriceMappings:ResizeArray = new ResizeArray() with get,set [] member val isTimeSpecific:Boolean = new Boolean() with get,set [] member val isDaysOfWeekSpecific:Boolean = new Boolean() with get,set member val DayOfWeeks:ResizeArray = new ResizeArray() with get,set [] member val PriceBeforeRebate:Nullable = new Nullable() with get,set [] member val RebateCodesApplied:ResizeArray = new ResizeArray() with get,set [] member val PriceText:String = null with get,set [] member val OverlappingPrices:ResizeArray = new ResizeArray() with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val ServiceId:Int32 = new Int32() with get,set member val Price:Nullable = new Nullable() with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val FromTime:TimeSpan = new TimeSpan() with get,set [] member val ToTime:TimeSpan = new TimeSpan() with get,set [] member val VAT:Decimal = new Decimal() with get,set member val Category:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val From:DateTime = new DateTime() with get,set [] member val To:DateTime = new DateTime() with get,set [] member val CalculationTypeId:Int32 = new Int32() with get,set [] type BookingStatusOptions() = 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 [] type ScheduleView() = inherit BaseModel() [] member val Name:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type WeekNumberSetting() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type BookingTemplate() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val UsedByApplication:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type CalendarType() = inherit BaseModel() [] 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 member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type FreeSpotTexts() = inherit BaseModel() [] member val TextSingular:String = null with get,set [] member val TextPlural:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type BookingSettings() = inherit BaseModel() [)>] member val FreeSpotTextsId:Int32 = new Int32() with get,set [] member val SendEmailConfirmation:Boolean = new Boolean() with get,set [] member val ScheduleViewOptions:ResizeArray = new ResizeArray() with get,set [] member val WeekNumberSettingOptions:ResizeArray = new ResizeArray() with get,set [] member val BookingTemplateOptions:ResizeArray = new ResizeArray() with get,set [] member val CalendarTypeOptions:ResizeArray = new ResizeArray() with get,set [] member val FreeSpotTextOptions:ResizeArray = new ResizeArray() with get,set [] member val BookingStatusOptions:ResizeArray = new ResizeArray() with get,set member val FreeSpotTextsInfo:FreeSpotTexts = null with get,set [] member val FreeSpotsTextSingular:String = null with get,set [] member val FreeSpotsTextPlural:String = null with get,set [] member val BookingStatusId:Int32 = new Int32() with get,set [] member val ScheduleViewId:Int32 = new Int32() with get,set [] member val BookingTemplateId:Int32 = new Int32() with get,set [] member val CalendarTypeId:Int32 = new Int32() with get,set [] member val AllowBookingOnUnbookedTimes:Boolean = new Boolean() with get,set [] member val SendEmailReminder:Boolean = new Boolean() with get,set [] member val SendSmsReminder:Boolean = new Boolean() with get,set [] member val SendSmsConfirmation:Boolean = new Boolean() with get,set [] member val EmailReminderTime:Int32 = new Int32() with get,set [] member val SmsReminderTime:Int32 = new Int32() with get,set [] member val MaxActiveBookings:Int32 = new Int32() with get,set [] member val SendNotifications:Boolean = new Boolean() with get,set member val SendNotificationsEmail:String = null with get,set [] member val EnableMobileApp:Boolean = new Boolean() with get,set member val ScheduleStartTime:Nullable = new Nullable() with get,set member val ScheduleEndTime:Nullable = new Nullable() with get,set member val ReceiptTemplate:String = null with get,set [] member val ScheduleTimeSlotMinutes:Int32 = new Int32() with get,set [] member val ShowFreeTimesLeft:Boolean = new Boolean() with get,set [] member val EnableICalGroupBookings:Boolean = new Boolean() with get,set member val AgreementTemplate:String = null with get,set [] member val ScheduleShowTimeExeptions:Boolean = new Boolean() with get,set [] member val EnableBookingsOnSameTime:Boolean = new Boolean() with get,set [] member val ShowWeekNumberSettingId:Int32 = new Int32() with get,set [] member val EnableShowBookedTimes:Boolean = new Boolean() with get,set [] member val EnableSendFollowUpMessage:Boolean = new Boolean() with get,set [] member val FollowUpMessageTime:Int32 = new Int32() with get,set member val MessageText:String = null with get,set [] member val ScheduleGroupResources:Boolean = new Boolean() with get,set [] member val BookSpotUserResponseMinutes:Int32 = new Int32() with get,set [] member val IsBookSpotDirectly:Boolean = new Boolean() with get,set [] member val BookSpotDirectlyTimeLeftMinutes:Int32 = new Int32() with get,set [] member val SendEmailNotificationQueue:Boolean = new Boolean() with get,set [] member val SendSMSNotificationQueue:Boolean = new Boolean() with get,set [] member val SchedulerDisableHorizontalScrolling:Boolean = new Boolean() with get,set [] member val BookOnlyOnExistingCustomers:Boolean = new Boolean() with get,set [] member val AutoGenerateUniquePinCode:Boolean = new Boolean() with get,set [] member val WeightedPrices:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val AutoCreateUserProfile:Boolean = new Boolean() with get,set member val ShowMultipleResourcesAsOne:Boolean = new Boolean() with get,set member val ShowMultiDayAsTime:Boolean = new Boolean() with get,set [] member val Id:Guid = new Guid() with get,set [] type AdminPaymentOptions() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type PaymentProviders() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Category:String = null with get,set member val Url:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type PaymentSetting() = inherit BaseModel() member val AdminPaymentOption:AdminPaymentOptions = null with get,set [] member val AdminPaymentOptions:ResizeArray = new ResizeArray() with get,set [] member val PaymentProviderOptions:ResizeArray = new ResizeArray() with get,set [] member val Enabled:Boolean = new Boolean() with get,set [] member val InvoiceFee:Int32 = new Int32() with get,set [] member val AllowCreditCardPayment:Boolean = new Boolean() with get,set [] member val AllowInvoicePayment:Boolean = new Boolean() with get,set [] member val AllowBankPayment:Boolean = new Boolean() with get,set [] member val GuaranteeOffered:Boolean = new Boolean() with get,set [] member val RefundOnCancelBooking:Boolean = new Boolean() with get,set member val DefaultPaymentOptionId:Nullable = new Nullable() with get,set [] member val PaymentProviderId:Int32 = new Int32() with get,set [] member val SendPaymentRequestDirectly:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Guid = new Guid() with get,set [] type AverageRatingScore() = member val AverageScore:Double = new Double() with get,set member val Score1Count:Int32 = new Int32() with get,set member val Score2Count:Int32 = new Int32() with get,set member val Score3Count:Int32 = new Int32() with get,set member val Score4Count:Int32 = new Int32() with get,set member val Score5Count:Int32 = new Int32() with get,set member val Count:Int32 = new Int32() with get,set [] type Review() = inherit BaseModel() member val ReviewId:Guid = new Guid() with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val Title:String = null with get,set [] member val Description:String = null with get,set [] member val Author:String = null with get,set [] member val Status:Int32 = new Int32() with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Updated:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val ReviewAnswer:String = null with get,set [] type Rating() = inherit BaseModel() member val ReviewId:Nullable = new Nullable() with get,set member val Review:Review = null with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val BookingId:Int32 = new Int32() with get,set [] member val RatingScore:Int32 = new Int32() with get,set [] member val Status:Int32 = new Int32() with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Updated:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type Service() = inherit BaseModel() [] member val ResourceTypes:ResizeArray = new ResizeArray() with get,set [] member val Resources:IEnumerable = null with get,set [] member val TotalPrice:TotalPriceInformation = null with get,set [] member val Prices:ResizeArray = new ResizeArray() with get,set [] member val BookingStatusOptions:ResizeArray = new ResizeArray() with get,set [] member val IsGroupBooking:Boolean = new Boolean() with get,set [] member val IsMultipleResource:Boolean = new Boolean() with get,set [] member val Settings:BookingSettings = null with get,set [] member val PaymentSetting:PaymentSetting = null with get,set [] member val BookingCustomFieldsConfig:IList = null with get,set [] member val CustomerCustomFieldsConfig:IList = null with get,set [] member val CustomFieldsConfig:IList = null with get,set [] member val CustomFieldsData:IList = null with get,set [] member val Schedules:IList = null with get,set [] member val CustomerActiveBookings:IList = null with get,set [] member val ScheduleType:ScheduleType = new ScheduleType() with get,set [] member val LastTimeToUnbookThreshold:TimeSpan = new TimeSpan() with get,set [] member val LastTimeToBookThreshold:TimeSpan = new TimeSpan() with get,set [] member val RatingScore:AverageRatingScore = null with get,set [] member val Ratings:ResizeArray = new ResizeArray() with get,set [] 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 Description:String = null with get,set member val Group:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val SortOrder:Int32 = new Int32() with get,set [] member val PauseAfterBooking:Int32 = new Int32() with get,set [] member val UnbookBeforeDays:Int32 = new Int32() with get,set [] member val UnbookBeforeHours:Int32 = new Int32() with get,set [] member val UnbookBeforeMinutes:Int32 = new Int32() with get,set [] member val BookBeforeDays:Int32 = new Int32() with get,set [] member val BookBeforeHours:Int32 = new Int32() with get,set [] member val BookBeforeMinutes:Int32 = new Int32() with get,set member val Duration:Nullable = new Nullable() with get,set member val DurationTypeId:Int32 = new Int32() with get,set member val MinDuration:Nullable = new Nullable() with get,set member val MaxDuration:Nullable = new Nullable() with get,set member val DurationInterval:Nullable = new Nullable() with get,set member val TotalSpots:Nullable = new Nullable() with get,set member val ImageUrl:String = null with get,set [] member val ScheduleTypeId:Int32 = new Int32() with get,set [] member val UpdatedDate:DateTime = new DateTime() with get,set [] member val CreatedDate:DateTime = new DateTime() with get,set [] member val OnlyVisibleByAdmin:Boolean = new Boolean() with get,set [] member val MinNumberOfSpotsPerBooking:Int32 = new Int32() with get,set [] member val MaxNumberOfSpotsPerBooking:Int32 = new Int32() with get,set [] member val MinNumberOfResourcesToBook:Int32 = new Int32() with get,set [] member val MaxNumberOfResourcesToBook:Int32 = new Int32() with get,set [] member val IsPaymentEnabled:Boolean = new Boolean() with get,set [] member val MaxPaymentTime:Int32 = new Int32() with get,set [] member val LockSpotsToBooking:Boolean = new Boolean() with get,set [] member val EnableBookingQueue:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val BookingStatusId:Int32 = new Int32() with get,set [] member val EnableCodeLockSync:Boolean = new Boolean() with get,set [] member val EnableCustomerManualPayment:Boolean = new Boolean() with get,set member val PriceViewTypeId:Nullable = new Nullable() with get,set member val TextField1:String = null with get,set member val TextField2:String = null with get,set member val TextField3:String = null with get,set member val TextField4:String = null with get,set member val TextField5:String = null with get,set member val TextField6:String = null with get,set member val TextField7:String = null with get,set member val TextField8:String = null with get,set member val TextField9:String = null with get,set member val TextField10:String = null with get,set member val TextField11:String = null with get,set member val TextField12:String = null with get,set member val TextField13:String = null with get,set member val TextField14:String = null with get,set member val TextField15:String = null with get,set member val TextField16:String = null with get,set member val TextField17:String = null with get,set member val TextField18:String = null with get,set member val TextField19:String = null with get,set member val TextField20:String = null with get,set [] type CustomFieldServiceRelation() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val CustomFieldConfigId:Int32 = new Int32() with get,set [] member val ServiceId:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type CustomFieldConfig() = inherit BaseModel() [] member val Values:ResizeArray = new ResizeArray() with get,set member val CustomField:CustomField = null with get,set [] member val RegEx:RegEx = null with get,set [] member val Services:ResizeArray = new ResizeArray() with get,set member val CustomFieldServiceRelation:ResizeArray = new ResizeArray() with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set member val GroupId:Nullable = new Nullable() with get,set [] member val FieldId:Int32 = new Int32() with get,set [] member val IconId:Int32 = new Int32() with get,set member val RegExId:Nullable = new Nullable() with get,set [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Datatype:String = null with get,set [] member val MaxLength:Int32 = new Int32() with get,set [] member val IsPublic:Boolean = new Boolean() with get,set [] member val IsHidden:Boolean = new Boolean() with get,set [] member val IsMandatory:Boolean = new Boolean() with get,set member val DefaultValue:String = null with get,set member val RegExErrorMessage:String = null with get,set member val MandatoryErrorMessage:String = null with get,set member val Width:Nullable = new Nullable() with get,set [] member val MultipleLineText:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type CompanyType() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type CodeLockSystem() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Supplier:String = null with get,set member val LogoType:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type CodeLockSetting() = inherit BaseModel() [] member val CodeLockSystemOptions:ResizeArray = new ResizeArray() with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val CodeLockSystemsId:Int32 = new Int32() with get,set [] member val ValidBeforeMinutes:Int32 = new Int32() with get,set [] member val ValidAfterMinutes:Int32 = new Int32() with get,set [] member val DeleteOldBySchedule:Boolean = new Boolean() with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Updated:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val SendEmailNotification:Boolean = new Boolean() with get,set [] member val SendSMSNotification:Boolean = new Boolean() with get,set [] member val EmailNotificationTime:Int16 = new Int16() with get,set [] member val SMSNotificationTime:Int16 = new Int16() with get,set [] member val Id:Guid = new Guid() with get,set [] type LanguageResponse() = member val Id:String = null with get,set member val Name:String = null with get,set [] type CompanySetting() = inherit BaseModel() [] member val Languages:ResizeArray = new ResizeArray() with get,set [] member val Active:Boolean = new Boolean() with get,set member val InactiveMessage:String = null with get,set [] member val Searchable:Boolean = new Boolean() with get,set member val GATrackingId:String = null with get,set member val FacebookPixelId:String = null with get,set [] member val MultiLanguage:Boolean = new Boolean() with get,set [] member val EnableAPITranslation:Boolean = new Boolean() with get,set [] member val DefaultLanguage:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val GTMTrackingId:String = null with get,set [] member val ShowOnMarketPlace:Boolean = new Boolean() with get,set member val GoogleAdsConversionId:String = null with get,set member val LinkedinTagId:String = null with get,set member val GoogleAdsConversionLabel:String = null with get,set member val SendCustomerInformationToExternalProviders:Boolean = new Boolean() with get,set [] member val Id:Guid = new Guid() with get,set [] type WidgetServiceLayouts() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Code:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type WidgetTimeLayouts() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Code:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type WidgetBookingLayouts() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Code:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type WidgetBookingMethods() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Code:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type HomepageWidgetSetting() = inherit BaseModel() [] member val WidgetServiceLayoutOptions:ResizeArray = new ResizeArray() with get,set [] member val WidgetTimeLayoutOptions:ResizeArray = new ResizeArray() with get,set [] member val WidgetBookingLayoutOptions:ResizeArray = new ResizeArray() with get,set [] member val WidgetBookingMethodOptions:ResizeArray = new ResizeArray() with get,set [] member val ServiceLayoutId:Int32 = new Int32() with get,set [] member val TimeLayoutId:Int32 = new Int32() with get,set [] member val BookingLayoutId:Int32 = new Int32() with get,set [] member val PrimaryColor:String = null with get,set [] member val ShowServiceImage:Boolean = new Boolean() with get,set [] member val ShowNextAvailableTime:Boolean = new Boolean() with get,set [] member val ShowEndTime:Boolean = new Boolean() with get,set member val BookedTimeSlotText:String = null with get,set [] member val DarkTheme:Boolean = new Boolean() with get,set [] member val ShowRebateCodeField:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val EnableCreateAccount:Boolean = new Boolean() with get,set [] member val EnableLogin:Boolean = new Boolean() with get,set [] member val EnableDirectBooking:Boolean = new Boolean() with get,set [] member val EnableFacebookLogin:Boolean = new Boolean() with get,set [] member val ShowSubscribeToNewsletter:Boolean = new Boolean() with get,set [] member val Id:Guid = new Guid() with get,set [] type HomepageTemplate() = inherit BaseModel() [] 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 Premium:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type HeroSectionStyle() = inherit BaseModel() [] member val Name:String = null with get,set member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type HomepageSetting() = inherit BaseModel() [] member val HomepageTemplateOptions:ResizeArray = new ResizeArray() with get,set [] member val HomepageHeroSectionStyleOptions:ResizeArray = new ResizeArray() with get,set [] member val CompanyId:Nullable = new Nullable() with get,set member val WelcomePageHeading:String = null with get,set member val WelcomePageBody:String = null with get,set member val AboutUsPageHeading:String = null with get,set member val AboutUsPageBody:String = null with get,set [] member val HomePageTemplateId:Int32 = new Int32() with get,set member val ImageUrl:String = null with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val HomepageHeading:String = null with get,set [] member val HeroSectionStyleId:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val ShowRating:Boolean = new Boolean() with get,set [] member val EnableHomepage:Boolean = new Boolean() with get,set [] member val Id:Guid = new Guid() with get,set [] type LicenseTypeItem() = inherit BaseModel() [] member val Name:String = null with get,set [] member val LicenseType:LicenseType = null with get,set [] member val LicenseTypesId:Int32 = new Int32() with get,set [] member val LicenseItemsId:Int32 = new Int32() with get,set [] member val NumberOfItems:Int32 = new Int32() with get,set member val Id:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type Country() = inherit BaseModel() [)>] member val CurrencyId:String = null with get,set member val CurrencyInfo:Currency = null with get,set [] member val Name:String = null with get,set member val Culture:String = null with get,set member val TimeZone:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:String = null with get,set [] type LicensePrice() = inherit BaseModel() [] member val Country:Country = null with get,set [] member val MonthlyPayment:Boolean = new Boolean() with get,set [] member val LicenseTypeId:Int32 = new Int32() with get,set [] member val CountryId:String = null with get,set [] member val Price:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type LicenseType() = inherit BaseModel() [] member val LicenseItems:IList = null with get,set [] member val Prices:IList = null with get,set [] member val PeriodOfNoticeDays:Int32 = new Int32() with get,set [] member val NextLicenseOption:LicenseType = null with get,set [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val ExtraLicenseOption:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Active:Boolean = new Boolean() with get,set member val Id:Int32 = new Int32() with get,set [] type License() = inherit BaseModel() member val Type:LicenseType = null with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val TypeId:Int32 = new Int32() with get,set [] member val ValidFrom:DateTime = new DateTime() with get,set [] member val ValidTo:DateTime = new DateTime() with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val MetaData:String = null with get,set [] type CompanyCategory() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Header:String = null with get,set [] member val Description:String = null with get,set member val ImageUrl:Uri = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val SortOrder:Nullable = new Nullable() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type Company() = inherit BaseModel() [] member val Status:CompanyStatus = new CompanyStatus() with get,set [] member val Active:Boolean = new Boolean() with get,set [] member val CustomerCustomFieldsConfig:IList = null with get,set [] member val BookingAgreements:String = null with get,set [] member val BookingSettings:BookingSettings = null with get,set [] member val CompanyType:CompanyType = null with get,set [] member val CodeLockSettings:CodeLockSetting = null with get,set [] member val PaymentSettings:PaymentSetting = null with get,set [] member val Settings:CompanySetting = null with get,set [] member val WidgetSettings:HomepageWidgetSetting = null with get,set [] member val HomepageSettings:HomepageSetting = null with get,set [] member val RatingScore:AverageRatingScore = null with get,set [] member val Ratings:ResizeArray = new ResizeArray() with get,set [] member val Distance:Nullable = new Nullable() with get,set [] member val Licenses:ResizeArray = new ResizeArray() with get,set [] member val ActiveLicenses:ResizeArray = new ResizeArray() with get,set [] member val CurrentLicense:License = null with get,set [] member val IsFreeAccount:Boolean = new Boolean() with get,set [] member val DefaultLanguage:CultureInfo = null with get,set member val Category:CompanyCategory = null with get,set [] member val Lat:Double = new Double() with get,set [] member val Lon:Double = new Double() with get,set [] member val IsFavorite:Boolean = new Boolean() with get,set [] member val ExternalReferences:IList = null with get,set [] member val OrganisationNumber:String = null with get,set [] member val StatusId:Int32 = new Int32() with get,set [] member val CategoryId:Int32 = new Int32() with get,set [] member val SitePath:String = null with get,set [] member val Name:String = null with get,set member val Street1:String = null with get,set member val Street2:String = null with get,set member val ZipCode:String = null with get,set member val City:String = null with get,set member val OpeningHours:String = null with get,set member val FaxNumber:String = null with get,set [] member val Email:String = null with get,set member val Phone:String = null with get,set member val Details:String = null with get,set member val LogoType:String = null with get,set [] member val ApprovedByAdmin:Boolean = new Boolean() with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val IpAddress:String = null with get,set member val Homepage:String = null with get,set member val DomainName:String = null with get,set [] member val CountryId:String = null with get,set [] member val CompanyOwnerId:Int32 = new Int32() with get,set member val TypeId:Nullable = new Nullable() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Guid = new Guid() with get,set [] type IInterval = abstract From:DateTime with get,set abstract To:DateTime with get,set [] type Currency() = inherit BaseModel() [] member val Name:String = null with get,set [] member val CurrencySign:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:String = null with get,set [] type Customer() = inherit BaseModel() member val IdentityId:Int32 = new Int32() with get,set member val Id:Guid = new Guid() with get,set [] member val CustomerId:Guid = new Guid() with get,set [] member val AccessKeys:IList = null with get,set member val Email:String = null with get,set [] member val ExternalReferences:IList = null with get,set [] member val Company:Company = null with get,set [] member val CustomFieldsConfig:IList = null with get,set [] member val CustomFieldsData:IList = null with get,set [] member val Comments:IList = null with get,set [] member val RebateCodes:IList = null with get,set member val Firstname:String = null with get,set [] member val ImageUrl:String = null with get,set [] member val Active:Boolean = new Boolean() with get,set member val FacebookUsername:String = null with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val IpAddress:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val TextField1:String = null with get,set member val TextField2:String = null with get,set member val TextField3:String = null with get,set member val TextField4:String = null with get,set member val TextField5:String = null with get,set member val TextField6:String = null with get,set member val TextField7:String = null with get,set member val TextField8:String = null with get,set member val TextField9:String = null with get,set member val TextField10:String = null with get,set member val TextField11:String = null with get,set member val TextField12:String = null with get,set member val TextField13:String = null with get,set member val TextField14:String = null with get,set member val TextField15:String = null with get,set member val TextField16:String = null with get,set member val TextField17:String = null with get,set member val TextField18:String = null with get,set member val TextField19:String = null with get,set member val TextField20:String = null with get,set member val UserId:Guid = new Guid() with get,set member val Lastname:String = null with get,set member val Phone:String = null with get,set member val CorporateIdentityNumber:String = null with get,set member val InvoiceAddress1:String = null with get,set member val InvoiceAddress2:String = null with get,set member val InvoiceCity:String = null with get,set member val InvoicePostalCode:String = null with get,set member val InvoiceCountryCode:String = null with get,set [] member val CompanyId:Guid = new Guid() with get,set member val SubscribedToNewsletter:Boolean = new Boolean() 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 IBaseModelCreated = abstract CreatedDate:DateTime with get,set [] type IBaseModelUpdated = abstract UpdatedDate:DateTime with get,set [] type IBokameraPaymentManager = interface end [] type ILogger = interface end [] type IPayableEntity = abstract InternalReferenceId:String with get,set [] abstract PaymentLog:ResizeArray with get,set [] type ICompanyInformationLoader = abstract CompanyId:Guid with get,set [] type ICustomerInformationLoader = abstract Customer:Customer with get,set abstract Customers:ResizeArray with get,set [] type ICustomFieldTable = abstract CustomFieldsConfig:IList with get,set abstract CustomFieldsData:IList with get,set abstract TextField1:String with get,set abstract TextField2:String with get,set abstract TextField3:String with get,set abstract TextField4:String with get,set abstract TextField5:String with get,set abstract TextField6:String with get,set abstract TextField7:String with get,set abstract TextField8:String with get,set abstract TextField9:String with get,set abstract TextField10:String with get,set abstract TextField11:String with get,set abstract TextField12:String with get,set abstract TextField13:String with get,set abstract TextField14:String with get,set abstract TextField15:String with get,set abstract TextField16:String with get,set abstract TextField17:String with get,set abstract TextField18:String with get,set abstract TextField19:String with get,set abstract TextField20:String with get,set [] type ILogger = interface end [] 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 RebateCodeQuery() = inherit QueryDb() interface IReturn> /// ///Enter the company and id you want to see the information for a rebate code, if blank company id and you are an admin, your company id will be used. If blank id, all rebate codes will be shown /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///RebateCodeId /// [] member val Id:Nullable = new Nullable() with get,set /// /// /// [] member val Active:Nullable = new Nullable() with get,set /// /// /// [] member val RebateCodeSign:String = null with get,set /// ///1 - Percent, 2 - Сurrency, 3 - PunchTicket, 4 - ValueCard, 5 - GiftCard /// [] member val RebateCodeTypeIds:Int32[] = null with get,set /// /// /// [] member val IncludeCodeTypeOptions:Boolean = new Boolean() with get,set /// /// /// [] member val IncludeStatusOptions:Boolean = new Boolean() with get,set /// /// /// [] member val IncludeConnectedServices:Boolean = new Boolean() with get,set /// /// /// [] member val IncludeConnectedDaysOfWeek:Boolean = new Boolean() with get,set /// /// /// [] member val IncludeConnectedCustomers:Boolean = new Boolean() with get,set /// /// /// [] member val IncludeArticleInformation:Boolean = new Boolean() with get,set /// /// /// [] member val CompanyRebateCodes:Boolean = new Boolean() with get,set /// /// /// [] member val IncludeUsages:Boolean = new Boolean() with get,set /// ///If you want to include the payment log on the rebate code /// [] member val IncludePaymentLog:Boolean = new Boolean() with get,set /// /// /// [] member val CustomerId:Nullable = new Nullable() with get,set