/* Options: Date: 2025-04-09 13:13:47 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateStripeWebhookEvents.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/payment/stripe/v1/webhookevent", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") open class UpdateStripeWebhookEvents : 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.") var CompanyId:UUID? = null /** * Events (webhooks) that are accepted by stripe. */ @ApiMember(Description="Events (webhooks) that are accepted by stripe.") var Events:ArrayList = ArrayList() /** * Webhook Id to update events */ @ApiMember(Description="Webhook Id to update events") var WebhookId:String? = null companion object { private val responseType = StripeWebhooksResponse::class.java } override fun getResponseType(): Any? = UpdateStripeWebhookEvents.responseType } open class StripeWebhooksResponse { var StripeWebhooks:ArrayList = ArrayList() } open interface ICompany { var CompanyId:UUID? } open class StripeWebhookResponse { var Id:String? = null var Events:ArrayList = ArrayList() var Url:String? = null }