' Options: 'Date: 2024-07-03 12:53:13 'Version: 8.23 '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: True '''ExportValueTypes: False 'IncludeTypes: BillingMethodQuery.* '''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 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 BillingMethodQuery Inherits QueryDb(Of BillingMethod, BillingMethodQueryResponse) Implements IReturn(Of QueryResponse(Of BillingMethodQueryResponse)) ''' '''If you want to only get billing methods that are valid for a specific country ''' Public Overridable Property CountryId As String End Class 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 End Namespace End Namespace