(* Options: Date: 2025-04-18 17:29:12 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: StripeV1CreateCheckout.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO open System.Net open System.Net.Http.Headers [] type ICompany = abstract CompanyId:Nullable with get,set [] type StripeCheckoutQueryResponse() = /// ///The checkout session id /// [] member val SessionId:String = null with get,set /// ///The url for checkout module to be placed in a iframe /// [] member val Url:String = null with get,set /// ///The checkout status /// [] member val Status:String = null with get,set /// ///Client secret to be used when initializing Stripe.js embedded checkout. /// [] member val ClientSecret:String = null with get,set /// ///(ID of the Customer) The ID of the customer for this Session. For Checkout Sessions in subscription mode or Checkout Sessions with customer_creation set as always in payment mode, Checkout will create a new customer object based on information provided during the payment flow unless an existing customer was provided when the Session was created. /// [] member val CustomerId:String = null with get,set /// ///The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. Refer to our docs to accept a payment and learn about how client_secret should be handled. /// [] member val PaymentIntentClientSecret:String = null with get,set member val PaymentIntentId:String = null with get,set member val StripeAccount:String = null with get,set [] [] type StripeV1CreateCheckout() = interface IReturn /// ///The company id. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Country code for checkout /// [] member val CountryCode:String = null with get,set /// ///Articles (Could be Service, rebate code types, etc.. /// [] member val Articles:ArticleToCreate[] = [||] with get,set /// ///An internal reference id (Could be booking, rebate code etc.) /// [] member val InternalReferenceId:String = null with get,set /// ///Optional to set your own confirmation url after payment completed. /// [] member val ConfirmationUrl:String = null with get,set /// ///If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is embedded. /// [embedded.")>] member val CancelUrl:String = null with get,set /// ///The UI mode of the Session. Defaults to hosted; One of: embedded, or hosted /// [hosted; One of: embedded, or hosted", IsRequired=true)>] member val UiMode:String = null with get,set