(* Options: Date: 2025-05-10 03:46:11 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: SubmitPOSTransactionRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace AIM open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] [] type BaseRequest() = /// ///This is your AIM API Key provided by Tri-Tech /// [] [] member val ApiKey:String = null with get,set [] [] member val OAuthToken:String = null with get,set [] [] type BaseSecureRequest() = inherit BaseRequest() /// /// /// [] [] member val Token:String = null with get,set /// /// /// [] [] member val DeviceId:String = null with get,set /// /// /// [] [] member val AppId:String = null with get,set [] [] type ExceptionInfo() = [] member val Barcode:String = null with get,set [] member val Description:String = null with get,set [] member val Base64Image:String = null with get,set [] member val Category:Int32 = new Int32() with get,set [] member val SubCategory:Nullable = new Nullable() with get,set [] [] type PosLineItem() = [] member val SkuPk:Nullable = new Nullable() with get,set [] member val SasPk:Nullable = new Nullable() with get,set [] member val Sku:String = null with get,set [] member val Serial:String = null with get,set [] member val Quantity:Decimal = new Decimal() with get,set [] member val ExceptionInfo:ExceptionInfo = null with get,set [] member val Discount:Nullable = new Nullable() with get,set [] member val NicsCat:Nullable = new Nullable() with get,set [] member val NicsSub:Nullable = new Nullable() with get,set [] member val PriceOverride:Nullable = new Nullable() with get,set [] member val AllowPriceOverrideToIgnoreMinPrice:Boolean = new Boolean() with get,set [] member val Notes:String = null with get,set [] [] type PosResponseItem() = inherit PosLineItem() [] member val PriceEach:Decimal = new Decimal() with get,set [] member val Price:Decimal = new Decimal() with get,set [] member val Discountable:Boolean = new Boolean() with get,set [] member val ErrorMessage:String = null with get,set [] type IScanItem = abstract SkuPk:Nullable with get,set abstract SasPk:Nullable with get,set abstract Sku:String with get,set abstract Serial:String with get,set abstract Quantity:Decimal with get,set abstract ExceptionInfo:ExceptionInfo with get,set [] [] type BaseResponse() = /// /// /// [] [] member val Status:BaseResponseResult = null with get,set [] [] type SubmitPOSTransactionResponse() = inherit BaseResponse() [] member val RefNumber:String = null with get,set [] member val ErrorItems:ResizeArray = new ResizeArray() with get,set /// ///In development, not yet for public use. /// [] [] [] type SubmitPOSTransactionRequest() = inherit BaseSecureRequest() interface IReturn [] member val Acct:Nullable = new Nullable() with get,set [] member val LocId:Nullable = new Nullable() with get,set [] member val TaxId:Nullable = new Nullable() with get,set [] member val Items:ResizeArray = new ResizeArray() with get,set /// ///Can be CARD, CARD_DEVICE, CASH, CHARGE, SUSPEND, ONFILE, or OTHER /// [] [] member val TenderType:String = null with get,set /// ///Only applicable for Tender Type of OTHER. Send the Payment Category # /// [] [] member val OtherTenderCategory:Nullable = new Nullable() with get,set [] member val CardToken:String = null with get,set [] member val CardExpiration:String = null with get,set [] member val TokenPk:Nullable = new Nullable() with get,set [] member val SaveCard:Boolean = new Boolean() with get,set [] member val PONumber:String = null with get,set /// ///Can be INVOICE, PROPOSAL, APPROVAL, ORDER, or LOANER. Defaults to INVOICE is not sent. /// [] [] member val TransactionMode:String = null with get,set /// ///Only valid for Approvals and Orders. /// [] [] member val Deposit:Decimal = new Decimal() with get,set [] member val Notes:String = null with get,set /// ///Do Not Send This Parameter /// [] [] member val OnlineContractRef:String = null with get,set [] member val ShipId:Nullable = new Nullable() with get,set [] member val CardTerminalId:String = null with get,set