# frozen_string_literal: true # encoding: utf-8 # Options: =begin Date: 2026-12-06 12:40:57 Version: 10.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-agency-orch-mb-dhc.rapp-customers.co.uk #MakePartial: True #MakeVirtual: True #MakeInternal: False #MakeDataContractsExtensible: False #AddReturnMarker: True #AddDescriptionAsComments: True #AddDataContractAttributes: False #AddIndexesToDataMembers: False #AddGeneratedCodeAttributes: False #AddResponseStatus: False #AddImplicitVersion: #InitializeCollections: False #ExportValueTypes: False IncludeTypes: GetBackOrderDetailRequest.* #ExcludeTypes: #AddNamespaces: #AddDefaultXmlNamespace: http://schemas.servicestack.net/types =end require 'json' require 'servicestack' class BackOrderResolveDetail include ServiceStack::DTO # @return [String] attr_accessor :guid # @return [String] attr_accessor :reference # @return [String] attr_accessor :agent # @return [String] attr_accessor :vin # @return [String] attr_accessor :description # @return [String] attr_accessor :image_url # @return [String] attr_accessor :outright_purchase_corporation # @return [String] attr_accessor :net_price # @return [String] attr_accessor :otr_price # @return [String] attr_accessor :actual_price # @return [String] attr_accessor :commission_number # @return [String] attr_accessor :body_style # @return [String] attr_accessor :line # @return [String] attr_accessor :engine # @return [String] attr_accessor :transmission # @return [String] attr_accessor :fuel # @return [String] attr_accessor :colour # @return [String] attr_accessor :upholstery # @return [String] attr_accessor :package # @return [String] attr_accessor :full_model_year_code # @return [String] attr_accessor :port_arrival_date def self.properties { guid: { name: 'guid' }, reference: { name: 'reference' }, agent: { name: 'agent' }, vin: { name: 'vin' }, description: { name: 'description' }, image_url: { name: 'imageUrl' }, outright_purchase_corporation: { name: 'outrightPurchaseCorporation' }, net_price: { name: 'netPrice' }, otr_price: { name: 'otrPrice' }, actual_price: { name: 'actualPrice' }, commission_number: { name: 'commissionNumber' }, body_style: { name: 'bodyStyle' }, line: { name: 'line' }, engine: { name: 'engine' }, transmission: { name: 'transmission' }, fuel: { name: 'fuel' }, colour: { name: 'colour' }, upholstery: { name: 'upholstery' }, package: { name: 'package' }, full_model_year_code: { name: 'fullModelYearCode' }, port_arrival_date: { name: 'portArrivalDate' }, } end end class GetBackOrderDetailResponse include ServiceStack::DTO # @return [BackOrderResolveDetail] attr_accessor :back_order def self.properties { back_order: { name: 'backOrder', type: BackOrderResolveDetail }, } end end # @Route("/v1/backorder/detail/{BackOrderGuid}", "GET") class GetBackOrderDetailRequest include ServiceStack::DTO # @return [String] attr_accessor :back_order_guid def self.properties { back_order_guid: { name: 'backOrderGuid' }, } end def response_type() = GetBackOrderDetailResponse def get_type_name() = 'GetBackOrderDetailRequest' def get_method() = 'GET' end