(* Options: Date: 2024-11-21 12:07:08 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: PaysonV2CreateCheckout.* //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 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 PaysonV2CreateCheckout() = interface IReturn /// ///The company id. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///The reference id. (Could be booking, could be rebate code etc.) /// [] member val BookingId:String = null with get,set /// ///The reference id. (Could be booking, could be 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 /// ///Country code for checkout /// [] member val CountryCode: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