' Options: 'Date: 2025-12-15 14:27:37 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bookmore.com ' '''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: UpdateVossSubscriptions.* '''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.VossIntegration.ApiTools.Model Imports BokaMera.VossIntegration.ApiTools.Enums Imports BokaMera.API.ServiceModel.Dtos Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class UpdateVossSubscriptions ''' '''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) = New 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 BokaMera.VossIntegration.ApiTools.Enums Public Enum PeriodKindEnum FixedTime AlignedToBindingPeriod AlignedToSubscriptionBillingPeriod End Enum End Namespace Namespace BokaMera.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 Integer? End Class End Namespace End Namespace