' Options: 'Date: 2024-11-21 13:50:34 'Version: 8.23 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.bokamera.se ' '''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: CreateRebateCodeTransaction.* '''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.Globalization Imports ServiceStack.Data Imports System.IO Imports BokaMera.API.ServiceModel.Dtos Imports BokaMera.API.ServiceModel.Enums Namespace Global Namespace BokaMera.API.ServiceModel.Dtos Public Partial Class CreateRebateCodeTransaction Implements IReturn(Of RebateCodeTransactionResponse) ''' ''' ''' Public Overridable Property CompanyId As Nullable(Of Guid) ''' '''Rebate code id to which you wish to add transaction ''' Public Overridable Property RebateCodeId As Integer Public Overridable Property Amount As Double Public Overridable Property Usage As Integer Public Overridable Property BookingId As Nullable(Of Integer) ''' '''If you want to Increase = 0 or Decrease = 1 the value ''' Public Overridable Property ChangeType As AmountChangeType End Class Public Partial Class RebateCodeCustomerResponse Public Overridable Property Id As Guid Public Overridable Property Firstname As String Public Overridable Property Lastname As String Public Overridable Property Email As String Public Overridable Property Phone As String Public Overridable Property ImageUrl As String End Class Public Partial Class RebateCodeServiceResponse Public Overridable Property Id As Integer Public Overridable Property Name As String Public Overridable Property Description As String Public Overridable Property Active As Boolean End Class Public Partial Class RebateCodeTransactionQueryResponse Public Overridable Property Id As Integer Public Overridable Property CompanyId As Guid Public Overridable Property Note As String Public Overridable Property RebateCodeId As Integer Public Overridable Property RebateCodeSign As String Public Overridable Property RebateCodeTypeId As Nullable(Of Integer) Public Overridable Property RebateCodeTypeName As String Public Overridable Property Amount As Double Public Overridable Property BookingId As Nullable(Of Integer) Public Overridable Property UpdatedDate As Date Public Overridable Property CreatedDate As Date Public Overridable Property Service As RebateCodeServiceResponse Public Overridable Property Customer As RebateCodeCustomerResponse Public Overridable Property PriceSign As String End Class Public Partial Class RebateCodeTransactionResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property RebateCodeTransactionItem As RebateCodeTransactionQueryResponse End Class End Namespace Namespace BokaMera.API.ServiceModel.Enums Public Enum AmountChangeType Increase Decrease End Enum End Namespace End Namespace