' Options: 'Date: 2025-05-10 02:58:40 'Version: 8.40 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://active-ewebservice.biz/aeservices30/api ' '''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: GetPOSTotalsRequest.* '''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 AIM.WebService Imports AIM Namespace Global Namespace AIM Public Partial Class ExceptionInfo Public Overridable Property Barcode As String Public Overridable Property Description As String Public Overridable Property Base64Image As String Public Overridable Property Category As Integer Public Overridable Property SubCategory As Nullable(Of Integer) End Class Public Interface IScanItem Property SkuPk As Nullable(Of Long) Property SasPk As Nullable(Of Long) Property Sku As String Property Serial As String Property Quantity As Decimal Property ExceptionInfo As ExceptionInfo End Interface Public Partial Class PosLineItem Implements IScanItem Public Overridable Property SkuPk As Nullable(Of Long) Public Overridable Property SasPk As Nullable(Of Long) Public Overridable Property Sku As String Public Overridable Property Serial As String Public Overridable Property Quantity As Decimal Public Overridable Property ExceptionInfo As ExceptionInfo Public Overridable Property Discount As Nullable(Of Decimal) Public Overridable Property NicsCat As Nullable(Of Integer) Public Overridable Property NicsSub As Nullable(Of Integer) Public Overridable Property PriceOverride As Nullable(Of Decimal) Public Overridable Property AllowPriceOverrideToIgnoreMinPrice As Boolean Public Overridable Property Notes As String End Class End Namespace Namespace AIM.WebService Public Partial Class BaseRequest ''' '''This is your AIM API Key provided by Tri-Tech ''' Public Overridable Property ApiKey As String Public Overridable Property OAuthToken As String End Class Public Partial Class BaseResponse ''' ''' ''' Public Overridable Property Status As BaseResponseResult End Class Public Partial Class BaseSecureRequest Inherits BaseRequest ''' ''' ''' Public Overridable Property Token As String ''' ''' ''' Public Overridable Property DeviceId As String ''' ''' ''' Public Overridable Property AppId As String End Class ''' '''In development, not yet for public use. ''' Public Partial Class GetPOSTotalsRequest Inherits BaseSecureRequest Implements IReturn(Of GetPOSTotalsResponse) Public Sub New() Items = New List(Of PosLineItem) End Sub Public Overridable Property Acct As Nullable(Of Integer) Public Overridable Property LocId As Nullable(Of Long) Public Overridable Property TaxId As Nullable(Of Long) Public Overridable Property Items As List(Of PosLineItem) ''' '''MANUAL, BLANKET_PERCENT, BLANKET_AMOUNT, BACK_INTO_TOTAL, or BACK_INTO_TOTAL_WITH_TAX. Defaults to Manual. No line item discounts can be set unless this is MANUAL. ''' Public Overridable Property DiscountMode As String Public Overridable Property DiscountDetail As Nullable(Of Decimal) End Class Public Partial Class GetPOSTotalsResponse Inherits BaseResponse Public Sub New() Items = New List(Of PosResponseItem) End Sub Public Overridable Property SubTotal As Decimal Public Overridable Property TaxTotal As Decimal Public Overridable Property Total As Decimal Public Overridable Property Items As List(Of PosResponseItem) End Class Public Partial Class PosResponseItem Inherits PosLineItem Public Overridable Property PriceEach As Decimal Public Overridable Property Price As Decimal Public Overridable Property Discountable As Boolean Public Overridable Property ErrorMessage As String End Class End Namespace End Namespace