Class: AFCSalesforce::Borrower
- Defined in:
- lib/afc_salesforce/borrower.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#email ⇒ Object
Returns the value of attribute email.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#income_type ⇒ Object
Returns the value of attribute income_type.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#marital_status ⇒ Object
Returns the value of attribute marital_status.
-
#middle_name ⇒ Object
Returns the value of attribute middle_name.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#session_uuid ⇒ Object
Returns the value of attribute session_uuid.
-
#ssn ⇒ Object
Returns the value of attribute ssn.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street ⇒ Object
Returns the value of attribute street.
-
#suffix ⇒ Object
Returns the value of attribute suffix.
-
#va_dependent_ages ⇒ Object
Returns the value of attribute va_dependent_ages.
-
#va_dependent_count ⇒ Object
Returns the value of attribute va_dependent_count.
-
#velo__status__c ⇒ Object
Returns the value of attribute velo__status__c.
-
#x1_prev_emp_from ⇒ Object
Returns the value of attribute x1_prev_emp_from.
-
#x1_prev_emp_monthly_income ⇒ Object
Returns the value of attribute x1_prev_emp_monthly_income.
-
#x1_prev_emp_name ⇒ Object
Returns the value of attribute x1_prev_emp_name.
-
#x1_prev_emp_to ⇒ Object
Returns the value of attribute x1_prev_emp_to.
-
#x1_residence_city ⇒ Object
Returns the value of attribute x1_residence_city.
-
#x1_residence_state ⇒ Object
Returns the value of attribute x1_residence_state.
-
#x1_residence_street ⇒ Object
Returns the value of attribute x1_residence_street.
-
#x1_residence_zip ⇒ Object
Returns the value of attribute x1_residence_zip.
-
#x2_prev_emp_from ⇒ Object
Returns the value of attribute x2_prev_emp_from.
-
#x2_prev_emp_monthly_income ⇒ Object
Returns the value of attribute x2_prev_emp_monthly_income.
-
#x2_prev_emp_name ⇒ Object
Returns the value of attribute x2_prev_emp_name.
-
#x2_prev_emp_to ⇒ Object
Returns the value of attribute x2_prev_emp_to.
-
#x2_residence_city ⇒ Object
Returns the value of attribute x2_residence_city.
-
#x2_residence_state ⇒ Object
Returns the value of attribute x2_residence_state.
-
#x2_residence_street ⇒ Object
Returns the value of attribute x2_residence_street.
-
#x2_residence_zip ⇒ Object
Returns the value of attribute x2_residence_zip.
-
#x3_residence_city ⇒ Object
Returns the value of attribute x3_residence_city.
-
#x3_residence_state ⇒ Object
Returns the value of attribute x3_residence_state.
-
#x3_residence_street ⇒ Object
Returns the value of attribute x3_residence_street.
-
#x3_residence_zip ⇒ Object
Returns the value of attribute x3_residence_zip.
-
#zip ⇒ Object
Returns the value of attribute zip.
Instance Method Summary collapse
Methods inherited from Base
Methods included from Models::Concerns::TypeSetter
Constructor Details
This class inherits a constructor from AFCSalesforce::Base
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def city @city end |
#company_name ⇒ Object
Returns the value of attribute company_name.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def company_name @company_name end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def email @email end |
#first_name ⇒ Object
Returns the value of attribute first_name.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def first_name @first_name end |
#income_type ⇒ Object
Returns the value of attribute income_type.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def income_type @income_type end |
#last_name ⇒ Object
Returns the value of attribute last_name.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def last_name @last_name end |
#marital_status ⇒ Object
Returns the value of attribute marital_status.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def marital_status @marital_status end |
#middle_name ⇒ Object
Returns the value of attribute middle_name.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def middle_name @middle_name end |
#phone ⇒ Object
Returns the value of attribute phone.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def phone @phone end |
#session_uuid ⇒ Object
Returns the value of attribute session_uuid.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def session_uuid @session_uuid end |
#ssn ⇒ Object
Returns the value of attribute ssn.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def ssn @ssn end |
#state ⇒ Object
Returns the value of attribute state.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def state @state end |
#street ⇒ Object
Returns the value of attribute street.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def street @street end |
#suffix ⇒ Object
Returns the value of attribute suffix.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def suffix @suffix end |
#va_dependent_ages ⇒ Object
Returns the value of attribute va_dependent_ages.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def va_dependent_ages @va_dependent_ages end |
#va_dependent_count ⇒ Object
Returns the value of attribute va_dependent_count.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def va_dependent_count @va_dependent_count end |
#velo__status__c ⇒ Object
Returns the value of attribute velo__status__c.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def velo__status__c @velo__status__c end |
#x1_prev_emp_from ⇒ Object
Returns the value of attribute x1_prev_emp_from.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_prev_emp_from @x1_prev_emp_from end |
#x1_prev_emp_monthly_income ⇒ Object
Returns the value of attribute x1_prev_emp_monthly_income.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_prev_emp_monthly_income @x1_prev_emp_monthly_income end |
#x1_prev_emp_name ⇒ Object
Returns the value of attribute x1_prev_emp_name.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_prev_emp_name @x1_prev_emp_name end |
#x1_prev_emp_to ⇒ Object
Returns the value of attribute x1_prev_emp_to.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_prev_emp_to @x1_prev_emp_to end |
#x1_residence_city ⇒ Object
Returns the value of attribute x1_residence_city.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_residence_city @x1_residence_city end |
#x1_residence_state ⇒ Object
Returns the value of attribute x1_residence_state.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_residence_state @x1_residence_state end |
#x1_residence_street ⇒ Object
Returns the value of attribute x1_residence_street.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_residence_street @x1_residence_street end |
#x1_residence_zip ⇒ Object
Returns the value of attribute x1_residence_zip.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x1_residence_zip @x1_residence_zip end |
#x2_prev_emp_from ⇒ Object
Returns the value of attribute x2_prev_emp_from.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_prev_emp_from @x2_prev_emp_from end |
#x2_prev_emp_monthly_income ⇒ Object
Returns the value of attribute x2_prev_emp_monthly_income.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_prev_emp_monthly_income @x2_prev_emp_monthly_income end |
#x2_prev_emp_name ⇒ Object
Returns the value of attribute x2_prev_emp_name.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_prev_emp_name @x2_prev_emp_name end |
#x2_prev_emp_to ⇒ Object
Returns the value of attribute x2_prev_emp_to.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_prev_emp_to @x2_prev_emp_to end |
#x2_residence_city ⇒ Object
Returns the value of attribute x2_residence_city.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_residence_city @x2_residence_city end |
#x2_residence_state ⇒ Object
Returns the value of attribute x2_residence_state.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_residence_state @x2_residence_state end |
#x2_residence_street ⇒ Object
Returns the value of attribute x2_residence_street.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_residence_street @x2_residence_street end |
#x2_residence_zip ⇒ Object
Returns the value of attribute x2_residence_zip.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x2_residence_zip @x2_residence_zip end |
#x3_residence_city ⇒ Object
Returns the value of attribute x3_residence_city.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x3_residence_city @x3_residence_city end |
#x3_residence_state ⇒ Object
Returns the value of attribute x3_residence_state.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x3_residence_state @x3_residence_state end |
#x3_residence_street ⇒ Object
Returns the value of attribute x3_residence_street.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x3_residence_street @x3_residence_street end |
#x3_residence_zip ⇒ Object
Returns the value of attribute x3_residence_zip.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def x3_residence_zip @x3_residence_zip end |
#zip ⇒ Object
Returns the value of attribute zip.
3 4 5 |
# File 'lib/afc_salesforce/borrower.rb', line 3 def zip @zip end |
Instance Method Details
#to_h ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/afc_salesforce/borrower.rb', line 51 def to_h AFCSalesforce::Models::Contact.new( additional_income_type__c: @income_type, birthdate: @birthdate, bor_company_name__c: @company_name, email: @email, firstname: @first_name, is_self_employed__c: @is_self_employed, lastname: @last_name, mailingcity: @city, mailingpostalcode: @zip, mailingstate: @state, mailingstreet: @street, marital_status__c: @marital_status, middle_name__c: @middle_name, monthly_income__c: @monthly_income, phone: @phone, primary_borrower__c: @is_primary, session_uuid__c: @session_uuid, ssn__c: @ssn, suffix__c: @suffix, va_dependent_ages__c: @va_dependent_ages, va_dependent_count__c: @va_dependent_count, velo__status__c: @velo__status__c, x1_prev_emp_from__c: @x1_prev_emp_from, x2_prev_emp_from__c: @x2_prev_emp_from, x1_prev_emp_monthly_income__c: @x1_prev_emp_monthly_income, x2_prev_emp_monthly_income__c: @x2_prev_emp_monthly_income, x1_prev_emp_name__c: @x1_prev_emp_name, x2_prev_emp_name__c: @x2_prev_emp_name, x1_prev_emp_to__c: @x1_prev_emp_to, x2_prev_emp_to__c: @x2_prev_emp_to, x1_residence_city__c: @x1_residence_city, x1_residence_state__c: @x1_residence_state, x1_residence_street__c: @x1_residence_street, x1_residence_zip__c: @x1_residence_zip, x2_residence_city__c: @x2_residence_city, x2_residence_state__c: @x2_residence_state, x2_residence_street__c: @x2_residence_street, x2_residence_zip__c: @x2_residence_zip, x3_residence_city__c: @x3_residence_city, x3_residence_state__c: @x3_residence_state, x3_residence_street__c: @x3_residence_street, x3_residence_zip__c: @x3_residence_zip, yearly_income__c: @yearly_income, years_on_the_job__c: @years_on_job ).to_h end |