/* Options: Date: 2025-05-10 00:02:38 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AdvancedCustomerSearchRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * AdvancedCustomerSearchRequires active-e Customer Service. */ @Route(Path="/AdvancedCustomerSearch", Verbs="GET") @DataContract public static class AdvancedCustomerSearchRequest extends BaseSecureRequest implements IReturn { /** * The type of advanced search. Options are SUBACCOUNT (Students and Dependents), CHECK (Exact Check# lookup), and CREDITCARD (Last 4 lookup) */ @DataMember @ApiMember(DataType="string", Description="The type of advanced search. Options are SUBACCOUNT (Students and Dependents), CHECK (Exact Check# lookup), and CREDITCARD (Last 4 lookup)", IsRequired=true, Name="SearchType") public String SearchType = null; /** * What to search for */ @DataMember @ApiMember(DataType="string", Description="What to search for", IsRequired=true, Name="SearchString") public String SearchString = null; /** * The Starting Offset. Defaults to 0 if not sent. */ @DataMember @ApiMember(DataType="integer", Description="The Starting Offset. Defaults to 0 if not sent.", Format="int64", Name="StartOffset") public Long StartOffset = null; /** * The # of records to be returned. Defaults to 100 if not sent. */ @DataMember @ApiMember(DataType="integer", Description="The # of records to be returned. Defaults to 100 if not sent.", Format="int64", Name="RecordCount") public Long RecordCount = null; public String getSearchType() { return SearchType; } public AdvancedCustomerSearchRequest setSearchType(String value) { this.SearchType = value; return this; } public String getSearchString() { return SearchString; } public AdvancedCustomerSearchRequest setSearchString(String value) { this.SearchString = value; return this; } public Long getStartOffset() { return StartOffset; } public AdvancedCustomerSearchRequest setStartOffset(Long value) { this.StartOffset = value; return this; } public Long getRecordCount() { return RecordCount; } public AdvancedCustomerSearchRequest setRecordCount(Long value) { this.RecordCount = value; return this; } private static Object responseType = AdvancedCustomerSearchResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class AdvancedCustomerSearchResponse extends BaseResponse { @DataMember public Long RemainingRecords = null; @DataMember public ArrayList Customers = null; public Long getRemainingRecords() { return RemainingRecords; } public AdvancedCustomerSearchResponse setRemainingRecords(Long value) { this.RemainingRecords = value; return this; } public ArrayList getCustomers() { return Customers; } public AdvancedCustomerSearchResponse setCustomers(ArrayList value) { this.Customers = value; return this; } } @DataContract public static class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header") public String ApiKey = null; @DataMember @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") public String OAuthToken = null; public String getApiKey() { return ApiKey; } public BaseRequest setApiKey(String value) { this.ApiKey = value; return this; } public String getOAuthToken() { return OAuthToken; } public BaseRequest setOAuthToken(String value) { this.OAuthToken = value; return this; } } @DataContract public static class BaseSecureRequest extends BaseRequest { /** * */ @DataMember @ApiMember(DataType="string", Description="", Name="Token", ParameterType="Header") public String Token = null; /** * */ @DataMember @ApiMember(DataType="string", Description="", Name="DeviceId", ParameterType="Header") public String DeviceId = null; /** * */ @DataMember @ApiMember(DataType="string", Description="", IsRequired=true, Name="AppId", ParameterType="Header") public String AppId = null; public String getToken() { return Token; } public BaseSecureRequest setToken(String value) { this.Token = value; return this; } public String getDeviceId() { return DeviceId; } public BaseSecureRequest setDeviceId(String value) { this.DeviceId = value; return this; } public String getAppId() { return AppId; } public BaseSecureRequest setAppId(String value) { this.AppId = value; return this; } } @DataContract public static class AdvancedCustomerSearchRecord { @DataMember public Integer Acct = null; @DataMember public Integer Sub = null; @DataMember public String Name = null; @DataMember public String ResultType = null; @DataMember public String ResultDetail = null; @DataMember public Date DateTime = null; @DataMember public BigDecimal Amount = null; public Integer getAcct() { return Acct; } public AdvancedCustomerSearchRecord setAcct(Integer value) { this.Acct = value; return this; } public Integer getSub() { return Sub; } public AdvancedCustomerSearchRecord setSub(Integer value) { this.Sub = value; return this; } public String getName() { return Name; } public AdvancedCustomerSearchRecord setName(String value) { this.Name = value; return this; } public String getResultType() { return ResultType; } public AdvancedCustomerSearchRecord setResultType(String value) { this.ResultType = value; return this; } public String getResultDetail() { return ResultDetail; } public AdvancedCustomerSearchRecord setResultDetail(String value) { this.ResultDetail = value; return this; } public Date getDateTime() { return DateTime; } public AdvancedCustomerSearchRecord setDateTime(Date value) { this.DateTime = value; return this; } public BigDecimal getAmount() { return Amount; } public AdvancedCustomerSearchRecord setAmount(BigDecimal value) { this.Amount = value; return this; } } @DataContract public static class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") public BaseResponseResult Status = null; public BaseResponseResult getStatus() { return Status; } public BaseResponse setStatus(BaseResponseResult value) { this.Status = value; return this; } } }