' Options: 'Date: 2025-05-10 02:09:12 '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: C2BPostContractRequest.* '''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 Namespace Global Namespace AIM.WebService Public Partial Class Accessory Public Overridable Property Desc As String Public Overridable Property Price As Decimal Public Overridable Property Type As String Public Overridable Property CatNum As Integer Public Overridable Property Sku As String Public Overridable Property Report As Nullable(Of Boolean) End Class 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 ''' '''C2BPostContractRequires active-e Contracts Service. ''' Public Partial Class C2BPostContractRequest Inherits BaseSecureRequest Implements IReturn(Of C2BPostContractResponse) Public Sub New() AccessoryIdList = New List(Of Long) AccessoryList = New List(Of Accessory) FormInputList = New List(Of FormInput) End Sub ''' '''ID of the teacher to associate the contract with. ''' Public Overridable Property TeacherId As Nullable(Of Long) ''' '''Used to associate the contract with a school by school name. ''' Public Overridable Property SchoolName As String ''' '''Used to associate the contract with a school by the AIM School ID ''' Public Overridable Property AIMSchoolId As Nullable(Of Long) ''' '''Used to associate the contract with a location by location code. ''' Public Overridable Property Stloc As String ''' '''ID of the instrument to associate the contract with. ''' Public Overridable Property InstrumentId As Nullable(Of Long) ''' ''' ''' Public Overridable Property Sku As String ''' ''' ''' Public Overridable Property Desc As String ''' '''The ID from the C2BGradeGeneric object ''' Public Overridable Property RateId As Nullable(Of Long) ''' ''' ''' Public Overridable Property Rate As Rate ''' ''' ''' Public Overridable Property AccessoryIdList As List(Of Long) ''' ''' ''' Public Overridable Property AccessoryList As List(Of Accessory) ''' ''' ''' Public Overridable Property FormInputList As List(Of FormInput) ''' ''' ''' Public Overridable Property CcInfo As CcInfo ''' ''' ''' Public Overridable Property CustomerInfo As CustomerInfo ''' ''' ''' Public Overridable Property CusAcct As Nullable(Of Integer) ''' ''' ''' Public Overridable Property Cat As Nullable(Of Integer) ''' ''' ''' Public Overridable Property Sub As Nullable(Of Integer) Public Overridable Property ReturnTopic As Nullable(Of Boolean) Public Overridable Property StatusId As Nullable(Of Long) Public Overridable Property CardTerminalId As String End Class Public Partial Class C2BPostContractResponse Inherits BaseResponse Public Overridable Property PaymentRequired As Boolean Public Overridable Property Topic As String Public Overridable Property WebRef As String Public Overridable Property BaseUrl 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 CustomerInfo ''' '''The WebId of the customer. Optional. ''' Public Overridable Property WebId As Nullable(Of Integer) ''' '''Name of the customer. ''' Public Overridable Property Name As String ''' '''Address line 1 of the customer ''' Public Overridable Property Addr1 As String ''' '''Address line 2 of the customer ''' Public Overridable Property Addr2 As String ''' '''City of the customer ''' Public Overridable Property City As String ''' '''State/Province of the customer ''' Public Overridable Property St As String ''' '''Zip code of the customer ''' Public Overridable Property Zip As String ''' '''Country of the customer ''' Public Overridable Property Country As String ''' '''Phone number of the customer ''' Public Overridable Property Phone As String ''' '''Email address of the customer. Required. ''' Public Overridable Property Email As String End Class Public Partial Class FormInput ''' '''Field Name of the Input Field ''' Public Overridable Property Key As String ''' '''Value of the Input Field. ''' Public Overridable Property Value As String ''' '''Whether or not the field is encryped with the C2B encryption key. ''' Public Overridable Property Encrypted As Boolean End Class Public Partial Class Rate Public Overridable Property PlanCode As String Public Overridable Property Level As Nullable(Of Integer) Public Overridable Property Grade As String Public Overridable Property DownPay As Nullable(Of Decimal) Public Overridable Property MoPay As Nullable(Of Decimal) Public Overridable Property DownMaint As Nullable(Of Decimal) Public Overridable Property MoMaint As Nullable(Of Decimal) Public Overridable Property RdfType As String Public Overridable Property ContractDefaultId As Nullable(Of Long) ''' '''The Number of Months covered by the downpayment ''' Public Overridable Property Months As Nullable(Of Integer) Public Overridable Property DownLease As Nullable(Of Decimal) Public Overridable Property MoLease As Nullable(Of Decimal) End Class End Namespace End Namespace