/* Options: Date: 2025-12-06 07:01:18 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: GetSubscriptionPlansRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using BackofficeApi; namespace BackofficeApi { [Route("/subscription/get_plans", "GET")] public partial class GetSubscriptionPlansRequest : IReturn, IGet { } public partial class GetSubscriptionPlansResponse { public List SubscriptionPlans { get; set; } = []; } public partial class SubscriptionPlanDto { public long Id { get; set; } public bool CanBeSelectedByClient { get; set; } public string Slug { get; set; } public SubscriptionPlanDetailsUnion SubscriptionPlanDetails { get; set; } } public enum Period { Monthly, Yearly, } public partial class PlanDetailsFreeOnClaim { public int Months { get; set; } } public partial class PlanDetailsFreeUntil { public DateTime StopAt { get; set; } } public partial class PlanDetailsInvoice { public Period Period { get; set; } public double Amount { get; set; } public string? Currency { get; set; } } public partial class PlanDetailsMonthlyStripe { public double Amount { get; set; } public string? Currency { get; set; } public int? FreeStartUpMonths { get; set; } } public partial class SubscriptionPlanDetailsUnion { public PlanDetailsFreeUntil? FreeUntil { get; set; } public PlanDetailsInvoice? Invoice { get; set; } public PlanDetailsMonthlyStripe? MonthlyStripe { get; set; } public PlanDetailsFreeOnClaim? FreeOnClaim { get; set; } } }