/* Options: Date: 2024-06-17 01:52:27 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.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: PaysonCheckoutv2GetCheckout.* //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 PaysonIntegrationCO2.Models.Enums; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/payment/payson/v2/checkout/{Id}", "GET")] public partial class PaysonCheckoutv2GetCheckout : 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; } /// ///The checkout id. /// [ApiMember(Description="The checkout id.", IsRequired=true, ParameterType="path")] public virtual Guid Id { get; set; } } public partial class PaysonCheckoutV2Response { /// ///The checkout id /// [ApiMember(Description="The checkout id")] public virtual Guid Id { get; set; } /// ///The code snippet to for checkout module /// [ApiMember(Description="The code snippet to for checkout module")] public virtual string Snippet { get; set; } /// ///The checkout status /// [ApiMember(Description="The checkout status")] public virtual Payson2CheckoutStatus Status { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } } namespace PaysonIntegrationCO2.Models.Enums { public enum Payson2CheckoutStatus { None, Created, FormsFilled, ReadyToPay, ProcessingPayment, ReadyToShip, Shipped, PaidToAccount, Canceled, Credited, Expired, Denied, } }