/* Options: Date: 2024-11-21 11:54:28 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EAccountingUpdatePricesMapping.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/eaccounting/article/mappings", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") open class EAccountingUpdatePricesMapping : IReturn, ICompany { var ServicePriceMappings:ArrayList = ArrayList() /** * Company to show services for */ @ApiMember(Description="Company to show services for") var CompanyId:UUID? = null companion object { private val responseType = ServicePriceMappingResponse::class.java } override fun getResponseType(): Any? = EAccountingUpdatePricesMapping.responseType } open class ServicePriceMappingResponse { /** * The company id */ @ApiMember(Description="The company id") var CompanyId:UUID? = null var Id:UUID? = null /** * The price id */ @ApiMember(Description="The price id") var PriceId:Int? = null /** * The external reference */ @ApiMember(Description="The external reference") var ExternalReference:String? = null /** * The Reference Type */ @ApiMember(Description="The Reference Type") var ReferenceType:String? = null } open interface ICompany { var CompanyId:UUID? } open class ServicePriceMapping { /** * The id */ @ApiMember(Description="The id") var Id:UUID? = null /** * The price id */ @ApiMember(Description="The price id") var PriceId:Int? = null /** * The Reference Type */ @ApiMember(Description="The Reference Type") var ReferenceType:String? = null /** * The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice */ @ApiMember(Description="The external reference; Values for e-accounting; EAccountingCustomerId, EAccountingArticle, EAccountingInvoice, EAccountingDraftInvoice") var ExternalReference:String? = null }