(* Options: Date: 2024-07-03 15:16:06 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: PaysonCheckoutv1CreateCheckout.* //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 System.IO [] type ICompany = abstract CompanyId:Nullable with get,set type PaymentOrigin = | HomePage = 0 | Embedded = 1 | Admin = 2 | Apps = 3 | HomePageNew = 4 type Payson2CheckoutStatus = | None = 0 | Created = 1 | FormsFilled = 2 | ReadyToPay = 3 | ProcessingPayment = 4 | ReadyToShip = 5 | Shipped = 6 | PaidToAccount = 7 | Canceled = 8 | Credited = 9 | Expired = 10 | Denied = 11 [] type PaysonCheckoutV2Response() = /// ///The checkout id /// [] member val Id:Guid = new Guid() with get,set /// ///The code snippet to for checkout module /// [] member val Snippet:String = null with get,set /// ///The checkout status /// [] member val Status:Payson2CheckoutStatus = new Payson2CheckoutStatus() with get,set [] [] type PaysonCheckoutv1CreateCheckout() = interface IReturn /// ///The company id. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///The booking id. /// [] member val BookingId:Int32 = new Int32() 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, 4 = HomePageNew /// [] 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:String = null with get,set