' Options: 'Date: 2024-12-03 18:21:31 '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: GetPricesAfterRebateCode.* '''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 ServiceStack.Data Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class AppliedRebateCodesResponse Public Overridable Property RebateCodeSign As String Public Overridable Property RebateCodeValue As Integer Public Overridable Property RebateCodeType As RebateCodeTypeResponse Public Overridable Property RebateCodeId As Integer Public Overridable Property RebateAmount As Double End Class Public Partial Class GetPricesAfterRebateCode Implements IReturn(Of RebateCodePriceResponse) Public Sub New() RebateCodeIds = New List(Of Integer) RebateCodeSigns = New List(Of String) End Sub ''' ''' ''' Public Overridable Property CompanyId As Guid ''' '''The service you want to get the prices with rebates on ''' Public Overridable Property ServiceId As Nullable(Of Integer) ''' '''Provide this if you like to the prices with rebate code ids ''' Public Overridable Property RebateCodeIds As List(Of Integer) ''' '''Provide this if you like to the prices with rebate code signs instead of ids ''' Public Overridable Property RebateCodeSigns As List(Of String) ''' '''Provide this if you like to calculate the prices with the provided datetime ''' Public Overridable Property DateFrom As Date End Class Public Partial Class RebateCodePrice Public Sub New() AppliedCodes = New List(Of AppliedRebateCodesResponse) End Sub ''' '''Price Id ''' Public Overridable Property PriceId As Nullable(Of Integer) Public Overridable Property PriceText As String Public Overridable Property PriceBeforeRebate As Nullable(Of Double) Public Overridable Property Price As Nullable(Of Double) Public Overridable Property VAT As Nullable(Of Decimal) Public Overridable Property AppliedCodes As List(Of AppliedRebateCodesResponse) End Class Public Partial Class RebateCodePriceResponse Public Sub New() RebateCodePrices = New List(Of RebateCodePrice) End Sub Public Overridable Property RebateCodePrices As List(Of RebateCodePrice) Public Overridable Property ResponseStatus As ResponseStatus End Class Public Partial Class RebateCodeTypeResponse Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String End Class End Namespace End Namespace