(* Options: Date: 2024-11-21 12:06:54 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: CreateLicense.* //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 open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end type Currency = | SEK = 1 | EUR = 2 [] 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 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 LicenseItemsResponse() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val AllowedItems:Int32 = new Int32() 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 LicenseTypeQueryResponse() = /// ///The license type id /// [] member val Id:Int32 = new Int32() with get,set /// ///The license type name /// [] member val Name:String = null with get,set /// ///The license type description /// [] member val Description:String = null with get,set /// ///If the license type is not a standard license but instead an extra license option. An example would be sending new letter license. /// [] member val IsExtraLicenseOption:Boolean = new Boolean() with get,set /// ///The period of notice for the license in days. /// [] member val PeriodOfNoticeDays:Int32 = new Int32() with get,set /// ///The license items for the license type /// [] member val Items:ResizeArray = new ResizeArray() with get,set /// ///The license prices in each country for the license type /// [] member val Prices:ResizeArray = new ResizeArray() with get,set [] type BillingInformationResponse() = /// ///The company id. /// [] member val CompanyId:Guid = new Guid() with get,set /// ///The prefered billing method. /// [] member val BillingMethodId:Int32 = new Int32() with get,set /// ///The name that should be printed on the billing information, normally this would be your company name. /// [] member val Name:String = null with get,set /// ///If you want to add the attention to the billing address. /// [] member val Attention:String = null with get,set /// ///The street for the billing adress. This is required when having postal invoice as billing method. /// [] member val Street1:String = null with get,set /// ///The street for the billing adress. /// [] member val Street2:String = null with get,set /// ///The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method. /// [] member val ZipCode:String = null with get,set /// ///The city for the billing adress. This is required when having postal invoice as billing method. /// [] member val City:String = null with get,set /// ///The country for the billing adress. This is required when having postal invoice as billing method. /// [] member val CountryId:String = null with get,set /// ///The billing email. This is required when having email invoice as billing method. /// [] member val Email:String = null with get,set /// ///The company global location number. /// [] member val GLN:String = null with get,set /// ///You're internal rereference. /// [] member val ReferenceLine1:String = null with get,set /// ///You're internal rereference. /// [] member val ReferenceLine2:String = null with get,set /// ///The billing payment terms in days. This is default 15 days. /// [] member val PaymentTermsDays:Int32 = new Int32() with get,set /// ///The company vat registration number. /// [] member val VatRegistrationNumber:String = null with get,set /// ///The billing method options to choose from /// [] member val BillingMethodOptions:ResizeArray = new ResizeArray() with get,set [] type CompanyLicenseQueryResponse() = member val Id:Int32 = new Int32() with get,set member val TypeId:Int32 = new Int32() with get,set member val Type:LicenseTypeQueryResponse = null with get,set member val ValidFrom:DateTime = new DateTime() with get,set member val ValidTo:DateTime = new DateTime() with get,set member val MetaData:String = null with get,set member val Active:Boolean = new Boolean() with get,set member val Canceled:Boolean = new Boolean() with get,set member val Updated:DateTime = new DateTime() with get,set member val Created:DateTime = new DateTime() with get,set [] [] [] [] type CreateLicense() = 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 license type /// [] member val TypeId:Nullable = new Nullable() with get,set /// ///Any metadata connected to the license. In example for domain license set the requested domain name here. /// [] member val MetaData:String = null with get,set /// ///If you want to update your company billing information. Note, if no billing information is added before, you need to set this. /// [] member val BillingInformation:BillingInformationResponse = null with get,set