' Options:
'Date: 2024-12-27 16:01: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: RevokeAllOrders.*
'''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 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.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 request to revoke all orders.
'''
Public Partial Class RevokeAllOrders
Inherits RevokeAllOrdersBase
Implements IReturn(Of OrderQueryResponse)
'''
'''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 base service to revoke all orders.
'''
Public Partial Class RevokeAllOrdersBase
Inherits PaginationBase
Implements IDelete
'''
'''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 customers.
'''
Public Partial Class OrderQueryResponse
Inherits QueryResponse(Of Order)
Public Sub New()
Results = New List(Of Order)
Meta = New Dictionary(Of String, String)
End Sub
Public Overridable Property Offset As Integer
Public Overridable Property Total As Integer
Public Overridable Property Results As List(Of Order)
Public Overridable Property Meta As Dictionary(Of String, String)
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
End Namespace