' Options: 'Date: 2025-07-01 17:14:23 '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: UpdateVossSubscriptions.* '''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 System.Net Imports System.Net.Http.Headers Imports VossIntegration.ApiTools.Model Imports VossIntegration.ApiTools.Enums Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class UpdateVossSubscriptions Public Sub New() DiscountAgreements = New List(Of SubscriptionDiscountAgreementRequestDto) End Sub ''' '''The company id. Subscription will be fetched of this company ''' Public Overridable Property CompanyId As Guid ''' '''Discount agreement data ''' Public Overridable Property DiscountAgreements As List(Of SubscriptionDiscountAgreementRequestDto) ''' ''' Discount agreements change type controls how already occured transactions are treated <br />Retrospective - all future and past not invoiced transactions will be recalculated with new discount agreements <br />Prospective - discounts will apply only for future transactions ''' Public Overridable Property DiscountAgreementsChangeType As DiscountAgreementsChangeTypeEnum ''' '''The company id. Subscription will be fetched of this company ''' Public Overridable Property CompanyOwnerId As Integer End Class End Namespace Namespace VossIntegration.ApiTools.Enums Public Enum PeriodKindEnum FixedTime AlignedToBindingPeriod AlignedToSubscriptionBillingPeriod End Enum End Namespace Namespace VossIntegration.ApiTools.Model Public Partial Class DiscountAgreementTimeLengthRequestDto Public Overridable Property Unit As UnitEnum Public Overridable Property Value As Integer Public Enum UnitEnum Day Month Year End Enum End Class Public Partial Class SubscriptionDiscountAgreementRequestDto Public Overridable Property DiscountAgreementId As Guid Public Overridable Property Period As SubscriptionDiscountPeriodRequestDto End Class Public Partial Class SubscriptionDiscountPeriodRequestDto Public Overridable Property PeriodKind As PeriodKindEnum Public Overridable Property Length As DiscountAgreementTimeLengthRequestDto Public Overridable Property PeriodIterationCount As Nullable(Of Integer) End Class End Namespace End Namespace