' Options: 'Date: 2024-12-21 18:27:35 '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: RetrieveOrder.* '''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.Requests Imports PwC.Metering.Core.Domain.Concretes.Models Imports PwC.Metering.Core.Services.Contracts.Responses Imports PwC.Metering.Core.Domain.Concretes.Interfaces 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 commission to consume services. ''' Public Partial Class Order Implements IHasName ''' '''The unique identifier of the order. ''' Public Overridable Property Id As Integer ''' '''The unique identifier of the product, for which the order is made. ''' Public Overridable Property ProductId As Integer ''' '''The unique identifier of the user account, who placed the order. ''' Public Overridable Property AccountId As Integer ''' '''A name to identify the order. ''' Public Overridable Property Name As String ''' '''The name of the service, for which the order was made. ''' Public Overridable Property ServiceName As String ''' '''The time stamp at which the order was initiated. ''' Public Overridable Property RequestTimestamp As Nullable(Of Date) ''' '''The time stamp at which the order was completed. ''' Public Overridable Property ResponseTimestamp As Nullable(Of Date) ''' '''The URI from which the order was initiated. ''' Public Overridable Property RequestUri As String ''' '''The HTTP method of the order request. ''' Public Overridable Property RequestHttpMethod As String ''' '''The duration of the order request. ''' Public Overridable Property RequestDuration As Nullable(Of TimeSpan) ''' '''The HTTP status code of the order request. ''' Public Overridable Property ResponseStatusCode As HttpStatusCode ''' '''The IP address of client, who placed the order. ''' Public Overridable Property ClientIPAddress As String ''' '''The unit of measurement for the order. ''' Public Overridable Property UnitOfMeasurement As String ''' '''The type of process, for which the order is charged. ''' Public Overridable Property ProcessType As String ''' '''The type of data, for which the order is charged. ''' Public Overridable Property DataType As String ''' '''The name of the data, for which the order is charged. ''' Public Overridable Property DataName As String ''' '''The date of creation of the order. ''' Public Overridable Property CreationDate As Date ''' '''The final date to retain the order in the records. After this date, the order is expunged from the records. ''' Public Overridable Property ExpiryDate As Nullable(Of Date) ''' '''Indicates whether the order is simulated for test purposes. True if the order is simulated for test purposes; otherwise it is a false order for production purposes. ''' Public Overridable Property IsTest As Boolean End Class End Namespace Namespace PwC.Metering.Core.Services.Contracts.Requests ''' '''Represents a service request to retrieve an order. ''' Public Partial Class RetrieveOrder Inherits RetrieveOrderBase Implements IReturn(Of OrderResponse) ''' '''The unique identifier of the order. ''' Public Overridable Property Id As Integer End Class ''' '''Specifies a service request to retrieve an order. ''' Public Partial Class RetrieveOrderBase Implements IGet ''' '''The unique identifier of the order. ''' Public Overridable Property Id As Integer End Class End Namespace Namespace PwC.Metering.Core.Services.Contracts.Responses ''' '''Represents a service response that encapsulates an order data. ''' Public Partial Class OrderResponse Inherits ServiceResponseBase ''' '''The order data of the response. ''' Public Overridable Property Order As Order ''' '''Data structure that holds error information from a service operation. ''' Public Overridable Property ResponseStatus As ResponseStatus End Class ''' '''Specifies a base service response class that contains a structured error information. ''' Public Partial Class ServiceResponseBase ''' '''Data structure that holds error information from a service operation. ''' Public Overridable Property ResponseStatus As ResponseStatus End Class End Namespace End Namespace