' Options: 'Date: 2025-05-10 03:05:28 '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: SubmitPOSTransactionRequest.* '''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 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 ''' '''In development, not yet for public use. ''' Public Partial Class SubmitPOSTransactionRequest Inherits BaseSecureRequest Implements IReturn(Of SubmitPOSTransactionResponse) 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) ''' '''Can be CARD, CARD_DEVICE, CASH, CHARGE, SUSPEND, ONFILE, or OTHER ''' Public Overridable Property TenderType As String ''' '''Only applicable for Tender Type of OTHER. Send the Payment Category # ''' Public Overridable Property OtherTenderCategory As Nullable(Of Integer) Public Overridable Property CardToken As String Public Overridable Property CardExpiration As String Public Overridable Property TokenPk As Nullable(Of Long) Public Overridable Property SaveCard As Boolean Public Overridable Property PONumber As String ''' '''Can be INVOICE, PROPOSAL, APPROVAL, ORDER, or LOANER. Defaults to INVOICE is not sent. ''' Public Overridable Property TransactionMode As String ''' '''Only valid for Approvals and Orders. ''' Public Overridable Property Deposit As Decimal Public Overridable Property Notes As String ''' '''Do Not Send This Parameter ''' Public Overridable Property OnlineContractRef As String Public Overridable Property ShipId As Nullable(Of Long) Public Overridable Property CardTerminalId As String End Class Public Partial Class SubmitPOSTransactionResponse Inherits BaseResponse Public Sub New() ErrorItems = New List(Of PosResponseItem) End Sub Public Overridable Property RefNumber As String Public Overridable Property ErrorItems As List(Of PosResponseItem) End Class End Namespace End Namespace