AIM Web Services

<back to all web services

ContractFullDetailsRequest

ContractFullDetails
Requires active-e Contracts Service.

The following routes are available for this service:
GET/api/ContractFullDetails
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    /**
    * ContractFullDetailsRequires active-e Contracts Service.
    */
    @DataContract
    public static class ContractFullDetailsRequest extends BaseSecureRequest
    {
        @DataMember
        public Integer Acct = null;

        @DataMember
        public Integer Sub = null;

        @DataMember
        public Date ChangedDate = null;

        @DataMember
        public String SerialNumber = null;

        /**
        * If sent, additional calculated fields will be returned using this date
        */
        @DataMember
        @ApiMember(DataType="string", Description="If sent, additional calculated fields will be returned using this date", Format="date", Name="CalculationsDate", ParameterType="query")
        public Date CalculationsDate = null;

        /**
        * The Starting Offset
        */
        @DataMember
        @ApiMember(DataType="integer", Description="The Starting Offset", Format="int64", Name="StartOffset")
        public Long StartOffset = null;

        /**
        * The # of records to be returned
        */
        @DataMember
        @ApiMember(DataType="integer", Description="The # of records to be returned", Format="int64", Name="RecordCount")
        public Long RecordCount = null;

        /**
        * The Contract Ref# to be looked up. If sent, do not send WebRef, Acct, Sub, ChangedDate, SerialNumber, StartOffset, or Recordcount
        */
        @DataMember
        @ApiMember(DataType="string", Description="The Contract Ref# to be looked up. If sent, do not send WebRef, Acct, Sub, ChangedDate, SerialNumber, StartOffset, or Recordcount", Name="AIMRef")
        public String AIMRef = null;

        /**
        * The WebRef to be looked up. If sent, do not send AIMRef, Acct, Sub, ChangedDate, SerialNumber, StartOffset, or Recordcount
        */
        @DataMember
        @ApiMember(DataType="string", Description="The WebRef to be looked up. If sent, do not send AIMRef, Acct, Sub, ChangedDate, SerialNumber, StartOffset, or Recordcount", Name="WebRef")
        public String WebRef = null;
        
        public Integer getAcct() { return Acct; }
        public ContractFullDetailsRequest setAcct(Integer value) { this.Acct = value; return this; }
        public Integer getSub() { return Sub; }
        public ContractFullDetailsRequest setSub(Integer value) { this.Sub = value; return this; }
        public Date getChangedDate() { return ChangedDate; }
        public ContractFullDetailsRequest setChangedDate(Date value) { this.ChangedDate = value; return this; }
        public String getSerialNumber() { return SerialNumber; }
        public ContractFullDetailsRequest setSerialNumber(String value) { this.SerialNumber = value; return this; }
        public Date getCalculationsDate() { return CalculationsDate; }
        public ContractFullDetailsRequest setCalculationsDate(Date value) { this.CalculationsDate = value; return this; }
        public Long getStartOffset() { return StartOffset; }
        public ContractFullDetailsRequest setStartOffset(Long value) { this.StartOffset = value; return this; }
        public Long getRecordCount() { return RecordCount; }
        public ContractFullDetailsRequest setRecordCount(Long value) { this.RecordCount = value; return this; }
        public String getAimRef() { return AIMRef; }
        public ContractFullDetailsRequest setAimRef(String value) { this.AIMRef = value; return this; }
        public String getWebRef() { return WebRef; }
        public ContractFullDetailsRequest setWebRef(String value) { this.WebRef = 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 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 ContractFullDetailsResponse extends BaseResponse
    {
        @DataMember
        public ArrayList<ContractInfo> Contracts = null;

        @DataMember
        public Long RemainingRecords = null;
        
        public ArrayList<ContractInfo> getContracts() { return Contracts; }
        public ContractFullDetailsResponse setContracts(ArrayList<ContractInfo> value) { this.Contracts = value; return this; }
        public Long getRemainingRecords() { return RemainingRecords; }
        public ContractFullDetailsResponse setRemainingRecords(Long value) { this.RemainingRecords = 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; }
    }

    @DataContract
    public static class BaseResponseResult
    {
        /**
        * 
        */
        @DataMember
        @ApiMember(DataType="string", Description="", Name="StatusCode", ParameterType="body")
        public String StatusCode = null;

        /**
        * 
        */
        @DataMember
        @ApiMember(DataType="string", Description="", Name="Login", ParameterType="body")
        public String Login = null;

        /**
        * 
        */
        @DataMember
        @ApiMember(DataType="string", Description="", Name="ErrorCode", ParameterType="body")
        public String ErrorCode = null;

        /**
        * 
        */
        @DataMember
        @ApiMember(DataType="string", Description="", Name="ErrorDisplayText", ParameterType="body")
        public String ErrorDisplayText = null;

        /**
        * 
        */
        @DataMember
        @ApiMember(DataType="string", Description="", Name="ErrorMessage", ParameterType="body")
        public String ErrorMessage = null;

        /**
        * 
        */
        @DataMember
        @ApiMember(DataType="string", Description="", ExcludeInSchema=true, Name="DomainName", ParameterType="body")
        public String DomainName = null;

        /**
        * 
        */
        @DataMember
        @ApiMember(DataType="string", Description="", ExcludeInSchema=true, Name="IPAddress", ParameterType="body")
        public String IpAddress = null;
        
        public String getStatusCode() { return StatusCode; }
        public BaseResponseResult setStatusCode(String value) { this.StatusCode = value; return this; }
        public String getLogin() { return Login; }
        public BaseResponseResult setLogin(String value) { this.Login = value; return this; }
        public String getErrorCode() { return ErrorCode; }
        public BaseResponseResult setErrorCode(String value) { this.ErrorCode = value; return this; }
        public String getErrorDisplayText() { return ErrorDisplayText; }
        public BaseResponseResult setErrorDisplayText(String value) { this.ErrorDisplayText = value; return this; }
        public String getErrorMessage() { return ErrorMessage; }
        public BaseResponseResult setErrorMessage(String value) { this.ErrorMessage = value; return this; }
        public String getDomainName() { return DomainName; }
        public BaseResponseResult setDomainName(String value) { this.DomainName = value; return this; }
        public String getIpAddress() { return IpAddress; }
        public BaseResponseResult setIpAddress(String value) { this.IpAddress = value; return this; }
    }

    @DataContract
    public static class ContractInfo
    {
        @DataMember
        public BigDecimal Rnt_afee = null;

        @DataMember
        public Boolean Rnt_alatedbt = null;

        @DataMember
        public BigDecimal Rnt_amtfin = null;

        @DataMember
        public BigDecimal Rnt_aofinchg = null;

        @DataMember
        public Boolean Rnt_apaydbt = null;

        @DataMember
        public String Rnt_apaytyp = null;

        @DataMember
        public Short Rnt_atcode = null;

        @DataMember
        public Date Rnt_autopayhold = null;

        @DataMember
        public BigDecimal Rnt_avgbal = null;

        @DataMember
        public BigDecimal Rnt_balance = null;

        @DataMember
        public Short Rnt_billdays = null;

        @DataMember
        public Date Rnt_cdate = null;

        @DataMember
        public String Rnt_colagency = null;

        @DataMember
        public BigDecimal Rnt_colamt = null;

        @DataMember
        public Date Rnt_coupdate = null;

        @DataMember
        public BigDecimal Rnt_cramt = null;

        @DataMember
        public Short Rnt_crmo = null;

        @DataMember
        public BigDecimal Rnt_currafee = null;

        @DataMember
        public BigDecimal Rnt_currbal = null;

        @DataMember
        public BigDecimal Rnt_currfc = null;

        @DataMember
        public BigDecimal Rnt_currfeetax1 = null;

        @DataMember
        public BigDecimal Rnt_currfeetax2 = null;

        @DataMember
        public BigDecimal Rnt_currlte = null;

        @DataMember
        public BigDecimal Rnt_currma = null;

        @DataMember
        public BigDecimal Rnt_curroth = null;

        @DataMember
        public BigDecimal Rnt_currprn = null;

        @DataMember
        public BigDecimal Rnt_currtax1 = null;

        @DataMember
        public BigDecimal Rnt_currtax2 = null;

        @DataMember
        public Short Rnt_dayslate = null;

        @DataMember
        public Short Rnt_daystlst = null;

        @DataMember
        public String Rnt_deprcode = null;

        @DataMember
        public BigDecimal Rnt_discount = null;

        @DataMember
        public BigDecimal Rnt_downpay = null;

        @DataMember
        public String Rnt_dunn = null;

        @DataMember
        public Date Rnt_edate = null;

        @DataMember
        public Date Rnt_fdate = null;

        @DataMember
        public BigDecimal Rnt_fee = null;

        @DataMember
        public BigDecimal Rnt_finalpay = null;

        @DataMember
        public BigDecimal Rnt_finchg = null;

        @DataMember
        public Short Rnt_freemos = null;

        @DataMember
        public Date Rnt_intdate = null;

        @DataMember
        public BigDecimal Rnt_intrate = null;

        @DataMember
        public Boolean Rnt_irregular = null;

        @DataMember
        public Short Rnt_itcode = null;

        @DataMember
        public BigDecimal Rnt_lastpaid = null;

        @DataMember
        public BigDecimal Rnt_latefee = null;

        @DataMember
        public BigDecimal Rnt_lateowed = null;

        @DataMember
        public Date Rnt_ldate = null;

        @DataMember
        public Short Rnt_ltcode = null;

        @DataMember
        public BigDecimal Rnt_monma = null;

        @DataMember
        public Boolean Rnt_mopayreq = null;

        @DataMember
        public Short Rnt_mtcode = null;

        @DataMember
        public Date Rnt_ndate = null;

        @DataMember
        public BigDecimal Rnt_nextpayamt = null;

        @DataMember
        public Short Rnt_nextpaynum = null;

        @DataMember
        public Date Rnt_notedate = null;

        @DataMember
        public String Rnt_notes = null;

        @DataMember
        public String Rnt_exchnotes = null;

        @DataMember
        public BigDecimal Rnt_otherowed = null;

        @DataMember
        public Short Rnt_payfreq = null;

        @DataMember
        public Short Rnt_latefreq = null;

        @DataMember
        public Short Rnt_payfreqtype = null;

        @DataMember
        public BigDecimal Rnt_payment = null;

        @DataMember
        public Short Rnt_paystrm = null;

        @DataMember
        public Long Rnt_pk = null;

        @DataMember
        public BigDecimal Rnt_prevamt = null;

        @DataMember
        public Short Rnt_prevmo = null;

        @DataMember
        public BigDecimal Rnt_price = null;

        @DataMember
        public Date Rnt_rdate = null;

        @DataMember
        public Date Rnt_sdate = null;

        @DataMember
        public String Rnt_student = null;

        @DataMember
        public Integer Rnt_sub = null;

        @DataMember
        public BigDecimal Rnt_tax = null;

        @DataMember
        public BigDecimal Rnt_taxrate1 = null;

        @DataMember
        public BigDecimal Rnt_taxrate2 = null;

        @DataMember
        public BigDecimal Rnt_taxrateorig1 = null;

        @DataMember
        public BigDecimal Rnt_taxrateorig2 = null;

        @DataMember
        public Short Rnt_tcode = null;

        @DataMember
        public Short Rnt_term = null;

        @DataMember
        public BigDecimal Rnt_tmaint = null;

        @DataMember
        public BigDecimal Rnt_tradein = null;

        @DataMember
        public String Rnt_typer = null;

        @DataMember
        public Date Rnt_timestamp = null;

        @DataMember
        public Integer Acct = null;

        @DataMember
        public String TaxLocation = null;

        @DataMember
        public String DefaultDesc = null;

        @DataMember
        public String PayoffDesc = null;

        @DataMember
        public String School = null;

        @DataMember
        public String District = null;

        @DataMember
        public String Ref = null;

        @DataMember
        public Boolean AutoPayDeclined = null;

        @DataMember
        public ArrayList<ContractInventoryInfo> Inventory = null;

        @DataMember
        public CcInfo CardInfo = null;

        @DataMember
        public ContractCalculatedFields ContractCalculatedFields = null;

        @DataMember
        public ArrayList<PaymentGeneric> Payments = null;

        @DataMember
        public String Rnt_avacodeprin = null;

        @DataMember
        public String Rnt_avacodemaint = null;

        @DataMember
        public String Rnt_avacodelate = null;

        @DataMember
        public String Rnt_avacodelease = null;

        @DataMember
        public String Rnt_avacodefin = null;

        @DataMember
        public Date Rnt_scheduledreturndate = null;

        @DataMember
        public String Rnt_scheduledreturnoption = null;

        @DataMember
        public String Rnt_scheduledreturnnotes = null;

        @DataMember
        public String Rnt_scheduledreturnstatus = null;
        
        public BigDecimal getRntAfee() { return Rnt_afee; }
        public ContractInfo setRntAfee(BigDecimal value) { this.Rnt_afee = value; return this; }
        public Boolean isRntAlatedbt() { return Rnt_alatedbt; }
        public ContractInfo setRntAlatedbt(Boolean value) { this.Rnt_alatedbt = value; return this; }
        public BigDecimal getRntAmtfin() { return Rnt_amtfin; }
        public ContractInfo setRntAmtfin(BigDecimal value) { this.Rnt_amtfin = value; return this; }
        public BigDecimal getRntAofinchg() { return Rnt_aofinchg; }
        public ContractInfo setRntAofinchg(BigDecimal value) { this.Rnt_aofinchg = value; return this; }
        public Boolean isRntApaydbt() { return Rnt_apaydbt; }
        public ContractInfo setRntApaydbt(Boolean value) { this.Rnt_apaydbt = value; return this; }
        public String getRntApaytyp() { return Rnt_apaytyp; }
        public ContractInfo setRntApaytyp(String value) { this.Rnt_apaytyp = value; return this; }
        public Short getRntAtcode() { return Rnt_atcode; }
        public ContractInfo setRntAtcode(Short value) { this.Rnt_atcode = value; return this; }
        public Date getRntAutopayhold() { return Rnt_autopayhold; }
        public ContractInfo setRntAutopayhold(Date value) { this.Rnt_autopayhold = value; return this; }
        public BigDecimal getRntAvgbal() { return Rnt_avgbal; }
        public ContractInfo setRntAvgbal(BigDecimal value) { this.Rnt_avgbal = value; return this; }
        public BigDecimal getRntBalance() { return Rnt_balance; }
        public ContractInfo setRntBalance(BigDecimal value) { this.Rnt_balance = value; return this; }
        public Short getRntBilldays() { return Rnt_billdays; }
        public ContractInfo setRntBilldays(Short value) { this.Rnt_billdays = value; return this; }
        public Date getRntCdate() { return Rnt_cdate; }
        public ContractInfo setRntCdate(Date value) { this.Rnt_cdate = value; return this; }
        public String getRntColagency() { return Rnt_colagency; }
        public ContractInfo setRntColagency(String value) { this.Rnt_colagency = value; return this; }
        public BigDecimal getRntColamt() { return Rnt_colamt; }
        public ContractInfo setRntColamt(BigDecimal value) { this.Rnt_colamt = value; return this; }
        public Date getRntCoupdate() { return Rnt_coupdate; }
        public ContractInfo setRntCoupdate(Date value) { this.Rnt_coupdate = value; return this; }
        public BigDecimal getRntCramt() { return Rnt_cramt; }
        public ContractInfo setRntCramt(BigDecimal value) { this.Rnt_cramt = value; return this; }
        public Short getRntCrmo() { return Rnt_crmo; }
        public ContractInfo setRntCrmo(Short value) { this.Rnt_crmo = value; return this; }
        public BigDecimal getRntCurrafee() { return Rnt_currafee; }
        public ContractInfo setRntCurrafee(BigDecimal value) { this.Rnt_currafee = value; return this; }
        public BigDecimal getRntCurrbal() { return Rnt_currbal; }
        public ContractInfo setRntCurrbal(BigDecimal value) { this.Rnt_currbal = value; return this; }
        public BigDecimal getRntCurrfc() { return Rnt_currfc; }
        public ContractInfo setRntCurrfc(BigDecimal value) { this.Rnt_currfc = value; return this; }
        public BigDecimal getRntCurrfeetax1() { return Rnt_currfeetax1; }
        public ContractInfo setRntCurrfeetax1(BigDecimal value) { this.Rnt_currfeetax1 = value; return this; }
        public BigDecimal getRntCurrfeetax2() { return Rnt_currfeetax2; }
        public ContractInfo setRntCurrfeetax2(BigDecimal value) { this.Rnt_currfeetax2 = value; return this; }
        public BigDecimal getRntCurrlte() { return Rnt_currlte; }
        public ContractInfo setRntCurrlte(BigDecimal value) { this.Rnt_currlte = value; return this; }
        public BigDecimal getRntCurrma() { return Rnt_currma; }
        public ContractInfo setRntCurrma(BigDecimal value) { this.Rnt_currma = value; return this; }
        public BigDecimal getRntCurroth() { return Rnt_curroth; }
        public ContractInfo setRntCurroth(BigDecimal value) { this.Rnt_curroth = value; return this; }
        public BigDecimal getRntCurrprn() { return Rnt_currprn; }
        public ContractInfo setRntCurrprn(BigDecimal value) { this.Rnt_currprn = value; return this; }
        public BigDecimal getRntCurrtax1() { return Rnt_currtax1; }
        public ContractInfo setRntCurrtax1(BigDecimal value) { this.Rnt_currtax1 = value; return this; }
        public BigDecimal getRntCurrtax2() { return Rnt_currtax2; }
        public ContractInfo setRntCurrtax2(BigDecimal value) { this.Rnt_currtax2 = value; return this; }
        public Short getRntDayslate() { return Rnt_dayslate; }
        public ContractInfo setRntDayslate(Short value) { this.Rnt_dayslate = value; return this; }
        public Short getRntDaystlst() { return Rnt_daystlst; }
        public ContractInfo setRntDaystlst(Short value) { this.Rnt_daystlst = value; return this; }
        public String getRntDeprcode() { return Rnt_deprcode; }
        public ContractInfo setRntDeprcode(String value) { this.Rnt_deprcode = value; return this; }
        public BigDecimal getRntDiscount() { return Rnt_discount; }
        public ContractInfo setRntDiscount(BigDecimal value) { this.Rnt_discount = value; return this; }
        public BigDecimal getRntDownpay() { return Rnt_downpay; }
        public ContractInfo setRntDownpay(BigDecimal value) { this.Rnt_downpay = value; return this; }
        public String getRntDunn() { return Rnt_dunn; }
        public ContractInfo setRntDunn(String value) { this.Rnt_dunn = value; return this; }
        public Date getRntEdate() { return Rnt_edate; }
        public ContractInfo setRntEdate(Date value) { this.Rnt_edate = value; return this; }
        public Date getRntFdate() { return Rnt_fdate; }
        public ContractInfo setRntFdate(Date value) { this.Rnt_fdate = value; return this; }
        public BigDecimal getRntFee() { return Rnt_fee; }
        public ContractInfo setRntFee(BigDecimal value) { this.Rnt_fee = value; return this; }
        public BigDecimal getRntFinalpay() { return Rnt_finalpay; }
        public ContractInfo setRntFinalpay(BigDecimal value) { this.Rnt_finalpay = value; return this; }
        public BigDecimal getRntFinchg() { return Rnt_finchg; }
        public ContractInfo setRntFinchg(BigDecimal value) { this.Rnt_finchg = value; return this; }
        public Short getRntFreemos() { return Rnt_freemos; }
        public ContractInfo setRntFreemos(Short value) { this.Rnt_freemos = value; return this; }
        public Date getRntIntdate() { return Rnt_intdate; }
        public ContractInfo setRntIntdate(Date value) { this.Rnt_intdate = value; return this; }
        public BigDecimal getRntIntrate() { return Rnt_intrate; }
        public ContractInfo setRntIntrate(BigDecimal value) { this.Rnt_intrate = value; return this; }
        public Boolean isRntIrregular() { return Rnt_irregular; }
        public ContractInfo setRntIrregular(Boolean value) { this.Rnt_irregular = value; return this; }
        public Short getRntItcode() { return Rnt_itcode; }
        public ContractInfo setRntItcode(Short value) { this.Rnt_itcode = value; return this; }
        public BigDecimal getRntLastpaid() { return Rnt_lastpaid; }
        public ContractInfo setRntLastpaid(BigDecimal value) { this.Rnt_lastpaid = value; return this; }
        public BigDecimal getRntLatefee() { return Rnt_latefee; }
        public ContractInfo setRntLatefee(BigDecimal value) { this.Rnt_latefee = value; return this; }
        public BigDecimal getRntLateowed() { return Rnt_lateowed; }
        public ContractInfo setRntLateowed(BigDecimal value) { this.Rnt_lateowed = value; return this; }
        public Date getRntLdate() { return Rnt_ldate; }
        public ContractInfo setRntLdate(Date value) { this.Rnt_ldate = value; return this; }
        public Short getRntLtcode() { return Rnt_ltcode; }
        public ContractInfo setRntLtcode(Short value) { this.Rnt_ltcode = value; return this; }
        public BigDecimal getRntMonma() { return Rnt_monma; }
        public ContractInfo setRntMonma(BigDecimal value) { this.Rnt_monma = value; return this; }
        public Boolean isRntMopayreq() { return Rnt_mopayreq; }
        public ContractInfo setRntMopayreq(Boolean value) { this.Rnt_mopayreq = value; return this; }
        public Short getRntMtcode() { return Rnt_mtcode; }
        public ContractInfo setRntMtcode(Short value) { this.Rnt_mtcode = value; return this; }
        public Date getRntNdate() { return Rnt_ndate; }
        public ContractInfo setRntNdate(Date value) { this.Rnt_ndate = value; return this; }
        public BigDecimal getRntNextpayamt() { return Rnt_nextpayamt; }
        public ContractInfo setRntNextpayamt(BigDecimal value) { this.Rnt_nextpayamt = value; return this; }
        public Short getRntNextpaynum() { return Rnt_nextpaynum; }
        public ContractInfo setRntNextpaynum(Short value) { this.Rnt_nextpaynum = value; return this; }
        public Date getRntNotedate() { return Rnt_notedate; }
        public ContractInfo setRntNotedate(Date value) { this.Rnt_notedate = value; return this; }
        public String getRntNotes() { return Rnt_notes; }
        public ContractInfo setRntNotes(String value) { this.Rnt_notes = value; return this; }
        public String getRntExchnotes() { return Rnt_exchnotes; }
        public ContractInfo setRntExchnotes(String value) { this.Rnt_exchnotes = value; return this; }
        public BigDecimal getRntOtherowed() { return Rnt_otherowed; }
        public ContractInfo setRntOtherowed(BigDecimal value) { this.Rnt_otherowed = value; return this; }
        public Short getRntPayfreq() { return Rnt_payfreq; }
        public ContractInfo setRntPayfreq(Short value) { this.Rnt_payfreq = value; return this; }
        public Short getRntLatefreq() { return Rnt_latefreq; }
        public ContractInfo setRntLatefreq(Short value) { this.Rnt_latefreq = value; return this; }
        public Short getRntPayfreqtype() { return Rnt_payfreqtype; }
        public ContractInfo setRntPayfreqtype(Short value) { this.Rnt_payfreqtype = value; return this; }
        public BigDecimal getRntPayment() { return Rnt_payment; }
        public ContractInfo setRntPayment(BigDecimal value) { this.Rnt_payment = value; return this; }
        public Short getRntPaystrm() { return Rnt_paystrm; }
        public ContractInfo setRntPaystrm(Short value) { this.Rnt_paystrm = value; return this; }
        public Long getRntPk() { return Rnt_pk; }
        public ContractInfo setRntPk(Long value) { this.Rnt_pk = value; return this; }
        public BigDecimal getRntPrevamt() { return Rnt_prevamt; }
        public ContractInfo setRntPrevamt(BigDecimal value) { this.Rnt_prevamt = value; return this; }
        public Short getRntPrevmo() { return Rnt_prevmo; }
        public ContractInfo setRntPrevmo(Short value) { this.Rnt_prevmo = value; return this; }
        public BigDecimal getRntPrice() { return Rnt_price; }
        public ContractInfo setRntPrice(BigDecimal value) { this.Rnt_price = value; return this; }
        public Date getRntRdate() { return Rnt_rdate; }
        public ContractInfo setRntRdate(Date value) { this.Rnt_rdate = value; return this; }
        public Date getRntSdate() { return Rnt_sdate; }
        public ContractInfo setRntSdate(Date value) { this.Rnt_sdate = value; return this; }
        public String getRntStudent() { return Rnt_student; }
        public ContractInfo setRntStudent(String value) { this.Rnt_student = value; return this; }
        public Integer getRntSub() { return Rnt_sub; }
        public ContractInfo setRntSub(Integer value) { this.Rnt_sub = value; return this; }
        public BigDecimal getRntTax() { return Rnt_tax; }
        public ContractInfo setRntTax(BigDecimal value) { this.Rnt_tax = value; return this; }
        public BigDecimal getRntTaxrate1() { return Rnt_taxrate1; }
        public ContractInfo setRntTaxrate1(BigDecimal value) { this.Rnt_taxrate1 = value; return this; }
        public BigDecimal getRntTaxrate2() { return Rnt_taxrate2; }
        public ContractInfo setRntTaxrate2(BigDecimal value) { this.Rnt_taxrate2 = value; return this; }
        public BigDecimal getRntTaxrateorig1() { return Rnt_taxrateorig1; }
        public ContractInfo setRntTaxrateorig1(BigDecimal value) { this.Rnt_taxrateorig1 = value; return this; }
        public BigDecimal getRntTaxrateorig2() { return Rnt_taxrateorig2; }
        public ContractInfo setRntTaxrateorig2(BigDecimal value) { this.Rnt_taxrateorig2 = value; return this; }
        public Short getRntTcode() { return Rnt_tcode; }
        public ContractInfo setRntTcode(Short value) { this.Rnt_tcode = value; return this; }
        public Short getRntTerm() { return Rnt_term; }
        public ContractInfo setRntTerm(Short value) { this.Rnt_term = value; return this; }
        public BigDecimal getRntTmaint() { return Rnt_tmaint; }
        public ContractInfo setRntTmaint(BigDecimal value) { this.Rnt_tmaint = value; return this; }
        public BigDecimal getRntTradein() { return Rnt_tradein; }
        public ContractInfo setRntTradein(BigDecimal value) { this.Rnt_tradein = value; return this; }
        public String getRntTyper() { return Rnt_typer; }
        public ContractInfo setRntTyper(String value) { this.Rnt_typer = value; return this; }
        public Date getRntTimestamp() { return Rnt_timestamp; }
        public ContractInfo setRntTimestamp(Date value) { this.Rnt_timestamp = value; return this; }
        public Integer getAcct() { return Acct; }
        public ContractInfo setAcct(Integer value) { this.Acct = value; return this; }
        public String getTaxLocation() { return TaxLocation; }
        public ContractInfo setTaxLocation(String value) { this.TaxLocation = value; return this; }
        public String getDefaultDesc() { return DefaultDesc; }
        public ContractInfo setDefaultDesc(String value) { this.DefaultDesc = value; return this; }
        public String getPayoffDesc() { return PayoffDesc; }
        public ContractInfo setPayoffDesc(String value) { this.PayoffDesc = value; return this; }
        public String getSchool() { return School; }
        public ContractInfo setSchool(String value) { this.School = value; return this; }
        public String getDistrict() { return District; }
        public ContractInfo setDistrict(String value) { this.District = value; return this; }
        public String getRef() { return Ref; }
        public ContractInfo setRef(String value) { this.Ref = value; return this; }
        public Boolean isAutoPayDeclined() { return AutoPayDeclined; }
        public ContractInfo setAutoPayDeclined(Boolean value) { this.AutoPayDeclined = value; return this; }
        public ArrayList<ContractInventoryInfo> getInventory() { return Inventory; }
        public ContractInfo setInventory(ArrayList<ContractInventoryInfo> value) { this.Inventory = value; return this; }
        public CcInfo getCardInfo() { return CardInfo; }
        public ContractInfo setCardInfo(CcInfo value) { this.CardInfo = value; return this; }
        public ContractCalculatedFields getContractCalculatedFields() { return ContractCalculatedFields; }
        public ContractInfo setContractCalculatedFields(ContractCalculatedFields value) { this.ContractCalculatedFields = value; return this; }
        public ArrayList<PaymentGeneric> getPayments() { return Payments; }
        public ContractInfo setPayments(ArrayList<PaymentGeneric> value) { this.Payments = value; return this; }
        public String getRntAvacodeprin() { return Rnt_avacodeprin; }
        public ContractInfo setRntAvacodeprin(String value) { this.Rnt_avacodeprin = value; return this; }
        public String getRntAvacodemaint() { return Rnt_avacodemaint; }
        public ContractInfo setRntAvacodemaint(String value) { this.Rnt_avacodemaint = value; return this; }
        public String getRntAvacodelate() { return Rnt_avacodelate; }
        public ContractInfo setRntAvacodelate(String value) { this.Rnt_avacodelate = value; return this; }
        public String getRntAvacodelease() { return Rnt_avacodelease; }
        public ContractInfo setRntAvacodelease(String value) { this.Rnt_avacodelease = value; return this; }
        public String getRntAvacodefin() { return Rnt_avacodefin; }
        public ContractInfo setRntAvacodefin(String value) { this.Rnt_avacodefin = value; return this; }
        public Date getRntScheduledreturndate() { return Rnt_scheduledreturndate; }
        public ContractInfo setRntScheduledreturndate(Date value) { this.Rnt_scheduledreturndate = value; return this; }
        public String getRntScheduledreturnoption() { return Rnt_scheduledreturnoption; }
        public ContractInfo setRntScheduledreturnoption(String value) { this.Rnt_scheduledreturnoption = value; return this; }
        public String getRntScheduledreturnnotes() { return Rnt_scheduledreturnnotes; }
        public ContractInfo setRntScheduledreturnnotes(String value) { this.Rnt_scheduledreturnnotes = value; return this; }
        public String getRntScheduledreturnstatus() { return Rnt_scheduledreturnstatus; }
        public ContractInfo setRntScheduledreturnstatus(String value) { this.Rnt_scheduledreturnstatus = value; return this; }
    }

    @DataContract
    public static class ContractInventoryInfo
    {
        @DataMember
        public Long Id = null;

        @DataMember
        public Date BeginDate = null;

        @DataMember
        public Integer Cat = null;

        @DataMember
        public BigDecimal Cost = null;

        @DataMember
        public String Description = null;

        @DataMember
        public BigDecimal Discount = null;

        @DataMember
        public String Dunn = null;

        @DataMember
        public Date EndDate = null;

        @DataMember
        public String InvType = null;

        @DataMember
        public String Notes = null;

        @DataMember
        public BigDecimal OurPrice = null;

        @DataMember
        public BigDecimal Qty = null;

        @DataMember
        public String ReceiptNotes = null;

        @DataMember
        public String Serial = null;

        @DataMember
        public Integer Sub = null;

        @DataMember
        public BigDecimal Total = null;

        @DataMember
        public String Sku = null;

        @DataMember
        public String Mfg = null;
        
        public Long getId() { return Id; }
        public ContractInventoryInfo setId(Long value) { this.Id = value; return this; }
        public Date getBeginDate() { return BeginDate; }
        public ContractInventoryInfo setBeginDate(Date value) { this.BeginDate = value; return this; }
        public Integer getCat() { return Cat; }
        public ContractInventoryInfo setCat(Integer value) { this.Cat = value; return this; }
        public BigDecimal getCost() { return Cost; }
        public ContractInventoryInfo setCost(BigDecimal value) { this.Cost = value; return this; }
        public String getDescription() { return Description; }
        public ContractInventoryInfo setDescription(String value) { this.Description = value; return this; }
        public BigDecimal getDiscount() { return Discount; }
        public ContractInventoryInfo setDiscount(BigDecimal value) { this.Discount = value; return this; }
        public String getDunn() { return Dunn; }
        public ContractInventoryInfo setDunn(String value) { this.Dunn = value; return this; }
        public Date getEndDate() { return EndDate; }
        public ContractInventoryInfo setEndDate(Date value) { this.EndDate = value; return this; }
        public String getInvType() { return InvType; }
        public ContractInventoryInfo setInvType(String value) { this.InvType = value; return this; }
        public String getNotes() { return Notes; }
        public ContractInventoryInfo setNotes(String value) { this.Notes = value; return this; }
        public BigDecimal getOurPrice() { return OurPrice; }
        public ContractInventoryInfo setOurPrice(BigDecimal value) { this.OurPrice = value; return this; }
        public BigDecimal getQty() { return Qty; }
        public ContractInventoryInfo setQty(BigDecimal value) { this.Qty = value; return this; }
        public String getReceiptNotes() { return ReceiptNotes; }
        public ContractInventoryInfo setReceiptNotes(String value) { this.ReceiptNotes = value; return this; }
        public String getSerial() { return Serial; }
        public ContractInventoryInfo setSerial(String value) { this.Serial = value; return this; }
        public Integer getSub() { return Sub; }
        public ContractInventoryInfo setSub(Integer value) { this.Sub = value; return this; }
        public BigDecimal getTotal() { return Total; }
        public ContractInventoryInfo setTotal(BigDecimal value) { this.Total = value; return this; }
        public String getSku() { return Sku; }
        public ContractInventoryInfo setSku(String value) { this.Sku = value; return this; }
        public String getMfg() { return Mfg; }
        public ContractInventoryInfo setMfg(String value) { this.Mfg = value; return this; }
    }

    @DataContract(Name="CCInfo")
    public static class CcInfo
    {
        /**
        * Token returned from processor
        */
        @DataMember
        @ApiMember(DataType="string", Description="Token returned from processor", IsRequired=true, Name="TokenStr", ParameterType="query")
        public String TokenStr = null;

        /**
        * Card Type (VISA, MCARD, AMEX, DSCVR)
        */
        @DataMember
        @ApiMember(DataType="string", Description="Card Type (VISA, MCARD, AMEX, DSCVR)", IsRequired=true, Name="CardType", ParameterType="query")
        public String CardType = null;

        /**
        * Last four of the card
        */
        @DataMember
        @ApiMember(DataType="string", Description="Last four of the card", IsRequired=true, Name="LastFour", ParameterType="query")
        public String LastFour = null;

        /**
        * Expiration Date of the Card. (MM/YY)
        */
        @DataMember
        @ApiMember(DataType="string", Description="Expiration Date of the Card. (MM/YY)", Name="Expiration", ParameterType="query")
        public String Expiration = null;

        /**
        * Reason the card is on file.
        */
        @DataMember
        @ApiMember(DataType="string", Description="Reason the card is on file.", Name="ReasonOnFile", ParameterType="query")
        public String ReasonOnFile = null;

        /**
        * ID of the existing Token Record in AIM, if applicable
        */
        @DataMember
        @ApiMember(DataType="integer", Description="ID of the existing Token Record in AIM, if applicable", Format="int64", Name="TokenPk", ParameterType="query")
        public Long TokenPk = null;

        /**
        * Is this the customer's primary card? Defaults to false.
        */
        @DataMember
        @ApiMember(DataType="boolean", Description="Is this the customer's primary card? Defaults to false.", Name="Primary", ParameterType="query")
        public Boolean Primary = null;
        
        public String getTokenStr() { return TokenStr; }
        public CcInfo setTokenStr(String value) { this.TokenStr = value; return this; }
        public String getCardType() { return CardType; }
        public CcInfo setCardType(String value) { this.CardType = value; return this; }
        public String getLastFour() { return LastFour; }
        public CcInfo setLastFour(String value) { this.LastFour = value; return this; }
        public String getExpiration() { return Expiration; }
        public CcInfo setExpiration(String value) { this.Expiration = value; return this; }
        public String getReasonOnFile() { return ReasonOnFile; }
        public CcInfo setReasonOnFile(String value) { this.ReasonOnFile = value; return this; }
        public Long getTokenPk() { return TokenPk; }
        public CcInfo setTokenPk(Long value) { this.TokenPk = value; return this; }
        public Boolean isPrimary() { return Primary; }
        public CcInfo setPrimary(Boolean value) { this.Primary = value; return this; }
    }

    @DataContract
    public static class ContractCalculatedFields
    {
        @DataMember
        public Integer Terms = null;

        @DataMember
        public Integer PayStream = null;

        @DataMember
        public BigDecimal FinalPay = null;

        @DataMember
        public BigDecimal AmountDue = null;

        @DataMember
        public BigDecimal Payoff = null;

        @DataMember
        public BigDecimal DiscountedPayoff = null;

        @DataMember
        public BigDecimal RebateFc = null;

        @DataMember
        public BigDecimal TotalLate = null;

        @DataMember
        public BigDecimal PaymentsLate = null;

        @DataMember
        public Integer PaymentsAhead = null;

        @DataMember
        public BigDecimal TotalMaintOwed = null;

        @DataMember
        public BigDecimal CurrentPlusNext = null;

        @DataMember
        public Date PayoffDate = null;

        @DataMember
        public BigDecimal CreditAmount = null;

        @DataMember
        public BigDecimal PrinLessTax = null;

        @DataMember
        public BigDecimal MaintLessTax = null;

        @DataMember
        public BigDecimal AFeeLessTax = null;

        @DataMember
        public BigDecimal PaymentTax = null;

        @DataMember
        public ArrayList<ContractValuesObject> RentDueInfo = null;

        @DataMember
        public ArrayList<ContractValuesObject> PayoffInfo = null;

        @DataMember
        public String Notice = null;

        @DataMember
        public String Notice2 = null;
        
        public Integer getTerms() { return Terms; }
        public ContractCalculatedFields setTerms(Integer value) { this.Terms = value; return this; }
        public Integer getPayStream() { return PayStream; }
        public ContractCalculatedFields setPayStream(Integer value) { this.PayStream = value; return this; }
        public BigDecimal getFinalPay() { return FinalPay; }
        public ContractCalculatedFields setFinalPay(BigDecimal value) { this.FinalPay = value; return this; }
        public BigDecimal getAmountDue() { return AmountDue; }
        public ContractCalculatedFields setAmountDue(BigDecimal value) { this.AmountDue = value; return this; }
        public BigDecimal getPayoff() { return Payoff; }
        public ContractCalculatedFields setPayoff(BigDecimal value) { this.Payoff = value; return this; }
        public BigDecimal getDiscountedPayoff() { return DiscountedPayoff; }
        public ContractCalculatedFields setDiscountedPayoff(BigDecimal value) { this.DiscountedPayoff = value; return this; }
        public BigDecimal getRebateFc() { return RebateFc; }
        public ContractCalculatedFields setRebateFc(BigDecimal value) { this.RebateFc = value; return this; }
        public BigDecimal getTotalLate() { return TotalLate; }
        public ContractCalculatedFields setTotalLate(BigDecimal value) { this.TotalLate = value; return this; }
        public BigDecimal getPaymentsLate() { return PaymentsLate; }
        public ContractCalculatedFields setPaymentsLate(BigDecimal value) { this.PaymentsLate = value; return this; }
        public Integer getPaymentsAhead() { return PaymentsAhead; }
        public ContractCalculatedFields setPaymentsAhead(Integer value) { this.PaymentsAhead = value; return this; }
        public BigDecimal getTotalMaintOwed() { return TotalMaintOwed; }
        public ContractCalculatedFields setTotalMaintOwed(BigDecimal value) { this.TotalMaintOwed = value; return this; }
        public BigDecimal getCurrentPlusNext() { return CurrentPlusNext; }
        public ContractCalculatedFields setCurrentPlusNext(BigDecimal value) { this.CurrentPlusNext = value; return this; }
        public Date getPayoffDate() { return PayoffDate; }
        public ContractCalculatedFields setPayoffDate(Date value) { this.PayoffDate = value; return this; }
        public BigDecimal getCreditAmount() { return CreditAmount; }
        public ContractCalculatedFields setCreditAmount(BigDecimal value) { this.CreditAmount = value; return this; }
        public BigDecimal getPrinLessTax() { return PrinLessTax; }
        public ContractCalculatedFields setPrinLessTax(BigDecimal value) { this.PrinLessTax = value; return this; }
        public BigDecimal getMaintLessTax() { return MaintLessTax; }
        public ContractCalculatedFields setMaintLessTax(BigDecimal value) { this.MaintLessTax = value; return this; }
        public BigDecimal getAFeeLessTax() { return AFeeLessTax; }
        public ContractCalculatedFields setAFeeLessTax(BigDecimal value) { this.AFeeLessTax = value; return this; }
        public BigDecimal getPaymentTax() { return PaymentTax; }
        public ContractCalculatedFields setPaymentTax(BigDecimal value) { this.PaymentTax = value; return this; }
        public ArrayList<ContractValuesObject> getRentDueInfo() { return RentDueInfo; }
        public ContractCalculatedFields setRentDueInfo(ArrayList<ContractValuesObject> value) { this.RentDueInfo = value; return this; }
        public ArrayList<ContractValuesObject> getPayoffInfo() { return PayoffInfo; }
        public ContractCalculatedFields setPayoffInfo(ArrayList<ContractValuesObject> value) { this.PayoffInfo = value; return this; }
        public String getNotice() { return Notice; }
        public ContractCalculatedFields setNotice(String value) { this.Notice = value; return this; }
        public String getNotice2() { return Notice2; }
        public ContractCalculatedFields setNotice2(String value) { this.Notice2 = value; return this; }
    }

    @DataContract
    public static class ContractValuesObject
    {
        @DataMember
        public Integer Position = null;

        @DataMember
        public String Display = null;

        @DataMember
        public BigDecimal Value = null;
        
        public Integer getPosition() { return Position; }
        public ContractValuesObject setPosition(Integer value) { this.Position = value; return this; }
        public String getDisplay() { return Display; }
        public ContractValuesObject setDisplay(String value) { this.Display = value; return this; }
        public BigDecimal getValue() { return Value; }
        public ContractValuesObject setValue(BigDecimal value) { this.Value = value; return this; }
    }

    @DataContract
    public static class PaymentGeneric
    {
        @DataMember
        public Date Date = null;

        @DataMember
        public BigDecimal Amount = null;

        @DataMember
        public String Ref = null;
        
        public Date getDate() { return Date; }
        public PaymentGeneric setDate(Date value) { this.Date = value; return this; }
        public BigDecimal getAmount() { return Amount; }
        public PaymentGeneric setAmount(BigDecimal value) { this.Amount = value; return this; }
        public String getRef() { return Ref; }
        public PaymentGeneric setRef(String value) { this.Ref = value; return this; }
    }

}

Java ContractFullDetailsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/ContractFullDetails HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Contracts":[{"Rnt_afee":0,"Rnt_alatedbt":false,"Rnt_amtfin":0,"Rnt_aofinchg":0,"Rnt_apaydbt":false,"Rnt_apaytyp":"String","Rnt_atcode":0,"Rnt_avgbal":0,"Rnt_balance":0,"Rnt_billdays":0,"Rnt_colagency":"String","Rnt_colamt":0,"Rnt_cramt":0,"Rnt_crmo":0,"Rnt_currafee":0,"Rnt_currbal":0,"Rnt_currfc":0,"Rnt_currfeetax1":0,"Rnt_currfeetax2":0,"Rnt_currlte":0,"Rnt_currma":0,"Rnt_curroth":0,"Rnt_currprn":0,"Rnt_currtax1":0,"Rnt_currtax2":0,"Rnt_dayslate":0,"Rnt_daystlst":0,"Rnt_deprcode":"String","Rnt_discount":0,"Rnt_downpay":0,"Rnt_dunn":"String","Rnt_fee":0,"Rnt_finalpay":0,"Rnt_finchg":0,"Rnt_freemos":0,"Rnt_intrate":0,"Rnt_irregular":false,"Rnt_itcode":0,"Rnt_lastpaid":0,"Rnt_latefee":0,"Rnt_lateowed":0,"Rnt_ltcode":0,"Rnt_monma":0,"Rnt_mopayreq":false,"Rnt_mtcode":0,"Rnt_nextpayamt":0,"Rnt_nextpaynum":0,"Rnt_notes":"String","Rnt_exchnotes":"String","Rnt_otherowed":0,"Rnt_payfreq":0,"Rnt_latefreq":0,"Rnt_payfreqtype":0,"Rnt_payment":0,"Rnt_paystrm":0,"Rnt_pk":0,"Rnt_prevamt":0,"Rnt_prevmo":0,"Rnt_price":0,"Rnt_student":"String","Rnt_sub":0,"Rnt_tax":0,"Rnt_taxrate1":0,"Rnt_taxrate2":0,"Rnt_taxrateorig1":0,"Rnt_taxrateorig2":0,"Rnt_tcode":0,"Rnt_term":0,"Rnt_tmaint":0,"Rnt_tradein":0,"Rnt_typer":"String","Acct":0,"TaxLocation":"String","DefaultDesc":"String","PayoffDesc":"String","School":"String","District":"String","Ref":"String","AutoPayDeclined":false,"Inventory":[{"Id":0,"Cat":0,"Cost":0,"Description":"String","Discount":0,"Dunn":"String","InvType":"String","Notes":"String","OurPrice":0,"Qty":0,"ReceiptNotes":"String","Serial":"String","Sub":0,"Total":0,"Sku":"String","Mfg":"String"}],"CardInfo":{"TokenStr":"String","CardType":"String","LastFour":"String","Expiration":"String","ReasonOnFile":"String","TokenPk":0,"Primary":false},"ContractCalculatedFields":{"Terms":0,"PayStream":0,"FinalPay":0,"AmountDue":0,"Payoff":0,"DiscountedPayoff":0,"RebateFc":0,"TotalLate":0,"PaymentsLate":0,"PaymentsAhead":0,"TotalMaintOwed":0,"CurrentPlusNext":0,"CreditAmount":0,"PrinLessTax":0,"MaintLessTax":0,"AFeeLessTax":0,"PaymentTax":0,"RentDueInfo":[{"Position":0,"Display":"String","Value":0}],"PayoffInfo":[{"Position":0,"Display":"String","Value":0}],"Notice":"String","Notice2":"String"},"Payments":[{"Amount":0,"Ref":"String"}],"Rnt_avacodeprin":"String","Rnt_avacodemaint":"String","Rnt_avacodelate":"String","Rnt_avacodelease":"String","Rnt_avacodefin":"String","Rnt_scheduledreturnoption":"String","Rnt_scheduledreturnnotes":"String","Rnt_scheduledreturnstatus":"String"}],"RemainingRecords":0,"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}