/* Options: Date: 2024-11-21 13:24:27 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: UpdateServicePricesMapping.* //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.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class ServicePriceMapping { /// ///The id /// [ApiMember(Description="The id")] public virtual Guid? Id { get; set; } /// ///The price id /// [ApiMember(Description="The price id")] public virtual int PriceId { get; set; } /// ///The Reference Type /// [ApiMember(Description="The Reference Type")] public virtual string ReferenceType { get; set; } /// ///The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice /// [ApiMember(Description="The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice")] public virtual string ExternalReference { get; set; } } public partial class ServicePriceMappingResponse { /// ///The company id /// [ApiMember(Description="The company id")] public virtual Guid CompanyId { get; set; } public virtual Guid Id { get; set; } /// ///The price id /// [ApiMember(Description="The price id")] public virtual int PriceId { get; set; } /// ///The external reference /// [ApiMember(Description="The external reference")] public virtual string ExternalReference { get; set; } /// ///The Reference Type /// [ApiMember(Description="The Reference Type")] public virtual string ReferenceType { get; set; } } [Route("/services/prices/mappings", "PUT")] [ValidateRequest("IsAuthenticated")] public partial class UpdateServicePricesMapping : IReturn, ICompany { public UpdateServicePricesMapping() { ServicePriceMappings = new List{}; } /// ///Company to show services for /// [ApiMember(Description="Company to show services for")] public virtual Guid? CompanyId { get; set; } public virtual List ServicePriceMappings { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }