Class: AFCSalesforce::Account
- Defined in:
- lib/afc_salesforce/account.rb
Instance Attribute Summary collapse
-
#appraised_value ⇒ Object
Returns the value of attribute appraised_value.
-
#approximate_value ⇒ Object
Returns the value of attribute approximate_value.
-
#call_status__c ⇒ Object
Returns the value of attribute call_status__c.
-
#condo_type ⇒ Object
Returns the value of attribute condo_type.
-
#date_of_last_appraisal ⇒ Object
Returns the value of attribute date_of_last_appraisal.
-
#date_of_purchase ⇒ Object
Returns the value of attribute date_of_purchase.
-
#dm_call ⇒ Object
Returns the value of attribute dm_call.
-
#email ⇒ Object
Returns the value of attribute email.
-
#endorser ⇒ Object
Returns the value of attribute endorser.
-
#first_mortgage_balance ⇒ Object
Returns the value of attribute first_mortgage_balance.
-
#first_mortgage_interest_rate ⇒ Object
Returns the value of attribute first_mortgage_interest_rate.
-
#first_mortgage_payment ⇒ Object
Returns the value of attribute first_mortgage_payment.
-
#former_bankruptcy ⇒ Object
Returns the value of attribute former_bankruptcy.
-
#former_foreclosure ⇒ Object
Returns the value of attribute former_foreclosure.
-
#hoa_dues ⇒ Object
Returns the value of attribute hoa_dues.
-
#initial_purchase_price ⇒ Object
Returns the value of attribute initial_purchase_price.
-
#internet_source ⇒ Object
Returns the value of attribute internet_source.
-
#is_escrowed ⇒ Object
Returns the value of attribute is_escrowed.
-
#is_va_eligible ⇒ Object
Returns the value of attribute is_va_eligible.
-
#last_appraisal__c ⇒ Object
Returns the value of attribute last_appraisal__c.
-
#loan_purpose ⇒ Object
Returns the value of attribute loan_purpose.
-
#loan_type ⇒ Object
Returns the value of attribute loan_type.
-
#monthly_insurance ⇒ Object
Returns the value of attribute monthly_insurance.
-
#monthly_taxes ⇒ Object
Returns the value of attribute monthly_taxes.
-
#name ⇒ Object
Returns the value of attribute name.
-
#number_of_units ⇒ Object
Returns the value of attribute number_of_units.
-
#occupancy_type ⇒ Object
Returns the value of attribute occupancy_type.
-
#original_endorser ⇒ Object
Returns the value of attribute original_endorser.
-
#original_source ⇒ Object
Returns the value of attribute original_source.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#program_type ⇒ Object
Returns the value of attribute program_type.
-
#property_acre_count ⇒ Object
Returns the value of attribute property_acre_count.
-
#property_bathroom_count ⇒ Object
Returns the value of attribute property_bathroom_count.
-
#property_bedroom_count ⇒ Object
Returns the value of attribute property_bedroom_count.
-
#property_city ⇒ Object
Returns the value of attribute property_city.
-
#property_close_date ⇒ Object
Returns the value of attribute property_close_date.
-
#property_down_payment ⇒ Object
Returns the value of attribute property_down_payment.
-
#property_price ⇒ Object
Returns the value of attribute property_price.
-
#property_state ⇒ Object
Returns the value of attribute property_state.
-
#property_street ⇒ Object
Returns the value of attribute property_street.
-
#property_type ⇒ Object
Returns the value of attribute property_type.
-
#property_zip ⇒ Object
Returns the value of attribute property_zip.
-
#purchase_close_date ⇒ Object
Returns the value of attribute purchase_close_date.
-
#purchase_date ⇒ Object
Returns the value of attribute purchase_date.
-
#realtor_email ⇒ Object
Returns the value of attribute realtor_email.
-
#realtor_name ⇒ Object
Returns the value of attribute realtor_name.
-
#realtor_phone ⇒ Object
Returns the value of attribute realtor_phone.
-
#realtor_sign_up_date ⇒ Object
Returns the value of attribute realtor_sign_up_date.
-
#refinance_loan_type ⇒ Object
Returns the value of attribute refinance_loan_type.
-
#refinance_reason ⇒ Object
Returns the value of attribute refinance_reason.
-
#residence_type ⇒ Object
Returns the value of attribute residence_type.
-
#second_mortgage ⇒ Object
Returns the value of attribute second_mortgage.
-
#second_mortgage_balance ⇒ Object
Returns the value of attribute second_mortgage_balance.
-
#second_mortgage_date_opened ⇒ Object
Returns the value of attribute second_mortgage_date_opened.
-
#second_mortgage_payment ⇒ Object
Returns the value of attribute second_mortgage_payment.
-
#second_mortgage_rate ⇒ Object
Returns the value of attribute second_mortgage_rate.
-
#session_uuid ⇒ Object
Returns the value of attribute session_uuid.
-
#source ⇒ Object
Returns the value of attribute source.
-
#square_feet ⇒ Object
Returns the value of attribute square_feet.
-
#subject_property_city ⇒ Object
Returns the value of attribute subject_property_city.
-
#subject_property_state ⇒ Object
Returns the value of attribute subject_property_state.
-
#working_with_realtor ⇒ Object
Returns the value of attribute working_with_realtor.
-
#x2nd_mortgage_date_opened__c ⇒ Object
Returns the value of attribute x2nd_mortgage_date_opened__c.
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
#appraised_value ⇒ Object
Returns the value of attribute appraised_value.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def appraised_value @appraised_value end |
#approximate_value ⇒ Object
Returns the value of attribute approximate_value.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def approximate_value @approximate_value end |
#call_status__c ⇒ Object
Returns the value of attribute call_status__c.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def call_status__c @call_status__c end |
#condo_type ⇒ Object
Returns the value of attribute condo_type.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def condo_type @condo_type end |
#date_of_last_appraisal ⇒ Object
Returns the value of attribute date_of_last_appraisal.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def date_of_last_appraisal @date_of_last_appraisal end |
#date_of_purchase ⇒ Object
Returns the value of attribute date_of_purchase.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def date_of_purchase @date_of_purchase end |
#dm_call ⇒ Object
Returns the value of attribute dm_call.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def dm_call @dm_call end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def email @email end |
#endorser ⇒ Object
Returns the value of attribute endorser.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def endorser @endorser end |
#first_mortgage_balance ⇒ Object
Returns the value of attribute first_mortgage_balance.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def first_mortgage_balance @first_mortgage_balance end |
#first_mortgage_interest_rate ⇒ Object
Returns the value of attribute first_mortgage_interest_rate.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def first_mortgage_interest_rate @first_mortgage_interest_rate end |
#first_mortgage_payment ⇒ Object
Returns the value of attribute first_mortgage_payment.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def first_mortgage_payment @first_mortgage_payment end |
#former_bankruptcy ⇒ Object
Returns the value of attribute former_bankruptcy.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def former_bankruptcy @former_bankruptcy end |
#former_foreclosure ⇒ Object
Returns the value of attribute former_foreclosure.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def former_foreclosure @former_foreclosure end |
#hoa_dues ⇒ Object
Returns the value of attribute hoa_dues.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def hoa_dues @hoa_dues end |
#initial_purchase_price ⇒ Object
Returns the value of attribute initial_purchase_price.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def initial_purchase_price @initial_purchase_price end |
#internet_source ⇒ Object
Returns the value of attribute internet_source.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def internet_source @internet_source end |
#is_escrowed ⇒ Object
Returns the value of attribute is_escrowed.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def is_escrowed @is_escrowed end |
#is_va_eligible ⇒ Object
Returns the value of attribute is_va_eligible.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def is_va_eligible @is_va_eligible end |
#last_appraisal__c ⇒ Object
Returns the value of attribute last_appraisal__c.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def last_appraisal__c @last_appraisal__c end |
#loan_purpose ⇒ Object
Returns the value of attribute loan_purpose.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def loan_purpose @loan_purpose end |
#loan_type ⇒ Object
Returns the value of attribute loan_type.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def loan_type @loan_type end |
#monthly_insurance ⇒ Object
Returns the value of attribute monthly_insurance.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def monthly_insurance @monthly_insurance end |
#monthly_taxes ⇒ Object
Returns the value of attribute monthly_taxes.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def monthly_taxes @monthly_taxes end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def name @name end |
#number_of_units ⇒ Object
Returns the value of attribute number_of_units.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def number_of_units @number_of_units end |
#occupancy_type ⇒ Object
Returns the value of attribute occupancy_type.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def occupancy_type @occupancy_type end |
#original_endorser ⇒ Object
Returns the value of attribute original_endorser.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def original_endorser @original_endorser end |
#original_source ⇒ Object
Returns the value of attribute original_source.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def original_source @original_source end |
#phone ⇒ Object
Returns the value of attribute phone.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def phone @phone end |
#program_type ⇒ Object
Returns the value of attribute program_type.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def program_type @program_type end |
#property_acre_count ⇒ Object
Returns the value of attribute property_acre_count.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_acre_count @property_acre_count end |
#property_bathroom_count ⇒ Object
Returns the value of attribute property_bathroom_count.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_bathroom_count @property_bathroom_count end |
#property_bedroom_count ⇒ Object
Returns the value of attribute property_bedroom_count.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_bedroom_count @property_bedroom_count end |
#property_city ⇒ Object
Returns the value of attribute property_city.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_city @property_city end |
#property_close_date ⇒ Object
Returns the value of attribute property_close_date.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_close_date @property_close_date end |
#property_down_payment ⇒ Object
Returns the value of attribute property_down_payment.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_down_payment @property_down_payment end |
#property_price ⇒ Object
Returns the value of attribute property_price.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_price @property_price end |
#property_state ⇒ Object
Returns the value of attribute property_state.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_state @property_state end |
#property_street ⇒ Object
Returns the value of attribute property_street.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_street @property_street end |
#property_type ⇒ Object
Returns the value of attribute property_type.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_type @property_type end |
#property_zip ⇒ Object
Returns the value of attribute property_zip.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def property_zip @property_zip end |
#purchase_close_date ⇒ Object
Returns the value of attribute purchase_close_date.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def purchase_close_date @purchase_close_date end |
#purchase_date ⇒ Object
Returns the value of attribute purchase_date.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def purchase_date @purchase_date end |
#realtor_email ⇒ Object
Returns the value of attribute realtor_email.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def realtor_email @realtor_email end |
#realtor_name ⇒ Object
Returns the value of attribute realtor_name.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def realtor_name @realtor_name end |
#realtor_phone ⇒ Object
Returns the value of attribute realtor_phone.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def realtor_phone @realtor_phone end |
#realtor_sign_up_date ⇒ Object
Returns the value of attribute realtor_sign_up_date.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def realtor_sign_up_date @realtor_sign_up_date end |
#refinance_loan_type ⇒ Object
Returns the value of attribute refinance_loan_type.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def refinance_loan_type @refinance_loan_type end |
#refinance_reason ⇒ Object
Returns the value of attribute refinance_reason.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def refinance_reason @refinance_reason end |
#residence_type ⇒ Object
Returns the value of attribute residence_type.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def residence_type @residence_type end |
#second_mortgage ⇒ Object
Returns the value of attribute second_mortgage.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def second_mortgage @second_mortgage end |
#second_mortgage_balance ⇒ Object
Returns the value of attribute second_mortgage_balance.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def second_mortgage_balance @second_mortgage_balance end |
#second_mortgage_date_opened ⇒ Object
Returns the value of attribute second_mortgage_date_opened.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def second_mortgage_date_opened @second_mortgage_date_opened end |
#second_mortgage_payment ⇒ Object
Returns the value of attribute second_mortgage_payment.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def second_mortgage_payment @second_mortgage_payment end |
#second_mortgage_rate ⇒ Object
Returns the value of attribute second_mortgage_rate.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def second_mortgage_rate @second_mortgage_rate end |
#session_uuid ⇒ Object
Returns the value of attribute session_uuid.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def session_uuid @session_uuid end |
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def source @source end |
#square_feet ⇒ Object
Returns the value of attribute square_feet.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def square_feet @square_feet end |
#subject_property_city ⇒ Object
Returns the value of attribute subject_property_city.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def subject_property_city @subject_property_city end |
#subject_property_state ⇒ Object
Returns the value of attribute subject_property_state.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def subject_property_state @subject_property_state end |
#working_with_realtor ⇒ Object
Returns the value of attribute working_with_realtor.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def working_with_realtor @working_with_realtor end |
#x2nd_mortgage_date_opened__c ⇒ Object
Returns the value of attribute x2nd_mortgage_date_opened__c.
3 4 5 |
# File 'lib/afc_salesforce/account.rb', line 3 def x2nd_mortgage_date_opened__c @x2nd_mortgage_date_opened__c end |
Instance Method Details
#to_h ⇒ Object
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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/afc_salesforce/account.rb', line 67 def to_h AFCSalesforce::Models::Account.new( acres__c: @property_acre_count, appraised_value__c: @appraised_value, approximate_value__c: @approximate_value, bathrooms__c: @property_bathroom_count, bedrooms__c: @property_bedroom_count, billingcity: @property_city, billingpostalcode: @property_zip, billingstate: @property_state, billingstreet: @property_street, call_status__c: @call_status__c, condo_type__c: @condo_type, dm_call__c: @dm_call, down_payment__c: @property_down_payment, endorser__c: @endorser, escrowed__c: @is_escrowed, former_bankruptcy__c: @former_bankruptcy, former_foreclosure__c: @former_foreclosure, hoa_dues__c: @hoa_dues, internet_source__c: @internet_source, last_appraisal__c: @date_of_last_appraisal, loan_purpose__c: @loan_purpose, loan_type__c: @refinance_loan_type, monthly_insurance__c: @monthly_insurance, monthly_taxes__c: @monthly_taxes, name: @name, new_purchase_price__c: @property_price, number_of_units__c: @number_of_units, occupancy_type__c: @occupancy_type, original_endorser__c: @original_endorser, original_purchase_price__c: @initial_purchase_price, original_source__c: @original_source, phone: @phone, program_type__c: @program_type, property_type__c: @property_type, puchase_close_date__c: @purchase_close_date, purchase_date__c: @purchase_date, realtor_email__c: @realtor_email, realtor_name__c: @realtor_name, realtor_phone_number__c: @realtor_phone, refinance_purpose__c: @refinance_reason, residence_type__c: @residence_type, session_uuid__c: @session_uuid, source__c: @source, square_feet__c: @square_feet, subject_property_city__c: @subject_property_city, subject_property_state__c: @subject_property_state, type__c: @loan_type, va_eligible__c: @is_va_eligible, working_with_realtor__c: @working_with_realtor, x1st_mortgage_balance__c: @first_mortgage_balance, x1st_mortgage_payment__c: @first_mortgage_payment, x1st_mortgage_rate__c: @first_mortgage_interest_rate, x2nd_mortgage__c: @second_mortgage, x2nd_mortgage_balance__c: @second_mortgage_balance, x2nd_mortgage_date_opened__c: @second_mortgage_date_opened, x2nd_mortgage_payment__c: @second_mortgage_payment, x2nd_mortgage_rate__c: @second_mortgage_rate ).to_h end |