(* Options: Date: 2025-05-10 03:06:32 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: C2BPostContractRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace AIM.WebService 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 Accessory() = [] member val Desc:String = null with get,set [] member val Price:Decimal = new Decimal() with get,set [] member val Type:String = null with get,set [] member val CatNum:Int32 = new Int32() with get,set [] member val Sku:String = null with get,set [] member val Report:Nullable = new Nullable() with get,set [] [] type FormInput() = /// ///Field Name of the Input Field /// [] [] member val Key:String = null with get,set /// ///Value of the Input Field. /// [] [] member val Value:String = null with get,set /// ///Whether or not the field is encryped with the C2B encryption key. /// [] [] member val Encrypted:Boolean = new Boolean() with get,set [] [] type Rate() = [] member val PlanCode:String = null with get,set [] member val Level:Nullable = new Nullable() with get,set [] member val Grade:String = null with get,set [] member val DownPay:Nullable = new Nullable() with get,set [] member val MoPay:Nullable = new Nullable() with get,set [] member val DownMaint:Nullable = new Nullable() with get,set [] member val MoMaint:Nullable = new Nullable() with get,set [] member val RdfType:String = null with get,set [] member val ContractDefaultId:Nullable = new Nullable() with get,set /// ///The Number of Months covered by the downpayment /// [] [] member val Months:Nullable = new Nullable() with get,set [] member val DownLease:Nullable = new Nullable() with get,set [] member val MoLease:Nullable = new Nullable() with get,set [] [] type CcInfo() = /// ///Token returned from processor /// [] [] member val TokenStr:String = null with get,set /// ///Card Type (VISA, MCARD, AMEX, DSCVR) /// [] [] member val CardType:String = null with get,set /// ///Last four of the card /// [] [] member val LastFour:String = null with get,set /// ///Expiration Date of the Card. (MM/YY) /// [] [] member val Expiration:String = null with get,set /// ///Reason the card is on file. /// [] [] member val ReasonOnFile:String = null with get,set /// ///ID of the existing Token Record in AIM, if applicable /// [] [] member val TokenPk:Nullable = new Nullable() with get,set /// ///Is this the customer's primary card? Defaults to false. /// [] [] member val Primary:Nullable = new Nullable() with get,set [] [] type CustomerInfo() = /// ///The WebId of the customer. Optional. /// [] [] member val WebId:Nullable = new Nullable() with get,set /// ///Name of the customer. /// [] [] member val Name:String = null with get,set /// ///Address line 1 of the customer /// [] [] member val Addr1:String = null with get,set /// ///Address line 2 of the customer /// [] [] member val Addr2:String = null with get,set /// ///City of the customer /// [] [] member val City:String = null with get,set /// ///State/Province of the customer /// [] [] member val St:String = null with get,set /// ///Zip code of the customer /// [] [] member val Zip:String = null with get,set /// ///Country of the customer /// [] [] member val Country:String = null with get,set /// ///Phone number of the customer /// [] [] member val Phone:String = null with get,set /// ///Email address of the customer. Required. /// [] [] member val Email:String = null with get,set [] [] type BaseResponse() = /// /// /// [] [] member val Status:BaseResponseResult = null with get,set [] [] type C2BPostContractResponse() = inherit BaseResponse() [] member val PaymentRequired:Boolean = new Boolean() with get,set [] member val Topic:String = null with get,set [] member val WebRef:String = null with get,set [] member val BaseUrl:String = null with get,set /// ///C2BPostContractRequires active-e Contracts Service. /// [] [] [] type C2BPostContractRequest() = inherit BaseSecureRequest() interface IReturn /// ///ID of the teacher to associate the contract with. /// [] [] member val TeacherId:Nullable = new Nullable() with get,set /// ///Used to associate the contract with a school by school name. /// [] [] member val SchoolName:String = null with get,set /// ///Used to associate the contract with a school by the AIM School ID /// [] [] member val AIMSchoolId:Nullable = new Nullable() with get,set /// ///Used to associate the contract with a location by location code. /// [] [] member val Stloc:String = null with get,set /// ///ID of the instrument to associate the contract with. /// [] [] member val InstrumentId:Nullable = new Nullable() with get,set /// /// /// [] [] member val Sku:String = null with get,set /// /// /// [] [] member val Desc:String = null with get,set /// ///The ID from the C2BGradeGeneric object /// [] [] member val RateId:Nullable = new Nullable() with get,set /// /// /// [] [] member val Rate:Rate = null with get,set /// /// /// [] [] member val AccessoryIdList:ResizeArray = new ResizeArray() with get,set /// /// /// [] [] member val AccessoryList:ResizeArray = new ResizeArray() with get,set /// /// /// [] [] member val FormInputList:ResizeArray = new ResizeArray() with get,set /// /// /// [] [] member val CcInfo:CcInfo = null with get,set /// /// /// [] [] member val CustomerInfo:CustomerInfo = null with get,set /// /// /// [] [] member val CusAcct:Nullable = new Nullable() with get,set /// /// /// [] [] member val Cat:Nullable = new Nullable() with get,set /// /// /// [] [] member val Sub:Nullable = new Nullable() with get,set [] member val ReturnTopic:Nullable = new Nullable() with get,set [] member val StatusId:Nullable = new Nullable() with get,set [] member val CardTerminalId:String = null with get,set