/* Options: Date: 2024-12-03 18:37:23 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: QvicklyCheckoutIpnCallBack.* //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 ServiceStack.Data; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; using QvicklyIntegration.Models.Payment; namespace BokaMera.API.ServiceModel.Dtos { public partial class CredentialsResponse { public virtual string hash { get; set; } public virtual string id { get; set; } public virtual string version { get; set; } public virtual string client { get; set; } public virtual ServerDataResponse serverdata { get; set; } public virtual string time { get; set; } public virtual string test { get; set; } public virtual string language { get; set; } } public partial class IpnCallBackResponse { public virtual string Message { get; set; } public virtual bool Success { get; set; } } [Route("/payment/billmate/v1/ipncallback", "POST")] public partial class QvicklyCheckoutIpnCallBack : IReturn, ICompany { /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")] public virtual Guid? CompanyId { get; set; } /// ///Internal reference id (Could be booking, could be Article..) /// [ApiMember(Description="Internal reference id (Could be booking, could be Article..)")] public virtual string BookingId { get; set; } /// ///The payment credentials. /// [ApiMember(Description="The payment credentials.")] public virtual CredentialsResponse credentials { get; set; } /// ///The payment ipn callback data. /// [ApiMember(Description="The payment ipn callback data.")] public virtual QvicklyIpnCallbackResponseData data { get; set; } /// ///Article type (Could be Service, rebate code types, etc.. /// [ApiMember(Description="Article type (Could be Service, rebate code types, etc..", IsRequired=true)] public virtual int ArticleTypeId { get; set; } } public partial class ServerDataResponse { public virtual string HTTP_HOST { get; set; } public virtual string HTTP_CONNECTION { get; set; } public virtual string HTTP_CACHE_CONTROL { get; set; } public virtual string HTTP_ACCEPT { get; set; } public virtual string HTTP_USER_AGENT { get; set; } public virtual string HTTP_ACCEPT_ENCODING { get; set; } public virtual string HTTP_ACCEPT_LANGUAGE { get; set; } public virtual string PATH { get; set; } public virtual string SERVER_SOFTWARE { get; set; } public virtual string SERVER_NAME { get; set; } public virtual string SERVER_ADDR { get; set; } public virtual string SERVER_PORT { get; set; } public virtual string REMOTE_ADDR { get; set; } public virtual string REMOTE_PORT { get; set; } public virtual string GATEWAY_INTERFACE { get; set; } public virtual string SERVER_PROTOCOL { get; set; } public virtual string REQUEST_METHOD { get; set; } public virtual string QUERY_STRING { get; set; } public virtual string REQUEST_TIME { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } } namespace QvicklyIntegration.Models.Payment { public partial class QvicklyIpnCallbackResponseData { public virtual string number { get; set; } public virtual string status { get; set; } public virtual string orderid { get; set; } public virtual string url { get; set; } } }