/* Options: Date: 2024-07-03 13:19:39 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: QvicklyCheckoutv1CreateCheckout.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using System.IO; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Enums; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class QvicklyCheckoutQueryResponse { /// ///The checkout id /// [ApiMember(Description="The checkout id")] public virtual int Number { get; set; } /// ///The url for checkout module to be placed in a iframe /// [ApiMember(Description="The url for checkout module to be placed in a iframe")] public virtual string Url { get; set; } /// ///The checkout status /// [ApiMember(Description="The checkout status")] public virtual string Status { get; set; } } [Route("/payment/billmate/v1/checkout", "POST")] public partial class QvicklyCheckoutv1CreateCheckout : IReturn, ICompany { /// ///The company id. /// [ApiMember(Description="The company id.", IsRequired=true)] public virtual Guid? CompanyId { get; set; } /// ///The booking id. /// [ApiMember(Description="The booking id.", IsRequired=true)] public virtual int BookingId { get; set; } /// ///Optional to set the checkout url. This url will be redirected to if payment is interupted for some reason. /// [ApiMember(Description="Optional to set the checkout url. This url will be redirected to if payment is interupted for some reason.")] public virtual Uri CheckoutUrl { get; set; } /// ///Optional to set your own confirmation url after payment completed. /// [ApiMember(Description="Optional to set your own confirmation url after payment completed.")] public virtual Uri ConfirmationUrl { get; set; } /// ///The payment origin id. HomePage = 0, Embedded = 1, Admin = 2, Apps = 3 /// [ApiMember(Description="The payment origin id. HomePage = 0, Embedded = 1, Admin = 2, Apps = 3", IsRequired=true)] public virtual PaymentOrigin PaymentOrigin { 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. /// [ApiMember(Description="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.", IsRequired=true)] public virtual string Language { get; set; } /// ///Determins if it's a test call /// [ApiMember(Description="Determins if it's a test call")] public virtual bool TestMode { get; set; } } } namespace BokaMera.API.ServiceModel.Enums { public enum PaymentOrigin { HomePage, Embedded, Admin, Apps, HomePageNew, } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }