' Options: 'Date: 2024-12-27 05:35:13 'Version: 8.12 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://taxfiling.pwc.de ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: SearchProductsAsync.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports System.Net Imports PwC.Metering.Core.Services.Contracts.Helpers Imports PwC.Metering.Core.Services.Contracts.Requests Imports PwC.Metering.Core.Domain.Concretes.Models Imports PwC.Metering.Core.Domain.Concretes.Interfaces Imports PwC.Metering.Core.Services.Contracts.Responses Namespace Global Namespace PwC.Metering.Core.Domain.Concretes.Interfaces ''' ''' Specifies that a data type should have a 'Name' property. ''' Public Interface IHasName ''' '''The 'Name' property. ''' Property Name As String End Interface End Namespace Namespace PwC.Metering.Core.Domain.Concretes.Models ''' '''Represents a product. ''' Public Partial Class Product Implements IHasName Public Sub New() Tags = New List(Of String) End Sub ''' '''The unique identifier of the product. ''' Public Overridable Property Id As Integer ''' '''The position of this instance in a collection of 'Product' instances ''' Public Overridable Property Index As Integer ''' '''The name of the product. ''' Public Overridable Property Name As String ''' '''The version of the product. ''' Public Overridable Property Version As String ''' '''The version of the product. ''' Public Overridable Property Description As String ''' '''Tags associated with the product. ''' Public Overridable Property Tags As List(Of String) End Class End Namespace Namespace PwC.Metering.Core.Services.Contracts.Helpers Public Interface IPaginate Property Skip As Nullable(Of Integer) Property Take As Nullable(Of Integer) End Interface ''' '''The number of query results to skip. ''' Public Partial Class PaginationBase Implements IPaginate ''' '''The number of query results to skip. ''' Public Overridable Property Skip As Nullable(Of Integer) ''' '''The number of query results to include. ''' Public Overridable Property Take As Nullable(Of Integer) End Class End Namespace Namespace PwC.Metering.Core.Services.Contracts.Requests ''' '''Represents a service to search for product data in an asynchronous operation. ''' Public Partial Class SearchProductsAsync Inherits SearchProductsBase Implements IReturn(Of ProductQueryResponse) ''' '''The unique identifier of the account associated with the product. ''' Public Overridable Property ProductId As Nullable(Of Integer) ''' '''The unique identifier of the account associated with the product. ''' Public Overridable Property AccountId As Nullable(Of Integer) ''' '''The name of the product. ''' Public Overridable Property Name As String ''' '''Search by using the name of the product that starts with the specified value. ''' Public Overridable Property NameStartsWith As String ''' '''Search by using the name of the product that ends with the specified value. ''' Public Overridable Property NameEndsWith As String ''' '''Search by using the name of the product that contains the specified value. ''' Public Overridable Property NameContains As String ''' '''The version of the product. ''' Public Overridable Property Version As String ''' '''Search by using the version of the product that starts with the specified value. ''' Public Overridable Property VersionStartsWith As String ''' '''Search by using the version of the product that ends with the specified value. ''' Public Overridable Property VersionEndsWith As String ''' '''Search by using the version of the product that contains the specified value. ''' Public Overridable Property VersionContains As String ''' '''The description of the product. ''' Public Overridable Property Description As String ''' '''Search by using the description of the product that starts with the specified value. ''' Public Overridable Property DescriptionStartsWith As String ''' '''Search by using the description of the product that ends with the specified value. ''' Public Overridable Property DescriptionEndsWith As String ''' '''Search by using the description of the product that contains the specified value. ''' Public Overridable Property DescriptionContains As String ''' '''Should the related orders of the account be included in the retrieved products? ''' Public Overridable Property IncludeOrders As Nullable(Of Boolean) ''' '''Specifies the number of orders to skip per product. Applicable only when 'IncludeOrders' is true. ''' Public Overridable Property SkipOrders As Nullable(Of Integer) ''' '''Specifies the number of orders to include per product. Applicable only when 'IncludeOrders' is true. ''' Public Overridable Property TakeOrders As Nullable(Of Integer) ''' '''The number of query results to skip. ''' Public Overridable Property Skip As Nullable(Of Integer) ''' '''The number of query results to include. ''' Public Overridable Property Take As Nullable(Of Integer) End Class ''' '''Specifies a service to search for products. ''' Public Partial Class SearchProductsBase Inherits PaginationBase Implements IGet ''' '''The unique identifier of the account associated with the product. ''' Public Overridable Property ProductId As Nullable(Of Integer) ''' '''The unique identifier of the account associated with the product. ''' Public Overridable Property AccountId As Nullable(Of Integer) ''' '''The name of the product. ''' Public Overridable Property Name As String ''' '''Search by using the name of the product that starts with the specified value. ''' Public Overridable Property NameStartsWith As String ''' '''Search by using the name of the product that ends with the specified value. ''' Public Overridable Property NameEndsWith As String ''' '''Search by using the name of the product that contains the specified value. ''' Public Overridable Property NameContains As String ''' '''The version of the product. ''' Public Overridable Property Version As String ''' '''Search by using the version of the product that starts with the specified value. ''' Public Overridable Property VersionStartsWith As String ''' '''Search by using the version of the product that ends with the specified value. ''' Public Overridable Property VersionEndsWith As String ''' '''Search by using the version of the product that contains the specified value. ''' Public Overridable Property VersionContains As String ''' '''The description of the product. ''' Public Overridable Property Description As String ''' '''Search by using the description of the product that starts with the specified value. ''' Public Overridable Property DescriptionStartsWith As String ''' '''Search by using the description of the product that ends with the specified value. ''' Public Overridable Property DescriptionEndsWith As String ''' '''Search by using the description of the product that contains the specified value. ''' Public Overridable Property DescriptionContains As String ''' '''Should the related orders of the account be included in the retrieved products? ''' Public Overridable Property IncludeOrders As Nullable(Of Boolean) ''' '''Specifies the number of orders to skip per product. Applicable only when 'IncludeOrders' is true. ''' Public Overridable Property SkipOrders As Nullable(Of Integer) ''' '''Specifies the number of orders to include per product. Applicable only when 'IncludeOrders' is true. ''' Public Overridable Property TakeOrders As Nullable(Of Integer) ''' '''The number of query results to skip. ''' Public Overridable Property Skip As Nullable(Of Integer) ''' '''The number of query results to include. ''' Public Overridable Property Take As Nullable(Of Integer) End Class End Namespace Namespace PwC.Metering.Core.Services.Contracts.Responses ''' '''Represents a query response that contains a structured error information and encapsulates products. ''' Public Partial Class ProductQueryResponse Inherits QueryResponse(Of Product) Public Sub New() OrdersMap = New Dictionary(Of Integer, List(Of Order)) Results = New List(Of Product) Meta = New Dictionary(Of String, String) End Sub ''' '''The dictionary of orders associated with each found product. ''' Public Overridable Property OrdersMap As Dictionary(Of Integer, List(Of Order)) Public Overridable Property Offset As Integer Public Overridable Property Total As Integer Public Overridable Property Results As List(Of Product) Public Overridable Property Meta As Dictionary(Of String, String) Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace End Namespace