Class: AFCSalesforce::Models::Income
- Defined in:
- lib/afc_salesforce/models/income.rb
Instance Attribute Summary collapse
-
#amount__c ⇒ Object
Returns the value of attribute amount__c.
-
#borrower__c ⇒ Object
Returns the value of attribute borrower__c.
-
#createdby ⇒ Object
Returns the value of attribute createdby.
-
#description__c ⇒ Object
Returns the value of attribute description__c.
-
#is_self_employed__c ⇒ Object
Returns the value of attribute is_self_employed__c.
-
#lastmodifiedby ⇒ Object
Returns the value of attribute lastmodifiedby.
-
#name ⇒ Object
Returns the value of attribute name.
-
#otherincomeid__c ⇒ Object
Returns the value of attribute otherincomeid__c.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#type__c ⇒ Object
Returns the value of attribute type__c.
Instance Method Summary collapse
Methods inherited from Base
Methods included from Concerns::TypeSetter
Constructor Details
This class inherits a constructor from AFCSalesforce::Models::Base
Instance Attribute Details
#amount__c ⇒ Object
Returns the value of attribute amount__c.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def amount__c @amount__c end |
#borrower__c ⇒ Object
Returns the value of attribute borrower__c.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def borrower__c @borrower__c end |
#createdby ⇒ Object
Returns the value of attribute createdby.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def createdby @createdby end |
#description__c ⇒ Object
Returns the value of attribute description__c.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def description__c @description__c end |
#is_self_employed__c ⇒ Object
Returns the value of attribute is_self_employed__c.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def is_self_employed__c @is_self_employed__c end |
#lastmodifiedby ⇒ Object
Returns the value of attribute lastmodifiedby.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def lastmodifiedby @lastmodifiedby end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def name @name end |
#otherincomeid__c ⇒ Object
Returns the value of attribute otherincomeid__c.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def otherincomeid__c @otherincomeid__c end |
#owner ⇒ Object
Returns the value of attribute owner.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def owner @owner end |
#type__c ⇒ Object
Returns the value of attribute type__c.
4 5 6 |
# File 'lib/afc_salesforce/models/income.rb', line 4 def type__c @type__c end |
Instance Method Details
#to_h ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/afc_salesforce/models/income.rb', line 9 def to_h { :"CreatedBy" => @createdby, :"LastModifiedBy" => @lastmodifiedby, :"Name" => @name, :"Owner" => @owner, :"Amount__c" => @amount__c, :"Borrower__c" => @borrower__c, :"Description__c" => @description__c, :"Is_Self_Employed__c" => @is_self_employed__c, :"OtherIncomeID__c" => @otherincomeid__c, :"Type__c" => @type__c }.select{ |k,v| !v.nil? } end |