/* Options: Date: 2025-09-15 14:36:06 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateStripeWebhook.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/payment/stripe/v1/webhook", Verbs="POST") open class CreateStripeWebhook : 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.") override var CompanyId:UUID? = null /** * Events (webhooks) that are accepted by stripe. */ @ApiMember(Description="Events (webhooks) that are accepted by stripe.") open var Events:ArrayList? = null /** * Should webhook listen to customer events's */ @ApiMember(Description="Should webhook listen to customer events's") open var Connect:Boolean? = null /** * Url that stripe should send hook to. */ @ApiMember(Description="Url that stripe should send hook to.") open var Url:String? = null companion object { private val responseType = StripeWebhookResponse::class.java } override fun getResponseType(): Any? = CreateStripeWebhook.responseType } open class StripeWebhookResponse { open var Id:String? = null open var Events:ArrayList? = null open var Url:String? = null } interface ICompany { var CompanyId:UUID? }