/* Options: Date: 2025-01-18 07:54:56 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateStripeWebhookEvents.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/payment/stripe/v1/webhookevent", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") public static class UpdateStripeWebhookEvents implements IReturn, ICompany { /** * 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 UUID CompanyId = null; /** * Events (webhooks) that are accepted by stripe. */ @ApiMember(Description="Events (webhooks) that are accepted by stripe.") public ArrayList Events = null; /** * Webhook Id to update events */ @ApiMember(Description="Webhook Id to update events") public String WebhookId = null; public UUID getCompanyId() { return CompanyId; } public UpdateStripeWebhookEvents setCompanyId(UUID value) { this.CompanyId = value; return this; } public ArrayList getEvents() { return Events; } public UpdateStripeWebhookEvents setEvents(ArrayList value) { this.Events = value; return this; } public String getWebhookId() { return WebhookId; } public UpdateStripeWebhookEvents setWebhookId(String value) { this.WebhookId = value; return this; } private static Object responseType = StripeWebhooksResponse.class; public Object getResponseType() { return responseType; } } public static class StripeWebhooksResponse { public ArrayList StripeWebhooks = null; public ArrayList getStripeWebhooks() { return StripeWebhooks; } public StripeWebhooksResponse setStripeWebhooks(ArrayList value) { this.StripeWebhooks = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class StripeWebhookResponse { public String Id = null; public ArrayList Events = null; public String Url = null; public String getId() { return Id; } public StripeWebhookResponse setId(String value) { this.Id = value; return this; } public ArrayList getEvents() { return Events; } public StripeWebhookResponse setEvents(ArrayList value) { this.Events = value; return this; } public String getUrl() { return Url; } public StripeWebhookResponse setUrl(String value) { this.Url = value; return this; } } }