(* Options: Date: 2024-11-21 12:18:37 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: QvicklyV1CreateCheckout.* //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 [] type ICompany = abstract CompanyId:Nullable with get,set type PaymentOrigin = | HomePage = 0 | Embedded = 1 | Admin = 2 | Apps = 3 | HomePageNew = 4 [] type QvicklyCheckoutQueryResponse() = /// ///The checkout id /// [] member val Number:Int32 = new Int32() 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 [] [] type QvicklyV1CreateCheckout() = interface IReturn /// ///The company id. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///An internal reference id (Could be booking, rebate code etc.) /// [] member val BookingId:String = null with get,set /// ///An internal reference id (Could be booking, rebate code etc.) /// [] member val InternalReferenceId:String = null with get,set /// ///Optional to set the checkout url. This url will be redirected to if payment is interupted for some reason. /// [] member val CheckoutUrl:Uri = null with get,set /// ///Optional to set your own confirmation url after payment completed. /// [] member val ConfirmationUrl:Uri = null with get,set /// ///The payment origin id. HomePage = 0, Embedded = 1, Admin = 2, Apps = 3 /// [] member val PaymentOrigin:PaymentOrigin = new PaymentOrigin() with get,set /// ///If you want to have another language (sv, fi, dk, no, en) than the default language in system settings, specify it here. Leave empty if default language should be used. /// [] member val Language:String = null with get,set /// ///Determins if it's a test call /// [] member val TestMode:Boolean = new Boolean() with get,set /// ///Articles (Could be Service, rebate code types, etc.. /// [] member val Articles:ArticleToCreate[] = [||] with get,set