/* Options: Date: 2024-07-03 12:30:45 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: GenerateRegisterDibsPaymentCardToken.* //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.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/token/GenerateRegisterDibsPaymentCardToken", "POST")] [ValidateRequest("IsAuthenticated")] public partial class GenerateRegisterDibsPaymentCardToken : IReturn, ICompany { /// ///Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used /// [ApiMember(Description="Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used", ParameterType="query")] public virtual Guid? CompanyId { get; set; } } public partial class TokenResponse { /// ///The token indentifier /// [ApiMember(Description="The token indentifier")] public virtual string TokenIdentifier { get; set; } public virtual int Type { get; set; } /// ///The unique token /// [ApiMember(Description="The unique token", IsRequired=true)] public virtual string UniqueToken { get; set; } public virtual DateTime ExpirationDate { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }