/* Options: Date: 2024-11-21 12:46:02 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: QvicklyV1CreateCheckout.* //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 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 QvicklyV1CreateCheckout : IReturn, ICompany { public QvicklyV1CreateCheckout() { Articles = new ArticleToCreate[]{}; } /// ///The company id. /// [ApiMember(Description="The company id.", IsRequired=true)] public virtual Guid? CompanyId { get; set; } /// ///An internal reference id (Could be booking, rebate code etc.) /// [ApiMember(Description="An internal reference id (Could be booking, rebate code etc.)")] public virtual string BookingId { get; set; } /// ///An internal reference id (Could be booking, rebate code etc.) /// [ApiMember(Description="An internal reference id (Could be booking, rebate code etc.)", IsRequired=true)] public virtual string InternalReferenceId { 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; } /// ///Articles (Could be Service, rebate code types, etc.. /// [ApiMember(Description="Articles (Could be Service, rebate code types, etc..", IsRequired=true)] public virtual ArticleToCreate[] Articles { 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; } } }