/* Options: Date: 2026-09-09 11:03:15 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://services.acct.2service.nl //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetPartInfo.* //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="/dealers/part", Verbs="GET") open class GetPartInfo : AuthenticatedRequest(), IReturn { /** * Part number to retrieve info for. */ @ApiMember(Description="Part number to retrieve info for.", IsRequired=true) open var PartNumber:String? = null companion object { private val responseType = PartInfoResponse::class.java } override fun getResponseType(): Any? = GetPartInfo.responseType } open class PartInfoResponse : OperationResult_1() { } open class AuthenticatedRequest { /** * Session token received from successful authentication. */ @ApiMember(Description="Session token received from successful authentication.", IsRequired=true, ParameterType="query") open var SessionToken:String? = null } open class OperationResult_1 : OperationResult() { /** * Result value */ @ApiMember(Description="Result value", ParameterType="model") open var Result:T? = null } open class PartInfoResult { /** * Unique ID for the part. */ @ApiMember(Description="Unique ID for the part.") open var Id:Int? = null /** * Part number. */ @ApiMember(Description="Part number.") open var PartNumber:String? = null /** * Description of the part. */ @ApiMember(Description="Description of the part.") open var Description:String? = null /** * Part manufacturer. */ @ApiMember(Description="Part manufacturer.") open var Manufacturer:String? = null /** * Determines if the part can be ordered. */ @ApiMember(Description="Determines if the part can be ordered.") open var CanBeOrdered:Boolean? = null /** * Textual representation of the status of the part. */ @ApiMember(Description="Textual representation of the status of the part.") open var StatusText:String? = null /** * Available stock to order. */ @ApiMember(Description="Available stock to order.") open var AvailableStockQuantity:Int? = null /** * Average days needed for delivery. */ @ApiMember(Description="Average days needed for delivery.") open var AverageDeliveryInDays:Int? = null /** * Price of a single unit, excluding VAT. */ @ApiMember(Description="Price of a single unit, excluding VAT.") open var UnitPrice:BigDecimal? = null /** * EAN number. */ @ApiMember(Description="EAN number.") open var EanNumber:String? = null /** * Images */ @ApiMember(Description="Images") open var Images:ArrayList? = null /** * Secondary article numbers */ @ApiMember(Description="Secondary article numbers") open var SecondaryArticleNumbers:ArrayList? = null /** * Replacement article numbers */ @ApiMember(Description="Replacement article numbers") open var ReplacementArticleNumbers:ArrayList? = null /** * Stock quantities */ @ApiMember(Description="Stock quantities") open var StockQuantities:ArrayList? = null } open class OperationResult { /** * Specifies if the operation was successful. */ @ApiMember(Description="Specifies if the operation was successful.", ParameterType="model") open var IsSuccessful:Boolean? = null /** * States error message in case of unsuccessful operation. */ @ApiMember(Description="States error message in case of unsuccessful operation.", ParameterType="model") open var ErrorMessage:String? = null } open class PartInfoResultImage { /** * Image number */ @ApiMember(Description="Image number") open var ImageNumber:Int? = null /** * Image URL */ @ApiMember(Description="Image URL") open var ImageUrl:String? = null } open class PartStockQuantity { /** * Location ID */ @ApiMember(Description="Location ID") open var LocationId:Int? = null /** * Location code */ @ApiMember(Description="Location code") open var LocationCode:String? = null /** * Stock quantity in location */ @ApiMember(Description="Stock quantity in location") open var StockQuantity:Int? = null }