' Options: 'Date: 2025-09-18 12:12:32 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.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: AddBillingInformation.* '''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.Db Imports BokaMera.API.ServiceModel.Dtos.Commons Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BaseModel End Class Public Partial Class BillingMethod Inherits BaseModel Public Overridable Property BillingMethodCountriesRelation As List(Of BillingMethodCountriesRelation) Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property ModifiedDate As DateTimeOffset? Public Overridable Property Id As Integer End Class Public Partial Class BillingMethodCountriesRelation Inherits BaseModel Public Overridable Property BillingMethodId As Integer Public Overridable Property CountryId As String Public Overridable Property ModifiedDate As DateTimeOffset? End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class AddBillingInformation Implements IReturn(Of BillingInformationResponse) Implements ICompany Implements IBillingInfo ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Guid? Implements ICompany.CompanyId ''' '''The prefered billing method. ''' Public Overridable Property BillingMethodId As Integer Implements IBillingInfo.BillingMethodId ''' '''The name that should be printed on the billing information, normally this would be your company name. ''' Public Overridable Property Name As String ''' '''If you want to add the attention to the billing person. ''' Public Overridable Property Attention As String ''' '''If you want to add the attention to the billing person. ''' Public Overridable Property FirstName As String Implements IBillingInfo.FirstName ''' '''If you want to add the attention to the billing person. ''' Public Overridable Property LastName As String Implements IBillingInfo.LastName ''' '''If you want to add the attention to the billing phone number. ''' Public Overridable Property PhoneNumber As String Implements IBillingInfo.PhoneNumber ''' '''The street for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property Street1 As String ''' '''The street for the billing adress. ''' Public Overridable Property Street2 As String ''' '''The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property ZipCode As String ''' '''The city for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property City As String ''' '''The country for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property CountryId As String Implements IBillingInfo.CountryId ''' '''The billing email. This is required when having email invoice as billing method. ''' Public Overridable Property Email As String ''' '''The billing payment terms in days. This is default 15 days. ''' Public Overridable Property PaymentTermsDays As Integer? ''' '''The company vat registration number. ''' Public Overridable Property VatRegistrationNumber As String ''' '''The company global location number. ''' Public Overridable Property GLN As String ''' '''Your internal reference. ''' Public Overridable Property ReferenceLine1 As String ''' '''Your internal reference. ''' Public Overridable Property ReferenceLine2 As String End Class Public Partial Class BillingInformationResponse ''' '''The company id. ''' Public Overridable Property CompanyId As Guid ''' '''The prefered billing method. ''' Public Overridable Property BillingMethodId As Integer ''' '''The name that should be printed on the billing information, normally this would be your company name. ''' Public Overridable Property Name As String ''' '''Billing person first name ''' Public Overridable Property FirstName As String ''' '''Billing person last name ''' Public Overridable Property LastName As String ''' '''Billing person phone numbers ''' Public Overridable Property PhoneNumber As String ''' '''If you want to add the attention to the billing address. ''' Public Overridable Property Attention As String ''' '''The street for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property Street1 As String ''' '''The street for the billing adress. ''' Public Overridable Property Street2 As String ''' '''The zip code (postal code) for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property ZipCode As String ''' '''The city for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property City As String ''' '''The country for the billing adress. This is required when having postal invoice as billing method. ''' Public Overridable Property CountryId As String ''' '''The billing email. This is required when having email invoice as billing method. ''' Public Overridable Property Email As String ''' '''The company global location number. ''' Public Overridable Property GLN As String ''' '''Your internal reference. ''' Public Overridable Property ReferenceLine1 As String ''' '''Your internal reference. ''' Public Overridable Property ReferenceLine2 As String ''' '''The billing payment terms in days. This is default 15 days. ''' Public Overridable Property PaymentTermsDays As Integer ''' '''The company vat registration number. ''' Public Overridable Property VatRegistrationNumber As String ''' '''The billing method options to choose from ''' Public Overridable Property BillingMethodOptions As List(Of BillingMethod) End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos.Commons Public Interface IBillingInfo Property FirstName As String Property LastName As String Property PhoneNumber As String Property CountryId As String Property BillingMethodId As Integer End Interface End Namespace Namespace BokaMera.API.ServiceModel.Interfaces Public Interface ICompany Property CompanyId As Guid? End Interface End Namespace End Namespace