/* Options: Date: 2024-12-03 18:39:59 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: SendCheckoutPaymentRequest.* //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 PaysonIntegrationCO2.Models.Enums; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { 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; } } [Route("/payment/payson/v2/checkout/{Id}/sendpaymentrequest", "PUT")] [ValidateRequest("IsAuthenticated")] public partial class SendCheckoutPaymentRequest : 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. The checkout must have status ReadyToShip - 5 /// [ApiMember(Description="The checkout id. The checkout must have status ReadyToShip - 5", IsRequired=true, ParameterType="path")] public virtual Guid Id { 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, } }