' Options: 'Date: 2024-06-26 17:24:11 'Version: 8.23 '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: True '''ExportValueTypes: False 'IncludeTypes: CompanyBillingInformation.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Globalization Imports System.IO Imports BokaMera.API.ServiceModel.Db Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Db Public Partial Class BaseModel End Class Public Partial Class BillingInformation Inherits BaseModel Public Overridable Property BillingMethod As BillingMethod Public Overridable Property BillingMethodId As Integer Public Overridable Property Name As String Public Overridable Property Attention As String Public Overridable Property Street1 As String Public Overridable Property Street2 As String Public Overridable Property ZipCode As String Public Overridable Property City As String Public Overridable Property Email As String Public Overridable Property CreditCard As String Public Overridable Property CreditCardHolder As String Public Overridable Property CreditCardNumber As String Public Overridable Property ValidToYear As Nullable(Of Short) Public Overridable Property ValidToMonth As Nullable(Of Short) Public Overridable Property CSV As String Public Overridable Property Updated As Date Public Overridable Property Created As Date Public Overridable Property CountryId As String Public Overridable Property PaymentTermsDays As Integer Public Overridable Property VATRegistrationNumber As String Public Overridable Property GLN As String Public Overridable Property ReferenceLine1 As String Public Overridable Property ReferenceLine2 As String Public Overridable Property ModifiedDate As Nullable(Of DateTimeOffset) Public Overridable Property Id As Guid End Class Public Partial Class BillingMethod Inherits BaseModel Public Sub New() BillingMethodCountriesRelation = New List(Of BillingMethodCountriesRelation) End Sub 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 Nullable(Of 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 Nullable(Of DateTimeOffset) End Class End Namespace Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class BillingMethodQueryResponse Public Sub New() Countries = New List(Of String) End Sub ''' '''The billing method id ''' Public Overridable Property Id As Integer ''' '''The billing method name ''' Public Overridable Property Name As String ''' '''The billing method description ''' Public Overridable Property Description As String ''' '''The billing method is valid for the following countries ''' Public Overridable Property Countries As List(Of String) End Class Public Partial Class CompanyBillingInformation Inherits QueryDb(Of BillingInformation, BillingMethodQueryResponse) Implements IReturn(Of QueryResponse(Of BillingMethodQueryResponse)) ''' '''The company id, if empty will use the company id for the user you are logged in with. ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''If you want to include the billing methods to select from ''' Public Overridable Property IncludeBillingMethodOptions As Boolean End Class End Namespace End Namespace