/* Options: Date: 2025-09-13 21:52:29 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetPricesAfterRebateCode.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/rebatecodes/prices", Verbs="POST") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class GetPricesAfterRebateCode : IReturn { /** * */ @ApiMember(Description="", IsRequired=true) open var CompanyId:UUID? = null /** * The service you want to get the prices with rebates on */ @ApiMember(Description="The service you want to get the prices with rebates on") open var ServiceId:Int? = null /** * Provide this if you like to the prices with rebate code ids */ @ApiMember(Description="Provide this if you like to the prices with rebate code ids") open var RebateCodeIds:ArrayList? = null /** * Provide this if you like to the prices with rebate code signs instead of ids */ @ApiMember(Description="Provide this if you like to the prices with rebate code signs instead of ids") open var RebateCodeSigns:ArrayList? = null /** * Provide this if you like to calculate the prices with the provided datetime */ @ApiMember(Description="Provide this if you like to calculate the prices with the provided datetime", IsRequired=true) open var DateFrom:Date? = null companion object { private val responseType = RebateCodePriceResponse::class.java } override fun getResponseType(): Any? = GetPricesAfterRebateCode.responseType } open class RebateCodePriceResponse { open var RebateCodePrices:ArrayList? = null open var ResponseStatus:ResponseStatus? = null } open class RebateCodeTypeResponse { open var Id:Int? = null open var Name:String? = null open var Description:String? = null } open class RebateCodePrice { /** * Price Id */ @ApiMember(Description="Price Id") open var PriceId:Int? = null open var PriceText:String? = null open var PriceBeforeRebate:Double? = null open var Price:Double? = null open var VAT:BigDecimal? = null open var AppliedCodes:ArrayList? = null } open class AppliedRebateCodesResponse { open var RebateCodeSign:String? = null open var RebateCodeValue:Int? = null open var RebateCodeType:RebateCodeTypeResponse? = null open var RebateCodeId:Int? = null open var RebateAmount:Double? = null }