' Options: 'Date: 2025-05-10 04:47:41 '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: ContractFullDetailsRequest.* '''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 Imports AIM.BL.Core.Global Namespace Global Namespace AIM Public Partial Class PaymentGeneric Public Overridable Property [Date] As Date Public Overridable Property Amount As Decimal Public Overridable Property Ref As String End Class End Namespace Namespace AIM.BL.Core.Global Public Partial Class ContractValuesObject Public Overridable Property Position As Integer Public Overridable Property Display As String Public Overridable Property Value As Decimal 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 CcInfo ''' '''Token returned from processor ''' Public Overridable Property TokenStr As String ''' '''Card Type (VISA, MCARD, AMEX, DSCVR) ''' Public Overridable Property CardType As String ''' '''Last four of the card ''' Public Overridable Property LastFour As String ''' '''Expiration Date of the Card. (MM/YY) ''' Public Overridable Property Expiration As String ''' '''Reason the card is on file. ''' Public Overridable Property ReasonOnFile As String ''' '''ID of the existing Token Record in AIM, if applicable ''' Public Overridable Property TokenPk As Nullable(Of Long) ''' '''Is this the customer's primary card? Defaults to false. ''' Public Overridable Property Primary As Nullable(Of Boolean) End Class Public Partial Class ContractCalculatedFields Public Sub New() RentDueInfo = New List(Of ContractValuesObject) PayoffInfo = New List(Of ContractValuesObject) End Sub Public Overridable Property Terms As Integer Public Overridable Property PayStream As Integer Public Overridable Property FinalPay As Decimal Public Overridable Property AmountDue As Decimal Public Overridable Property Payoff As Decimal Public Overridable Property DiscountedPayoff As Decimal Public Overridable Property RebateFc As Decimal Public Overridable Property TotalLate As Decimal Public Overridable Property PaymentsLate As Decimal Public Overridable Property PaymentsAhead As Integer Public Overridable Property TotalMaintOwed As Decimal Public Overridable Property CurrentPlusNext As Decimal Public Overridable Property PayoffDate As Date Public Overridable Property CreditAmount As Decimal Public Overridable Property PrinLessTax As Decimal Public Overridable Property MaintLessTax As Decimal Public Overridable Property AFeeLessTax As Decimal Public Overridable Property PaymentTax As Decimal Public Overridable Property RentDueInfo As List(Of ContractValuesObject) Public Overridable Property PayoffInfo As List(Of ContractValuesObject) Public Overridable Property Notice As String Public Overridable Property Notice2 As String End Class ''' '''ContractFullDetailsRequires active-e Contracts Service. ''' Public Partial Class ContractFullDetailsRequest Inherits BaseSecureRequest Implements IReturn(Of ContractFullDetailsResponse) Public Overridable Property Acct As Nullable(Of Integer) Public Overridable Property Sub As Nullable(Of Integer) Public Overridable Property ChangedDate As Nullable(Of Date) Public Overridable Property SerialNumber As String ''' '''If sent, additional calculated fields will be returned using this date ''' Public Overridable Property CalculationsDate As Nullable(Of Date) ''' '''The Starting Offset ''' Public Overridable Property StartOffset As Nullable(Of Long) ''' '''The # of records to be returned ''' Public Overridable Property RecordCount As Nullable(Of Long) ''' '''The Contract Ref# to be looked up. If sent, do not send WebRef, Acct, Sub, ChangedDate, SerialNumber, StartOffset, or Recordcount ''' Public Overridable Property AIMRef As String ''' '''The WebRef to be looked up. If sent, do not send AIMRef, Acct, Sub, ChangedDate, SerialNumber, StartOffset, or Recordcount ''' Public Overridable Property WebRef As String End Class Public Partial Class ContractFullDetailsResponse Inherits BaseResponse Public Sub New() Contracts = New List(Of ContractInfo) End Sub Public Overridable Property Contracts As List(Of ContractInfo) Public Overridable Property RemainingRecords As Long End Class Public Partial Class ContractInfo Public Sub New() Inventory = New List(Of ContractInventoryInfo) Payments = New List(Of PaymentGeneric) End Sub Public Overridable Property Rnt_afee As Decimal Public Overridable Property Rnt_alatedbt As Boolean Public Overridable Property Rnt_amtfin As Decimal Public Overridable Property Rnt_aofinchg As Decimal Public Overridable Property Rnt_apaydbt As Boolean Public Overridable Property Rnt_apaytyp As String Public Overridable Property Rnt_atcode As Short Public Overridable Property Rnt_autopayhold As Date Public Overridable Property Rnt_avgbal As Decimal Public Overridable Property Rnt_balance As Decimal Public Overridable Property Rnt_billdays As Short Public Overridable Property Rnt_cdate As Date Public Overridable Property Rnt_colagency As String Public Overridable Property Rnt_colamt As Decimal Public Overridable Property Rnt_coupdate As Date Public Overridable Property Rnt_cramt As Decimal Public Overridable Property Rnt_crmo As Short Public Overridable Property Rnt_currafee As Decimal Public Overridable Property Rnt_currbal As Decimal Public Overridable Property Rnt_currfc As Decimal Public Overridable Property Rnt_currfeetax1 As Decimal Public Overridable Property Rnt_currfeetax2 As Decimal Public Overridable Property Rnt_currlte As Decimal Public Overridable Property Rnt_currma As Decimal Public Overridable Property Rnt_curroth As Decimal Public Overridable Property Rnt_currprn As Decimal Public Overridable Property Rnt_currtax1 As Decimal Public Overridable Property Rnt_currtax2 As Decimal Public Overridable Property Rnt_dayslate As Short Public Overridable Property Rnt_daystlst As Short Public Overridable Property Rnt_deprcode As String Public Overridable Property Rnt_discount As Decimal Public Overridable Property Rnt_downpay As Decimal Public Overridable Property Rnt_dunn As String Public Overridable Property Rnt_edate As Date Public Overridable Property Rnt_fdate As Date Public Overridable Property Rnt_fee As Decimal Public Overridable Property Rnt_finalpay As Decimal Public Overridable Property Rnt_finchg As Decimal Public Overridable Property Rnt_freemos As Short Public Overridable Property Rnt_intdate As Date Public Overridable Property Rnt_intrate As Decimal Public Overridable Property Rnt_irregular As Boolean Public Overridable Property Rnt_itcode As Short Public Overridable Property Rnt_lastpaid As Decimal Public Overridable Property Rnt_latefee As Decimal Public Overridable Property Rnt_lateowed As Decimal Public Overridable Property Rnt_ldate As Date Public Overridable Property Rnt_ltcode As Short Public Overridable Property Rnt_monma As Decimal Public Overridable Property Rnt_mopayreq As Boolean Public Overridable Property Rnt_mtcode As Short Public Overridable Property Rnt_ndate As Date Public Overridable Property Rnt_nextpayamt As Decimal Public Overridable Property Rnt_nextpaynum As Short Public Overridable Property Rnt_notedate As Date Public Overridable Property Rnt_notes As String Public Overridable Property Rnt_exchnotes As String Public Overridable Property Rnt_otherowed As Decimal Public Overridable Property Rnt_payfreq As Short Public Overridable Property Rnt_latefreq As Short Public Overridable Property Rnt_payfreqtype As Short Public Overridable Property Rnt_payment As Decimal Public Overridable Property Rnt_paystrm As Short Public Overridable Property Rnt_pk As Long Public Overridable Property Rnt_prevamt As Decimal Public Overridable Property Rnt_prevmo As Short Public Overridable Property Rnt_price As Decimal Public Overridable Property Rnt_rdate As Date Public Overridable Property Rnt_sdate As Date Public Overridable Property Rnt_student As String Public Overridable Property Rnt_sub As Integer Public Overridable Property Rnt_tax As Decimal Public Overridable Property Rnt_taxrate1 As Decimal Public Overridable Property Rnt_taxrate2 As Decimal Public Overridable Property Rnt_taxrateorig1 As Decimal Public Overridable Property Rnt_taxrateorig2 As Decimal Public Overridable Property Rnt_tcode As Short Public Overridable Property Rnt_term As Short Public Overridable Property Rnt_tmaint As Decimal Public Overridable Property Rnt_tradein As Decimal Public Overridable Property Rnt_typer As String Public Overridable Property Rnt_timestamp As Date Public Overridable Property Acct As Integer Public Overridable Property TaxLocation As String Public Overridable Property DefaultDesc As String Public Overridable Property PayoffDesc As String Public Overridable Property School As String Public Overridable Property District As String Public Overridable Property Ref As String Public Overridable Property AutoPayDeclined As Boolean Public Overridable Property Inventory As List(Of ContractInventoryInfo) Public Overridable Property CardInfo As CcInfo Public Overridable Property ContractCalculatedFields As ContractCalculatedFields Public Overridable Property Payments As List(Of PaymentGeneric) Public Overridable Property Rnt_avacodeprin As String Public Overridable Property Rnt_avacodemaint As String Public Overridable Property Rnt_avacodelate As String Public Overridable Property Rnt_avacodelease As String Public Overridable Property Rnt_avacodefin As String Public Overridable Property Rnt_scheduledreturndate As Date Public Overridable Property Rnt_scheduledreturnoption As String Public Overridable Property Rnt_scheduledreturnnotes As String Public Overridable Property Rnt_scheduledreturnstatus As String End Class Public Partial Class ContractInventoryInfo Public Overridable Property Id As Long Public Overridable Property BeginDate As Date Public Overridable Property Cat As Integer Public Overridable Property Cost As Nullable(Of Decimal) Public Overridable Property Description As String Public Overridable Property Discount As Decimal Public Overridable Property Dunn As String Public Overridable Property EndDate As Date Public Overridable Property InvType As String Public Overridable Property Notes As String Public Overridable Property OurPrice As Decimal Public Overridable Property Qty As Decimal Public Overridable Property ReceiptNotes As String Public Overridable Property Serial As String Public Overridable Property Sub As Integer Public Overridable Property Total As Decimal Public Overridable Property Sku As String Public Overridable Property Mfg As String End Class End Namespace End Namespace