/* Options: Date: 2025-04-24 18:53:25 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateStripeWebhook.* //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/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.") var CompanyId:UUID? = null /** * Events (webhooks) that are accepted by stripe. */ @ApiMember(Description="Events (webhooks) that are accepted by stripe.") var Events:ArrayList = ArrayList() /** * Should webhook listen to customer events's */ @ApiMember(Description="Should webhook listen to customer events's") var Connect:Boolean? = null /** * Url that stripe should send hook to. */ @ApiMember(Description="Url that stripe should send hook to.") var Url:String? = null companion object { private val responseType = StripeWebhookResponse::class.java } override fun getResponseType(): Any? = CreateStripeWebhook.responseType } open class StripeWebhookResponse { var Id:String? = null var Events:ArrayList = ArrayList() var Url:String? = null } open interface ICompany { var CompanyId:UUID? }