(* Options: Date: 2024-11-23 09:04: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: PaymentSettingsQuery.* //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 [] type ICompany = abstract CompanyId:Nullable with get,set [] type AdminPaymentOptionsResponse() = /// ///The payment options id /// [] member val Id:Int32 = new Int32() with get,set /// ///The payment options name /// [] member val Name:String = null with get,set /// ///The payment options description /// [] member val Description:String = null with get,set [] type PaymentProviderOptionsResponse() = /// ///The payment provider id /// [] member val Id:Int32 = new Int32() with get,set /// ///The payment provider name /// [] member val Name:String = null with get,set /// ///The payment provider description /// [] member val Description:String = null with get,set [] type PaymentSettingsQueryResponse() = /// ///The company id /// [] member val CompanyId:Guid = new Guid() with get,set /// ///The payment is enabled /// [] member val Enabled:Boolean = new Boolean() with get,set /// ///If there should be any fee added when customer selected invoice payment method /// [] member val InvoiceFee:Int32 = new Int32() with get,set /// ///If allow credit card payment /// [] member val AllowCreditCardPayment:Boolean = new Boolean() with get,set /// ///If allow invoice payment /// [] member val AllowInvoicePayment:Boolean = new Boolean() with get,set /// ///If allow bank payment /// [] member val AllowBankPayment:Boolean = new Boolean() with get,set /// ///Automatically refund customer on canceled booking /// [] member val RefundOnCancelBooking:Boolean = new Boolean() with get,set /// ///The default option when admin creates a new booking /// [] member val DefaultPaymentOptionId:Nullable = new Nullable() with get,set /// ///What payment provider to use /// [] member val PaymentProviderId:Int32 = new Int32() with get,set /// ///If you want to include the admin payment options to select from /// [] member val AdminPaymentOptions:ResizeArray = new ResizeArray() with get,set /// ///If you want to include the payment provider options to select from /// [] member val PaymentProviderOptions:ResizeArray = new ResizeArray() with get,set /// ///SendPaymentRequestDirectly /// [] member val SendPaymentRequestDirectly:Boolean = new Boolean() with get,set [] [] [] type PaymentSettingsQuery() = interface IReturn /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///If you want to include the admin payment options to select from /// [] member val IncludeAdminPaymentOptions:Boolean = new Boolean() with get,set /// ///If you want to include the payment provider options to select from /// [] member val IncludePaymentProviderOptions:Boolean = new Boolean() with get,set