/* Options: Date: 2024-06-26 09:19:19 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateServicePricesMapping.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/services/prices/mappings", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") open class UpdateServicePricesMapping : IReturn, ICompany { /** * Company to show services for */ @ApiMember(Description="Company to show services for") var CompanyId:UUID? = null var ServicePriceMappings:ArrayList = ArrayList() companion object { private val responseType = ServicePriceMappingResponse::class.java } override fun getResponseType(): Any? = UpdateServicePricesMapping.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 }