/* Options:
Date: 2025-11-04 03:12:43
Version: 8.80
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: False
//ExportValueTypes: False
IncludeTypes: UpdateServicePricesMapping.*
//ExcludeTypes: 
//AddNamespaces: 
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Globalization;
using ServiceStack.Data;
using System.Net;
using System.Net.Http.Headers;
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: StripeArticle = 1, EAccountingArticle = 2
        ///
        [ApiMember(Description="The Reference Type: StripeArticle = 1, EAccountingArticle = 2")]
        public virtual string ReferenceType { get; set; }
        ///
        ///The external reference; Values for EAccountingArticle, StripeArticle
        ///
        [ApiMember(Description="The external reference; Values for EAccountingArticle, StripeArticle")]
        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
    {
        ///
        ///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; }
    }
}