' Options: 'Date: 2026-02-20 06:38:34 'Version: 10.05 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://testapi.bokamera.se ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: CreateCustomerArticleFromArticle.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports ServiceStack.Data Imports System.Net Imports System.Net.Http.Headers Imports BokaMera.API.ServiceModel.Interfaces Imports BokaMera.API.ServiceModel.Dtos Imports BokaMera.API.ServiceModel.Dtos.Commons Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class ArticleResponse Public Overridable Property CompanyId As Guid Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property ArticleTypeId As Integer Public Overridable Property Description As String Public Overridable Property ImageUrl As String Public Overridable Property Active As Boolean Public Overridable Property Amount As Integer Public Overridable Property Price As Double Public Overridable Property CurrencyId As String Public Overridable Property SortOrder As Integer Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property Services As List(Of ArticleServiceRelation) = New List(Of ArticleServiceRelation) Public Overridable Property ServiceIds As List(Of Integer) = New List(Of Integer) Public Overridable Property PriceSign As String Public Overridable Property VAT As Decimal? End Class Public Partial Class CreateCustomerArticleFromArticle Inherits FromArticleBase Implements IReturn(Of CustomerArticleResponse) Implements ICompany End Class Public Partial Class CustomerArticleCompanyResponse Public Overridable Property Id As Guid Public Overridable Property Name As String Public Overridable Property LogoType As String Public Overridable Property Email As String Public Overridable Property Phone As String Public Overridable Property City As String Public Overridable Property Street1 As String Public Overridable Property ZipCode As String Public Overridable Property CountryId As String End Class Public Partial Class CustomerArticleCustomerResponse Public Overridable Property Id As Guid Public Overridable Property Firstname As String Public Overridable Property Lastname As String Public Overridable Property Email As String Public Overridable Property Phone As String End Class Public Partial Class CustomerArticleResponse Public Overridable Property Id As Integer Public Overridable Property CompanyId As Guid Public Overridable Property ArticleId As Integer? Public Overridable Property Price As Decimal? Public Overridable Property VAT As Decimal? Public Overridable Property CurrencyId As String Public Overridable Property StatusId As Integer Public Overridable Property StatusName As String Public Overridable Property CustomerId As Guid? Public Overridable Property CreatedDate As Date Public Overridable Property UpdatedDate As Date Public Overridable Property Article As ArticleResponse Public Overridable Property Customer As CustomerArticleCustomerResponse Public Overridable Property Company As CustomerArticleCompanyResponse Public Overridable Property PaymentLog As List(Of PaymentLogResponse) = New List(Of PaymentLogResponse) Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class CustomerToHandle Inherits CustomerBase End Class Public Partial Class FromArticleBase ''' ''' ''' Public Overridable Property CompanyId As Guid? ''' '''Article ID for the rebate code ''' Public Overridable Property ArticleId As Integer ''' '''Customer information ''' Public Overridable Property Customer As CustomerToHandle ''' '''If you want to book with customer information instead of the Customer Id send the customer information here. Note: If customer profile already exists with the same email the information will not be changed, instead the provided information will be added as BookingsComments if it differs from the ordinairy profile. ''' Public Overridable Property InvoiceAddress As InvoiceAddressToHandle End Class Public Partial Class InvoiceAddressToHandle Implements IInvoiceAddress Public Overridable Property CorporateIdentityNumber As String Implements IInvoiceAddress.CorporateIdentityNumber Public Overridable Property InvoiceAddress1 As String Implements IInvoiceAddress.InvoiceAddress1 Public Overridable Property InvoiceAddress2 As String Implements IInvoiceAddress.InvoiceAddress2 Public Overridable Property InvoiceCity As String Implements IInvoiceAddress.InvoiceCity Public Overridable Property InvoicePostalCode As String Implements IInvoiceAddress.InvoicePostalCode Public Overridable Property InvoiceCountryCode As String Implements IInvoiceAddress.InvoiceCountryCode End Class Public Partial Class PaymentLogResponse Public Overridable Property Id As Integer Public Overridable Property Amount As Double? Public Overridable Property AmountCredited As Double? Public Overridable Property CurrencyId As String Public Overridable Property Comments As String Public Overridable Property Created As Date Public Overridable Property Updated As Date End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos.Commons Public Partial Class CustomerBase Implements ICustomerBase Public Overridable Property CustomerId As Guid? Implements ICustomerBase.CustomerId Public Overridable Property Firstname As String Implements ICustomerBase.Firstname Public Overridable Property Lastname As String Implements ICustomerBase.Lastname Public Overridable Property Email As String Implements ICustomerBase.Email Public Overridable Property Phone As String Implements ICustomerBase.Phone Public Overridable Property SubscribedToNewsletter As Boolean Implements ICustomerBase.SubscribedToNewsletter Public Overridable Property PersonalIdentityNumber As String Implements ICustomerBase.PersonalIdentityNumber End Class Public Interface ICustomerBase Property CustomerId As Guid? Property Firstname As String Property Lastname As String Property Email As String Property Phone As String Property SubscribedToNewsletter As Boolean Property PersonalIdentityNumber As String End Interface End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface Public Interface IInvoiceAddress Property CorporateIdentityNumber As String Property InvoiceAddress1 As String Property InvoiceAddress2 As String Property InvoiceCity As String Property InvoicePostalCode As String Property InvoiceCountryCode As String End Interface End Namespace End Namespace