' Options:
'Date: 2024-11-26 02:21:53
'Version: 8.12
'Tip: To override a DTO option, remove "''" prefix before updating
'BaseUrl: https://taxfiling.staging.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: SearchOrders.*
'''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
'''
'''Represents a specific time interval, within which, an action was carried out.
'''
Public Enum PeriodMode
Today
Yesterday
LastWeek
Last30Days
Last90Days
Last180Days
End Enum
End Namespace
Namespace PwC.Metering.Core.Services.Contracts.Requests
'''
'''Represents a service request from a standard user to search for orders.
'''
Public Partial Class SearchOrders
Inherits SearchOrdersBase
Implements IReturn(Of OrderQueryResponse)
'''
'''The user name of the account.
'''
Public Overridable Property UserName As String
'''
'''The name of the order.
'''
Public Overridable Property Name As String
'''
'''Search by using the name of the order that starts with the specified value.
'''
Public Overridable Property NameStartsWith As String
'''
'''Search by using the name of the order that ends with the specified value.
'''
Public Overridable Property NameEndsWith As String
'''
'''Search by using the name of the order that contains the specified value.
'''
Public Overridable Property NameContains As String
'''
'''Search by using the name of the order that contains the specified value.
'''
Public Overridable Property ServiceName As String
'''
'''Search by using the service name of the order that starts with the specified value.
'''
Public Overridable Property ServiceNameStartsWith As String
'''
'''Search by using the service name of the order that ends with the specified value.
'''
Public Overridable Property ServiceNameEndsWith As String
'''
'''Search by using the service name of the order that contains the specified value.
'''
Public Overridable Property ServiceNameContains As String
'''
'''Search for orders placed before a certain date and time. The specified date is included in the search.
'''
Public Overridable Property Before As Nullable(Of Date)
'''
'''Search for orders placed after a certain date and time. The specified date is included in the search.
'''
Public Overridable Property After As Nullable(Of Date)
'''
'''Search for orders placed within a date and time period. The specified date is the start of the period and it is included in the search.
'''
Public Overridable Property PeriodStartDate As Nullable(Of Date)
'''
'''Search for orders placed within a date and time period. The specified date is the start of the period and it is included in the search.
'''
Public Overridable Property PeriodEndDate As Nullable(Of Date)
'''
'''Search for orders placed within the last 180 days. Today is included in the search.
'''
Public Overridable Property PeriodMode As Nullable(Of PeriodMode)
'''
'''Was the order request successful?
'''
Public Overridable Property OrderRequestSucceeded As Nullable(Of Boolean)
'''
'''The unit of measurement for the order.
'''
Public Overridable Property UnitOfMeasurement As String
'''
'''Search by using the unit of measurement of the order that starts with the specified value.
'''
Public Overridable Property UnitOfMeasurementStartsWith As String
'''
'''Search by using the unit of measurement of the order that ends with the specified value.
'''
Public Overridable Property UnitOfMeasurementEndsWith As String
'''
'''Search by using the unit of measurement of the order that contains the specified value.
'''
Public Overridable Property UnitOfMeasurementContains As String
'''
'''The type of process, for which the order is charged.
'''
Public Overridable Property ProcessType As String
'''
'''Search by using the process type of the order that starts with the specified value.
'''
Public Overridable Property ProcessTypeStartsWith As String
'''
'''Search by using the process type of the order that ends with the specified value.
'''
Public Overridable Property ProcessTypeEndsWith As String
'''
'''Search by using the process type of the order that contains the specified value.
'''
Public Overridable Property ProcessTypeContains As String
'''
'''The type of data, for which the order is charged.
'''
Public Overridable Property DataType As String
'''
'''Search by using the type of data, for which the order is charged that starts with the specified value.
'''
Public Overridable Property DataTypeStartsWith As String
'''
'''Search by using the type of data, for which the order is charged that ends with the specified value.
'''
Public Overridable Property DataTypeEndsWith As String
'''
'''Search by using the type of data, for which the order is charged that contains the specified value.
'''
Public Overridable Property DataTypeContains As String
'''
'''The name of the data, for which the order is charged.
'''
Public Overridable Property DataName As String
'''
'''Search by using the name of data, for which the order is charged that starts with the specified value.
'''
Public Overridable Property DataNameStartsWith As String
'''
'''Search by using the name of data, for which the order is charged that ends with the specified value.
'''
Public Overridable Property DataNameEndsWith As String
'''
'''Search by using the name of data, for which the order is charged that contains the specified value.
'''
Public Overridable Property DataNameContains As String
'''
'''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 request from a standard user to search for orders.
'''
Public Partial Class SearchOrdersBase
Inherits PaginationBase
Implements IGet
'''
'''The user name of the account.
'''
Public Overridable Property UserName As String
'''
'''The name of the order.
'''
Public Overridable Property Name As String
'''
'''Search by using the name of the order that starts with the specified value.
'''
Public Overridable Property NameStartsWith As String
'''
'''Search by using the name of the order that ends with the specified value.
'''
Public Overridable Property NameEndsWith As String
'''
'''Search by using the name of the order that contains the specified value.
'''
Public Overridable Property NameContains As String
'''
'''Search by using the name of the order that contains the specified value.
'''
Public Overridable Property ServiceName As String
'''
'''Search by using the service name of the order that starts with the specified value.
'''
Public Overridable Property ServiceNameStartsWith As String
'''
'''Search by using the service name of the order that ends with the specified value.
'''
Public Overridable Property ServiceNameEndsWith As String
'''
'''Search by using the service name of the order that contains the specified value.
'''
Public Overridable Property ServiceNameContains As String
'''
'''Search for orders placed before a certain date and time. The specified date is included in the search.
'''
Public Overridable Property Before As Nullable(Of Date)
'''
'''Search for orders placed after a certain date and time. The specified date is included in the search.
'''
Public Overridable Property After As Nullable(Of Date)
'''
'''Search for orders placed within a date and time period. The specified date is the start of the period and it is included in the search.
'''
Public Overridable Property PeriodStartDate As Nullable(Of Date)
'''
'''Search for orders placed within a date and time period. The specified date is the start of the period and it is included in the search.
'''
Public Overridable Property PeriodEndDate As Nullable(Of Date)
'''
'''Search for orders placed within the last 180 days. Today is included in the search.
'''
Public Overridable Property PeriodMode As Nullable(Of PeriodMode)
'''
'''Was the order request successful?
'''
Public Overridable Property OrderRequestSucceeded As Nullable(Of Boolean)
'''
'''The unit of measurement for the order.
'''
Public Overridable Property UnitOfMeasurement As String
'''
'''Search by using the unit of measurement of the order that starts with the specified value.
'''
Public Overridable Property UnitOfMeasurementStartsWith As String
'''
'''Search by using the unit of measurement of the order that ends with the specified value.
'''
Public Overridable Property UnitOfMeasurementEndsWith As String
'''
'''Search by using the unit of measurement of the order that contains the specified value.
'''
Public Overridable Property UnitOfMeasurementContains As String
'''
'''The type of process, for which the order is charged.
'''
Public Overridable Property ProcessType As String
'''
'''Search by using the process type of the order that starts with the specified value.
'''
Public Overridable Property ProcessTypeStartsWith As String
'''
'''Search by using the process type of the order that ends with the specified value.
'''
Public Overridable Property ProcessTypeEndsWith As String
'''
'''Search by using the process type of the order that contains the specified value.
'''
Public Overridable Property ProcessTypeContains As String
'''
'''The type of data, for which the order is charged.
'''
Public Overridable Property DataType As String
'''
'''Search by using the type of data, for which the order is charged that starts with the specified value.
'''
Public Overridable Property DataTypeStartsWith As String
'''
'''Search by using the type of data, for which the order is charged that ends with the specified value.
'''
Public Overridable Property DataTypeEndsWith As String
'''
'''Search by using the type of data, for which the order is charged that contains the specified value.
'''
Public Overridable Property DataTypeContains As String
'''
'''The name of the data, for which the order is charged.
'''
Public Overridable Property DataName As String
'''
'''Search by using the name of data, for which the order is charged that starts with the specified value.
'''
Public Overridable Property DataNameStartsWith As String
'''
'''Search by using the name of data, for which the order is charged that ends with the specified value.
'''
Public Overridable Property DataNameEndsWith As String
'''
'''Search by using the name of data, for which the order is charged that contains the specified value.
'''
Public Overridable Property DataNameContains As String
'''
'''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