コード例 #1
0
        /// <summary>
        /// 
        /// </summary>
        /// 
        /// <param name="source"></param>
        /// 
        /// <returns></returns>
        /// 
        public static DebtLead Assign(DebtLeadType source)
        {
            DebtLead result = new DebtLead();

            result.Id = source.Id;
            result.Guid = source.Guid;
            result.Aid = source.Aid;
            result.Cid = source.Cid;
            result.Tid = source.Tid;
            result.Sid = source.Sid;

            result.FirstName = source.FirstName;
            result.LastName = source.LastName;
            result.Email = source.Email;
            result.Phone = source.Phone;
            result.SecondaryPhone = source.SecondaryPhone;

            result.Street = source.Street;
            result.City = source.City;
            result.Zip = source.Zip;
            result.State = source.State;
            result.Created = source.Created;

            result.CreditCardDebtAmount = source.CreditCardDebtAmount;
            result.UnsecuredDebtAmount = source.UnsecuredDebtAmount;
            result.PaymentStatus = source.PaymentStatus;
            result.MonthlyPayments = source.MonthlyPayments;

            return result;
        }
コード例 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// 
 /// <returns></returns>
 /// 
 public DebtLead CreateValidDebtLead()
 {
     DebtLead lead = new DebtLead();
     lead.Guid = GuidGenerator.Generate();
     lead.Aid = "1000";
     lead.Cid = "202";
     lead.Sid = "voice";
     lead.Tid = "100";
     lead.FirstName = "Test Firstname";
     lead.LastName = "Test Lastname";
     lead.Email = "[email protected]";
     lead.Phone = "3105402121";
     lead.SecondaryPhone = "3105405050";
     lead.Street = "123 Main St.";
     lead.City = "Los Angeles";
     lead.Zip = "90042";
     lead.State = "CA";
     lead.Created = DateTime.Now;
     lead.CreditCardDebtAmount = "30000";
     lead.UnsecuredDebtAmount = "50000";
     lead.PaymentStatus = "30+";
     lead.MonthlyPayments = "400";
     return lead;
 }
コード例 #3
0
 /// <summary>
 /// 
 /// </summary>
 /// 
 /// <returns></returns>
 /// 
 public ExchangeDisposition Allocate(DebtLead lead)
 {
     return Execute(lead);
 }