/* Options: Date: 2025-05-05 17:34:26 Version: 8.61 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-agency-orch-mb-dhc.rapp-customers.co.uk //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetVehicleWithOptimalRequest.* //ExcludeTypes: //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.*; public class dtos { @Route(Path="/v1/VehicleWithOptimal", Verbs="Post") public static class GetVehicleWithOptimalRequest implements IReturn { public String VehicleIdentifier = null; public Boolean IncludeAllocatedToBackOrder = null; public String Gssn = null; public Boolean IsOneAdmin = null; public Integer MotabilityPricingId = null; public String getVehicleIdentifier() { return VehicleIdentifier; } public GetVehicleWithOptimalRequest setVehicleIdentifier(String value) { this.VehicleIdentifier = value; return this; } public Boolean isIncludeAllocatedToBackOrder() { return IncludeAllocatedToBackOrder; } public GetVehicleWithOptimalRequest setIncludeAllocatedToBackOrder(Boolean value) { this.IncludeAllocatedToBackOrder = value; return this; } public String getGssn() { return Gssn; } public GetVehicleWithOptimalRequest setGssn(String value) { this.Gssn = value; return this; } public Boolean getIsOneAdmin() { return IsOneAdmin; } public GetVehicleWithOptimalRequest setIsOneAdmin(Boolean value) { this.IsOneAdmin = value; return this; } public Integer getMotabilityPricingId() { return MotabilityPricingId; } public GetVehicleWithOptimalRequest setMotabilityPricingId(Integer value) { this.MotabilityPricingId = value; return this; } private static Object responseType = GetVehicleWithOptimalResponse.class; public Object getResponseType() { return responseType; } } public static class GetVehicleWithOptimalResponse extends GetVehicleResponse { public VehicleDetailDto OptimumVehicle = null; public VehicleDetailDto getOptimumVehicle() { return OptimumVehicle; } public GetVehicleWithOptimalResponse setOptimumVehicle(VehicleDetailDto value) { this.OptimumVehicle = value; return this; } } public static class VehicleDetailDto { public String BodyStyle = null; public String Vin = null; public String Description = null; public String Colour = null; public String ColourCode = null; public String ColourDescription = null; public String ColourGroup = null; public String Model = null; public String CommissionNumber = null; public Integer BrandId = null; public Brand Brand = null; public Engine Engine = null; public String EngineBadge = null; public Media Media = null; public String Line = null; public String UpholsteryCode = null; public String UpholsteryType = null; public String Upholstery = null; public String UpholsteryDescription = null; public ArrayList AvailablePackages = new ArrayList(); public ArrayList Packages = new ArrayList(); public BigDecimal P11D = null; public Date PortArrivalDate = null; public ArrayList Prices = new ArrayList(); public String TransmissionType = null; public String FuelType = null; public String VehicleClass = null; public String ProductRange = null; public String VehicleType = null; public BigDecimal Emission = null; public Boolean IsAvailableOnline = null; public Boolean UnderOffer = null; public Boolean IsExcluded = null; public Boolean IsSellable = null; public Boolean OnHold = null; public BigDecimal ElectricConsumption = null; public BigDecimal ElectricRange = null; public String ImageUrl = null; public String Baumuster = null; public Retailer Retailer = null; public String Bm7NST = null; public BigDecimal OTR = null; public BigDecimal ActualPrice = null; public Boolean IsDisplayStock = null; public Integer DisplayRetailerId = null; public String DisplayRetailer = null; public String DisplayRetailerGssnId = null; public String DisplayRetailerMarketAreaId = null; public Boolean IsSmartDisplayRetailer = null; public Boolean IsSpecialistCar = null; public Integer Age = null; public Boolean Secured = null; public Boolean IsHOBackOrderAccountVehicle = null; public Boolean IsAllocatedToBackOrder = null; public String UsageCode = null; public BigDecimal EmissionCombined = null; public String NormalisedEmissionDirective = null; public Boolean HasMildHybridEquipmentCode = null; public BigDecimal RetailPriceExVat = null; public BigDecimal RetailPrice_IncVAT = null; public BigDecimal RetailPrice_ExVAT = null; public Integer ModelId = null; public String VID = null; public String ProductionDate = null; public String FullModelYearCode = null; public String ChassisNumber = null; public Boolean EligibleForIntegratedServiceCare = null; public String AccountType = null; public VehicleConsumption ConsumptionCombined = null; public VehicleConsumption ConsumptionExtraUrban = null; public VehicleConsumption ConsumptionUrban = null; public VehicleConsumption WltpFuelConsumptionCombined = null; public VehicleConsumption WltpFuelConsumptionExtraHigh = null; public VehicleConsumption WltpFuelConsumptionHigh = null; public VehicleConsumption WltpFuelConsumptionLow = null; public VehicleConsumption WltpFuelConsumptionMedium = null; public ArrayList Equipment = null; public ArrayList EquipmentCategories = null; public VehicleEmissionClass EnergyEfficiencyClass = null; public ArrayList VehicleData = null; public ArrayList IntegratedServiceCareOptions = new ArrayList(); public ArrayList IspVehicleCustomerDescriptions = null; public String getBodyStyle() { return BodyStyle; } public VehicleDetailDto setBodyStyle(String value) { this.BodyStyle = value; return this; } public String getVin() { return Vin; } public VehicleDetailDto setVin(String value) { this.Vin = value; return this; } public String getDescription() { return Description; } public VehicleDetailDto setDescription(String value) { this.Description = value; return this; } public String getColour() { return Colour; } public VehicleDetailDto setColour(String value) { this.Colour = value; return this; } public String getColourCode() { return ColourCode; } public VehicleDetailDto setColourCode(String value) { this.ColourCode = value; return this; } public String getColourDescription() { return ColourDescription; } public VehicleDetailDto setColourDescription(String value) { this.ColourDescription = value; return this; } public String getColourGroup() { return ColourGroup; } public VehicleDetailDto setColourGroup(String value) { this.ColourGroup = value; return this; } public String getModel() { return Model; } public VehicleDetailDto setModel(String value) { this.Model = value; return this; } public String getCommissionNumber() { return CommissionNumber; } public VehicleDetailDto setCommissionNumber(String value) { this.CommissionNumber = value; return this; } public Integer getBrandId() { return BrandId; } public VehicleDetailDto setBrandId(Integer value) { this.BrandId = value; return this; } public Brand getBrand() { return Brand; } public VehicleDetailDto setBrand(Brand value) { this.Brand = value; return this; } public Engine getEngine() { return Engine; } public VehicleDetailDto setEngine(Engine value) { this.Engine = value; return this; } public String getEngineBadge() { return EngineBadge; } public VehicleDetailDto setEngineBadge(String value) { this.EngineBadge = value; return this; } public Media getMedia() { return Media; } public VehicleDetailDto setMedia(Media value) { this.Media = value; return this; } public String getLine() { return Line; } public VehicleDetailDto setLine(String value) { this.Line = value; return this; } public String getUpholsteryCode() { return UpholsteryCode; } public VehicleDetailDto setUpholsteryCode(String value) { this.UpholsteryCode = value; return this; } public String getUpholsteryType() { return UpholsteryType; } public VehicleDetailDto setUpholsteryType(String value) { this.UpholsteryType = value; return this; } public String getUpholstery() { return Upholstery; } public VehicleDetailDto setUpholstery(String value) { this.Upholstery = value; return this; } public String getUpholsteryDescription() { return UpholsteryDescription; } public VehicleDetailDto setUpholsteryDescription(String value) { this.UpholsteryDescription = value; return this; } public ArrayList getAvailablePackages() { return AvailablePackages; } public VehicleDetailDto setAvailablePackages(ArrayList value) { this.AvailablePackages = value; return this; } public ArrayList getPackages() { return Packages; } public VehicleDetailDto setPackages(ArrayList value) { this.Packages = value; return this; } public BigDecimal getP11D() { return P11D; } public VehicleDetailDto setP11D(BigDecimal value) { this.P11D = value; return this; } public Date getPortArrivalDate() { return PortArrivalDate; } public VehicleDetailDto setPortArrivalDate(Date value) { this.PortArrivalDate = value; return this; } public ArrayList getPrices() { return Prices; } public VehicleDetailDto setPrices(ArrayList value) { this.Prices = value; return this; } public String getTransmissionType() { return TransmissionType; } public VehicleDetailDto setTransmissionType(String value) { this.TransmissionType = value; return this; } public String getFuelType() { return FuelType; } public VehicleDetailDto setFuelType(String value) { this.FuelType = value; return this; } public String getVehicleClass() { return VehicleClass; } public VehicleDetailDto setVehicleClass(String value) { this.VehicleClass = value; return this; } public String getProductRange() { return ProductRange; } public VehicleDetailDto setProductRange(String value) { this.ProductRange = value; return this; } public String getVehicleType() { return VehicleType; } public VehicleDetailDto setVehicleType(String value) { this.VehicleType = value; return this; } public BigDecimal getEmission() { return Emission; } public VehicleDetailDto setEmission(BigDecimal value) { this.Emission = value; return this; } public Boolean getIsAvailableOnline() { return IsAvailableOnline; } public VehicleDetailDto setIsAvailableOnline(Boolean value) { this.IsAvailableOnline = value; return this; } public Boolean isUnderOffer() { return UnderOffer; } public VehicleDetailDto setUnderOffer(Boolean value) { this.UnderOffer = value; return this; } public Boolean getIsExcluded() { return IsExcluded; } public VehicleDetailDto setIsExcluded(Boolean value) { this.IsExcluded = value; return this; } public Boolean getIsSellable() { return IsSellable; } public VehicleDetailDto setIsSellable(Boolean value) { this.IsSellable = value; return this; } public Boolean isOnHold() { return OnHold; } public VehicleDetailDto setOnHold(Boolean value) { this.OnHold = value; return this; } public BigDecimal getElectricConsumption() { return ElectricConsumption; } public VehicleDetailDto setElectricConsumption(BigDecimal value) { this.ElectricConsumption = value; return this; } public BigDecimal getElectricRange() { return ElectricRange; } public VehicleDetailDto setElectricRange(BigDecimal value) { this.ElectricRange = value; return this; } public String getImageUrl() { return ImageUrl; } public VehicleDetailDto setImageUrl(String value) { this.ImageUrl = value; return this; } public String getBaumuster() { return Baumuster; } public VehicleDetailDto setBaumuster(String value) { this.Baumuster = value; return this; } public Retailer getRetailer() { return Retailer; } public VehicleDetailDto setRetailer(Retailer value) { this.Retailer = value; return this; } public String getBm7NST() { return Bm7NST; } public VehicleDetailDto setBm7NST(String value) { this.Bm7NST = value; return this; } public BigDecimal getOtr() { return OTR; } public VehicleDetailDto setOtr(BigDecimal value) { this.OTR = value; return this; } public BigDecimal getActualPrice() { return ActualPrice; } public VehicleDetailDto setActualPrice(BigDecimal value) { this.ActualPrice = value; return this; } public Boolean getIsDisplayStock() { return IsDisplayStock; } public VehicleDetailDto setIsDisplayStock(Boolean value) { this.IsDisplayStock = value; return this; } public Integer getDisplayRetailerId() { return DisplayRetailerId; } public VehicleDetailDto setDisplayRetailerId(Integer value) { this.DisplayRetailerId = value; return this; } public String getDisplayRetailer() { return DisplayRetailer; } public VehicleDetailDto setDisplayRetailer(String value) { this.DisplayRetailer = value; return this; } public String getDisplayRetailerGssnId() { return DisplayRetailerGssnId; } public VehicleDetailDto setDisplayRetailerGssnId(String value) { this.DisplayRetailerGssnId = value; return this; } public String getDisplayRetailerMarketAreaId() { return DisplayRetailerMarketAreaId; } public VehicleDetailDto setDisplayRetailerMarketAreaId(String value) { this.DisplayRetailerMarketAreaId = value; return this; } public Boolean getIsSmartDisplayRetailer() { return IsSmartDisplayRetailer; } public VehicleDetailDto setIsSmartDisplayRetailer(Boolean value) { this.IsSmartDisplayRetailer = value; return this; } public Boolean getIsSpecialistCar() { return IsSpecialistCar; } public VehicleDetailDto setIsSpecialistCar(Boolean value) { this.IsSpecialistCar = value; return this; } public Integer getAge() { return Age; } public VehicleDetailDto setAge(Integer value) { this.Age = value; return this; } public Boolean isSecured() { return Secured; } public VehicleDetailDto setSecured(Boolean value) { this.Secured = value; return this; } public Boolean getIsHOBackOrderAccountVehicle() { return IsHOBackOrderAccountVehicle; } public VehicleDetailDto setIsHOBackOrderAccountVehicle(Boolean value) { this.IsHOBackOrderAccountVehicle = value; return this; } public Boolean getIsAllocatedToBackOrder() { return IsAllocatedToBackOrder; } public VehicleDetailDto setIsAllocatedToBackOrder(Boolean value) { this.IsAllocatedToBackOrder = value; return this; } public String getUsageCode() { return UsageCode; } public VehicleDetailDto setUsageCode(String value) { this.UsageCode = value; return this; } public BigDecimal getEmissionCombined() { return EmissionCombined; } public VehicleDetailDto setEmissionCombined(BigDecimal value) { this.EmissionCombined = value; return this; } public String getNormalisedEmissionDirective() { return NormalisedEmissionDirective; } public VehicleDetailDto setNormalisedEmissionDirective(String value) { this.NormalisedEmissionDirective = value; return this; } public Boolean isHasMildHybridEquipmentCode() { return HasMildHybridEquipmentCode; } public VehicleDetailDto setHasMildHybridEquipmentCode(Boolean value) { this.HasMildHybridEquipmentCode = value; return this; } public BigDecimal getRetailPriceExVat() { return RetailPriceExVat; } public VehicleDetailDto setRetailPriceExVat(BigDecimal value) { this.RetailPriceExVat = value; return this; } public BigDecimal getRetailPriceIncVAT() { return RetailPrice_IncVAT; } public VehicleDetailDto setRetailPriceIncVAT(BigDecimal value) { this.RetailPrice_IncVAT = value; return this; } public BigDecimal getRetailPriceExVAT() { return RetailPrice_ExVAT; } public VehicleDetailDto setRetailPriceExVAT(BigDecimal value) { this.RetailPrice_ExVAT = value; return this; } public Integer getModelId() { return ModelId; } public VehicleDetailDto setModelId(Integer value) { this.ModelId = value; return this; } public String getVid() { return VID; } public VehicleDetailDto setVid(String value) { this.VID = value; return this; } public String getProductionDate() { return ProductionDate; } public VehicleDetailDto setProductionDate(String value) { this.ProductionDate = value; return this; } public String getFullModelYearCode() { return FullModelYearCode; } public VehicleDetailDto setFullModelYearCode(String value) { this.FullModelYearCode = value; return this; } public String getChassisNumber() { return ChassisNumber; } public VehicleDetailDto setChassisNumber(String value) { this.ChassisNumber = value; return this; } public Boolean isEligibleForIntegratedServiceCare() { return EligibleForIntegratedServiceCare; } public VehicleDetailDto setEligibleForIntegratedServiceCare(Boolean value) { this.EligibleForIntegratedServiceCare = value; return this; } public String getAccountType() { return AccountType; } public VehicleDetailDto setAccountType(String value) { this.AccountType = value; return this; } public VehicleConsumption getConsumptionCombined() { return ConsumptionCombined; } public VehicleDetailDto setConsumptionCombined(VehicleConsumption value) { this.ConsumptionCombined = value; return this; } public VehicleConsumption getConsumptionExtraUrban() { return ConsumptionExtraUrban; } public VehicleDetailDto setConsumptionExtraUrban(VehicleConsumption value) { this.ConsumptionExtraUrban = value; return this; } public VehicleConsumption getConsumptionUrban() { return ConsumptionUrban; } public VehicleDetailDto setConsumptionUrban(VehicleConsumption value) { this.ConsumptionUrban = value; return this; } public VehicleConsumption getWltpFuelConsumptionCombined() { return WltpFuelConsumptionCombined; } public VehicleDetailDto setWltpFuelConsumptionCombined(VehicleConsumption value) { this.WltpFuelConsumptionCombined = value; return this; } public VehicleConsumption getWltpFuelConsumptionExtraHigh() { return WltpFuelConsumptionExtraHigh; } public VehicleDetailDto setWltpFuelConsumptionExtraHigh(VehicleConsumption value) { this.WltpFuelConsumptionExtraHigh = value; return this; } public VehicleConsumption getWltpFuelConsumptionHigh() { return WltpFuelConsumptionHigh; } public VehicleDetailDto setWltpFuelConsumptionHigh(VehicleConsumption value) { this.WltpFuelConsumptionHigh = value; return this; } public VehicleConsumption getWltpFuelConsumptionLow() { return WltpFuelConsumptionLow; } public VehicleDetailDto setWltpFuelConsumptionLow(VehicleConsumption value) { this.WltpFuelConsumptionLow = value; return this; } public VehicleConsumption getWltpFuelConsumptionMedium() { return WltpFuelConsumptionMedium; } public VehicleDetailDto setWltpFuelConsumptionMedium(VehicleConsumption value) { this.WltpFuelConsumptionMedium = value; return this; } public ArrayList getEquipment() { return Equipment; } public VehicleDetailDto setEquipment(ArrayList value) { this.Equipment = value; return this; } public ArrayList getEquipmentCategories() { return EquipmentCategories; } public VehicleDetailDto setEquipmentCategories(ArrayList value) { this.EquipmentCategories = value; return this; } public VehicleEmissionClass getEnergyEfficiencyClass() { return EnergyEfficiencyClass; } public VehicleDetailDto setEnergyEfficiencyClass(VehicleEmissionClass value) { this.EnergyEfficiencyClass = value; return this; } public ArrayList getVehicleData() { return VehicleData; } public VehicleDetailDto setVehicleData(ArrayList value) { this.VehicleData = value; return this; } public ArrayList getIntegratedServiceCareOptions() { return IntegratedServiceCareOptions; } public VehicleDetailDto setIntegratedServiceCareOptions(ArrayList value) { this.IntegratedServiceCareOptions = value; return this; } public ArrayList getIspVehicleCustomerDescriptions() { return IspVehicleCustomerDescriptions; } public VehicleDetailDto setIspVehicleCustomerDescriptions(ArrayList value) { this.IspVehicleCustomerDescriptions = value; return this; } } public static class Retailer { public Integer Id = null; public String GssnId = null; public String Description = null; public String Street = null; public String City = null; public String Postcode = null; public String GoogleMapPostcode = null; public String Phone = null; public String Fax = null; public String Email = null; public String Website = null; public String RetailerGroupId = null; public String RetailerGroupName = null; public Boolean IsOnline = null; public Boolean IsNewCarRetailer = null; public Boolean IsUsedCarRetailer = null; public Boolean IsCentralRetailer = null; public Boolean ChatEnabled = null; public Boolean TradeInEnabled = null; public Boolean smart = null; public String DisplayPhoneNumberNew = null; public String DisplayPhoneNumberUsed = null; public BigDecimal Latitude = null; public BigDecimal Longitude = null; public String smartDescription = null; public String smartWebsite = null; public String smartPhone = null; public String LegacyId = null; public Boolean Agent = null; public Integer MarketAreaId = null; public String DigitalLoungeParentGssnId = null; public Boolean SendLeadsToDigitalLoungeParent = null; public RetailerOpeningTimes OpeningTimes = null; public Integer getId() { return Id; } public Retailer setId(Integer value) { this.Id = value; return this; } public String getGssnId() { return GssnId; } public Retailer setGssnId(String value) { this.GssnId = value; return this; } public String getDescription() { return Description; } public Retailer setDescription(String value) { this.Description = value; return this; } public String getStreet() { return Street; } public Retailer setStreet(String value) { this.Street = value; return this; } public String getCity() { return City; } public Retailer setCity(String value) { this.City = value; return this; } public String getPostcode() { return Postcode; } public Retailer setPostcode(String value) { this.Postcode = value; return this; } public String getGoogleMapPostcode() { return GoogleMapPostcode; } public Retailer setGoogleMapPostcode(String value) { this.GoogleMapPostcode = value; return this; } public String getPhone() { return Phone; } public Retailer setPhone(String value) { this.Phone = value; return this; } public String getFax() { return Fax; } public Retailer setFax(String value) { this.Fax = value; return this; } public String getEmail() { return Email; } public Retailer setEmail(String value) { this.Email = value; return this; } public String getWebsite() { return Website; } public Retailer setWebsite(String value) { this.Website = value; return this; } public String getRetailerGroupId() { return RetailerGroupId; } public Retailer setRetailerGroupId(String value) { this.RetailerGroupId = value; return this; } public String getRetailerGroupName() { return RetailerGroupName; } public Retailer setRetailerGroupName(String value) { this.RetailerGroupName = value; return this; } public Boolean getIsOnline() { return IsOnline; } public Retailer setIsOnline(Boolean value) { this.IsOnline = value; return this; } public Boolean getIsNewCarRetailer() { return IsNewCarRetailer; } public Retailer setIsNewCarRetailer(Boolean value) { this.IsNewCarRetailer = value; return this; } public Boolean getIsUsedCarRetailer() { return IsUsedCarRetailer; } public Retailer setIsUsedCarRetailer(Boolean value) { this.IsUsedCarRetailer = value; return this; } public Boolean getIsCentralRetailer() { return IsCentralRetailer; } public Retailer setIsCentralRetailer(Boolean value) { this.IsCentralRetailer = value; return this; } public Boolean isChatEnabled() { return ChatEnabled; } public Retailer setChatEnabled(Boolean value) { this.ChatEnabled = value; return this; } public Boolean isTradeInEnabled() { return TradeInEnabled; } public Retailer setTradeInEnabled(Boolean value) { this.TradeInEnabled = value; return this; } public Boolean isSmart() { return smart; } public Retailer setSmart(Boolean value) { this.smart = value; return this; } public String getDisplayPhoneNumberNew() { return DisplayPhoneNumberNew; } public Retailer setDisplayPhoneNumberNew(String value) { this.DisplayPhoneNumberNew = value; return this; } public String getDisplayPhoneNumberUsed() { return DisplayPhoneNumberUsed; } public Retailer setDisplayPhoneNumberUsed(String value) { this.DisplayPhoneNumberUsed = value; return this; } public BigDecimal getLatitude() { return Latitude; } public Retailer setLatitude(BigDecimal value) { this.Latitude = value; return this; } public BigDecimal getLongitude() { return Longitude; } public Retailer setLongitude(BigDecimal value) { this.Longitude = value; return this; } public String getSmartDescription() { return smartDescription; } public Retailer setSmartDescription(String value) { this.smartDescription = value; return this; } public String getSmartWebsite() { return smartWebsite; } public Retailer setSmartWebsite(String value) { this.smartWebsite = value; return this; } public String getSmartPhone() { return smartPhone; } public Retailer setSmartPhone(String value) { this.smartPhone = value; return this; } public String getLegacyId() { return LegacyId; } public Retailer setLegacyId(String value) { this.LegacyId = value; return this; } public Boolean isAgent() { return Agent; } public Retailer setAgent(Boolean value) { this.Agent = value; return this; } public Integer getMarketAreaId() { return MarketAreaId; } public Retailer setMarketAreaId(Integer value) { this.MarketAreaId = value; return this; } public String getDigitalLoungeParentGssnId() { return DigitalLoungeParentGssnId; } public Retailer setDigitalLoungeParentGssnId(String value) { this.DigitalLoungeParentGssnId = value; return this; } public Boolean isSendLeadsToDigitalLoungeParent() { return SendLeadsToDigitalLoungeParent; } public Retailer setSendLeadsToDigitalLoungeParent(Boolean value) { this.SendLeadsToDigitalLoungeParent = value; return this; } public RetailerOpeningTimes getOpeningTimes() { return OpeningTimes; } public Retailer setOpeningTimes(RetailerOpeningTimes value) { this.OpeningTimes = value; return this; } } public static class VehicleConsumption { public Integer Id = null; public BigDecimal Lkm = null; public BigDecimal Mpg = null; public Integer getId() { return Id; } public VehicleConsumption setId(Integer value) { this.Id = value; return this; } public BigDecimal getLkm() { return Lkm; } public VehicleConsumption setLkm(BigDecimal value) { this.Lkm = value; return this; } public BigDecimal getMpg() { return Mpg; } public VehicleConsumption setMpg(BigDecimal value) { this.Mpg = value; return this; } } public static class VehicleEquipmentCategory { public Integer Order = null; public String Code = null; public String Description = null; public ArrayList Equipment = null; public Integer getOrder() { return Order; } public VehicleEquipmentCategory setOrder(Integer value) { this.Order = value; return this; } public String getCode() { return Code; } public VehicleEquipmentCategory setCode(String value) { this.Code = value; return this; } public String getDescription() { return Description; } public VehicleEquipmentCategory setDescription(String value) { this.Description = value; return this; } public ArrayList getEquipment() { return Equipment; } public VehicleEquipmentCategory setEquipment(ArrayList value) { this.Equipment = value; return this; } } public static class VehicleEmissionClass { public String Colour = null; public String Rating = null; public String getColour() { return Colour; } public VehicleEmissionClass setColour(String value) { this.Colour = value; return this; } public String getRating() { return Rating; } public VehicleEmissionClass setRating(String value) { this.Rating = value; return this; } } public static class VehicleAttribute { public String Description = null; public String Value = null; public String getDescription() { return Description; } public VehicleAttribute setDescription(String value) { this.Description = value; return this; } public String getValue() { return Value; } public VehicleAttribute setValue(String value) { this.Value = value; return this; } } public static class VehicleIntegratedServiceCareOption { public String OptionCode = null; public String BM7NST = null; public String FullModelYear = null; public String IntegratedProductType = null; public String CustomerDescription = null; public String OneAgentProductType = null; public String getOptionCode() { return OptionCode; } public VehicleIntegratedServiceCareOption setOptionCode(String value) { this.OptionCode = value; return this; } public String getBM7NST() { return BM7NST; } public VehicleIntegratedServiceCareOption setBM7NST(String value) { this.BM7NST = value; return this; } public String getFullModelYear() { return FullModelYear; } public VehicleIntegratedServiceCareOption setFullModelYear(String value) { this.FullModelYear = value; return this; } public String getIntegratedProductType() { return IntegratedProductType; } public VehicleIntegratedServiceCareOption setIntegratedProductType(String value) { this.IntegratedProductType = value; return this; } public String getCustomerDescription() { return CustomerDescription; } public VehicleIntegratedServiceCareOption setCustomerDescription(String value) { this.CustomerDescription = value; return this; } public String getOneAgentProductType() { return OneAgentProductType; } public VehicleIntegratedServiceCareOption setOneAgentProductType(String value) { this.OneAgentProductType = value; return this; } } public static class Price { public String Id = null; public String Description = null; public BigDecimal Net = null; public BigDecimal VAT = null; public BigDecimal Gross = null; public OfferPriceProductType Product = null; public String getId() { return Id; } public Price setId(String value) { this.Id = value; return this; } public String getDescription() { return Description; } public Price setDescription(String value) { this.Description = value; return this; } public BigDecimal getNet() { return Net; } public Price setNet(BigDecimal value) { this.Net = value; return this; } public BigDecimal getVat() { return VAT; } public Price setVat(BigDecimal value) { this.VAT = value; return this; } public BigDecimal getGross() { return Gross; } public Price setGross(BigDecimal value) { this.Gross = value; return this; } public OfferPriceProductType getProduct() { return Product; } public Price setProduct(OfferPriceProductType value) { this.Product = value; return this; } } public static class Engine { public Integer Id = null; public String Description = null; public Integer BrandId = null; public String Brand = null; public String Badge = null; public Integer getId() { return Id; } public Engine setId(Integer value) { this.Id = value; return this; } public String getDescription() { return Description; } public Engine setDescription(String value) { this.Description = value; return this; } public Integer getBrandId() { return BrandId; } public Engine setBrandId(Integer value) { this.BrandId = value; return this; } public String getBrand() { return Brand; } public Engine setBrand(String value) { this.Brand = value; return this; } public String getBadge() { return Badge; } public Engine setBadge(String value) { this.Badge = value; return this; } } public static class Brand { public Integer Id = null; public String Description = null; public String DisplayName = null; public ArrayList BodyStyles = null; public Integer getId() { return Id; } public Brand setId(Integer value) { this.Id = value; return this; } public String getDescription() { return Description; } public Brand setDescription(String value) { this.Description = value; return this; } public String getDisplayName() { return DisplayName; } public Brand setDisplayName(String value) { this.DisplayName = value; return this; } public ArrayList getBodyStyles() { return BodyStyles; } public Brand setBodyStyles(ArrayList value) { this.BodyStyles = value; return this; } } public static class Retailer { public String Gssn = null; public String Description = null; public Boolean CampaignExcluded = null; public String getGssn() { return Gssn; } public Retailer setGssn(String value) { this.Gssn = value; return this; } public String getDescription() { return Description; } public Retailer setDescription(String value) { this.Description = value; return this; } public Boolean isCampaignExcluded() { return CampaignExcluded; } public Retailer setCampaignExcluded(Boolean value) { this.CampaignExcluded = value; return this; } } public static class BodyStyle { public Integer Id = null; public String Description = null; public ArrayList Models = null; public Integer getId() { return Id; } public BodyStyle setId(Integer value) { this.Id = value; return this; } public String getDescription() { return Description; } public BodyStyle setDescription(String value) { this.Description = value; return this; } public ArrayList getModels() { return Models; } public BodyStyle setModels(ArrayList value) { this.Models = value; return this; } } public static class Model { public Integer Id = null; public String Description = null; public String DisplayName = null; public String ImageUrlSmall = null; public String ImageUrlMedium = null; public String ImageUrlLarge = null; public Boolean Specialist = null; public Integer Priority = null; public Boolean ExcludeFromOnlineShowroomFilters = null; public Integer getId() { return Id; } public Model setId(Integer value) { this.Id = value; return this; } public String getDescription() { return Description; } public Model setDescription(String value) { this.Description = value; return this; } public String getDisplayName() { return DisplayName; } public Model setDisplayName(String value) { this.DisplayName = value; return this; } public String getImageUrlSmall() { return ImageUrlSmall; } public Model setImageUrlSmall(String value) { this.ImageUrlSmall = value; return this; } public String getImageUrlMedium() { return ImageUrlMedium; } public Model setImageUrlMedium(String value) { this.ImageUrlMedium = value; return this; } public String getImageUrlLarge() { return ImageUrlLarge; } public Model setImageUrlLarge(String value) { this.ImageUrlLarge = value; return this; } public Boolean isSpecialist() { return Specialist; } public Model setSpecialist(Boolean value) { this.Specialist = value; return this; } public Integer getPriority() { return Priority; } public Model setPriority(Integer value) { this.Priority = value; return this; } public Boolean isExcludeFromOnlineShowroomFilters() { return ExcludeFromOnlineShowroomFilters; } public Model setExcludeFromOnlineShowroomFilters(Boolean value) { this.ExcludeFromOnlineShowroomFilters = value; return this; } } public static class Engine { public Integer Id = null; public String Badge = null; public Integer getId() { return Id; } public Engine setId(Integer value) { this.Id = value; return this; } public String getBadge() { return Badge; } public Engine setBadge(String value) { this.Badge = value; return this; } } public static class Media { public Boolean NoImage = null; public String MainImageUrl = null; public Boolean isNoImage() { return NoImage; } public Media setNoImage(Boolean value) { this.NoImage = value; return this; } public String getMainImageUrl() { return MainImageUrl; } public Media setMainImageUrl(String value) { this.MainImageUrl = value; return this; } } public static class Equipmentv2 extends Equipment { public Integer Importance = null; public Boolean IsAdditional = null; public Integer getImportance() { return Importance; } public Equipmentv2 setImportance(Integer value) { this.Importance = value; return this; } public Boolean getIsAdditional() { return IsAdditional; } public Equipmentv2 setIsAdditional(Boolean value) { this.IsAdditional = value; return this; } } public static enum OfferPriceProductType { ListPrice, NumberPlateFee, DeliveryCharge, FuelCharge, ManufacturerOffer, PersonalisedMoneyoffer, PersonalisedNonmoneyoffer, PersonalisedNonmoneyofferNeg, Service, ServiceNeg, GovernmentGrant, OutrightPurchaseDiscount, VipOffer, WallboxOffer, WallboxOfferNeg, RoadFundLicence, FirstRegistrationFee, NotFound, AccessoryOffer, AccessoryOfferNeg, MotabilityDiscount; } public static class Equipment { public Integer Id = null; public String Code = null; public String Description = null; public Integer getId() { return Id; } public Equipment setId(Integer value) { this.Id = value; return this; } public String getCode() { return Code; } public Equipment setCode(String value) { this.Code = value; return this; } public String getDescription() { return Description; } public Equipment setDescription(String value) { this.Description = value; return this; } } public static class GetVehicleResponse { public VehicleDetailDto Vehicle = null; public ArrayList Errors = new ArrayList(); public VehicleDetailDto getVehicle() { return Vehicle; } public GetVehicleResponse setVehicle(VehicleDetailDto value) { this.Vehicle = value; return this; } public ArrayList getErrors() { return Errors; } public GetVehicleResponse setErrors(ArrayList value) { this.Errors = value; return this; } } }