/* Options: Date: 2025-01-18 08:00:24 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CreateStripeWebhook.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/payment/stripe/v1/webhook", "POST")] public partial class CreateStripeWebhook : IReturn, ICompany { public CreateStripeWebhook() { Events = new List{}; } /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")] public virtual Guid? CompanyId { get; set; } /// ///Events (webhooks) that are accepted by stripe. /// [ApiMember(Description="Events (webhooks) that are accepted by stripe.")] public virtual List Events { get; set; } /// ///Url that stripe should send hook to. /// [ApiMember(Description="Url that stripe should send hook to.")] public virtual string Url { get; set; } } public partial class StripeWebhookResponse { public StripeWebhookResponse() { Events = new List{}; } public virtual string Id { get; set; } public virtual List Events { get; set; } public virtual string Url { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }