' Options:
'Date: 2024-11-26 03:41:36
'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: UpdateProductAsync.*
'''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.Domain.Concretes.Models
Imports PwC.Metering.Core.Services.Contracts.Requests
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
'''
'''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.Requests
'''
'''Represents a service request to update product data in an asynchronous operation.
'''
Public Partial Class UpdateProductAsync
Inherits UpdateProductBase
Implements IReturn(Of ProductResponse)
Public Sub New()
Tags = New List(Of String)
End Sub
'''
'''The unique identifier of the product.
'''
Public Overridable Property Id As Integer
'''
'''The name of the product.
'''
Public Overridable Property Name As String
'''
'''The description of the product.
'''
Public Overridable Property Description As String
'''
'''The version of the product.
'''
Public Overridable Property Version As String
'''
'''Tags associated with the product.
'''
Public Overridable Property Tags As List(Of String)
End Class
'''
'''Specifies a service request to update product data.
'''
Public Partial Class UpdateProductBase
Implements IPut
Public Sub New()
Tags = New List(Of String)
End Sub
'''
'''The unique identifier of the product.
'''
Public Overridable Property Id As Integer
'''
'''The name of the product.
'''
Public Overridable Property Name As String
'''
'''The description of the product.
'''
Public Overridable Property Description As String
'''
'''The version of the product.
'''
Public Overridable Property Version 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.Responses
'''
'''Represents a service response that encapsulates product data.
'''
Public Partial Class ProductResponse
Inherits ServiceResponseBase
Public Sub New()
Orders = New List(Of Order)
End Sub
'''
'''The product data of the response.
'''
Public Overridable Property Product As Product
'''
'''The list of orders associated with the encapsulated product.
'''
Public Overridable Property Orders As List(Of 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