class Financialmodelingprep::IncomeStatement
- Financialmodelingprep::IncomeStatement
- Reference
- Object
Overview
Income Statement
Included Modules
- JSON::Serializable
Defined in:
financialmodelingprep/models/income_statement.crConstructors
-
.new(accepted_date : String | Nil, calendar_year : String | Nil, cik : String | Nil, cost_and_expenses : Float64 | Nil, cost_of_revenue : Float64 | Nil, date : Time | Nil, depreciation_and_amortization : Float64 | Nil, ebitda : Float64 | Nil, ebitdaratio : Float64 | Nil, eps : Float64 | Nil, epsdiluted : Float64 | Nil, filling_date : Time | Nil, final_link : String | Nil, general_and_administrative_expenses : Float64 | Nil, gross_profit : Float64 | Nil, gross_profit_ratio : Float64 | Nil, income_before_tax : Float64 | Nil, income_before_tax_ratio : Float64 | Nil, income_tax_expense : Float64 | Nil, interest_expense : Float64 | Nil, interest_income : Float64 | Nil, interestincome : Float64 | Nil, link : String | Nil, net_income : Float64 | Nil, net_income_ratio : Float64 | Nil, operating_expenses : Float64 | Nil, operating_income : Float64 | Nil, operating_income_ratio : Float64 | Nil, other_expenses : Float64 | Nil, period : String | Nil, reported_currency : String | Nil, research_and_development_expenses : Float64 | Nil, revenue : Float64 | Nil, selling_and_marketing_expenses : Float64 | Nil, selling_general_and_administrative_expenses : Float64 | Nil, symbol : String | Nil, total_other_income_expenses_net : Float64 | Nil, weighted_average_shs_out : Float64 | Nil, weighted_average_shs_out_dil : Float64 | Nil)
Initializes the object @param [Hash] attributes Model attributes in the form of hash
- .new(pull : JSON::PullParser)
Class Method Summary
-
.build_from_hash(attributes)
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
Instance Method Summary
-
#==(o)
Checks equality by comparing each attribute.
-
#_deserialize(type, value)
Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data
-
#_to_hash(value)
Outputs non-array value in the form of hash For object, use to_hash.
-
#accepted_date : String | Nil
Optional properties
-
#accepted_date=(accepted_date : String | Nil)
Optional properties
-
#build_from_hash(attributes)
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
- #calendar_year : String | Nil
- #calendar_year=(calendar_year : String | Nil)
- #cik : String | Nil
- #cik=(cik : String | Nil)
- #cost_and_expenses : Float64 | Nil
- #cost_and_expenses=(cost_and_expenses : Float64 | Nil)
- #cost_of_revenue : Float64 | Nil
- #cost_of_revenue=(cost_of_revenue : Float64 | Nil)
- #date : Time | Nil
- #date=(date : Time | Nil)
- #depreciation_and_amortization : Float64 | Nil
- #depreciation_and_amortization=(depreciation_and_amortization : Float64 | Nil)
- #ebitda : Float64 | Nil
- #ebitda=(ebitda : Float64 | Nil)
- #ebitdaratio : Float64 | Nil
- #ebitdaratio=(ebitdaratio : Float64 | Nil)
- #eps : Float64 | Nil
- #eps=(eps : Float64 | Nil)
- #epsdiluted : Float64 | Nil
- #epsdiluted=(epsdiluted : Float64 | Nil)
-
#eql?(o)
@see the
#==
method @param [Object] Object to be compared - #filling_date : Time | Nil
- #filling_date=(filling_date : Time | Nil)
- #final_link : String | Nil
- #final_link=(final_link : String | Nil)
- #general_and_administrative_expenses : Float64 | Nil
- #general_and_administrative_expenses=(general_and_administrative_expenses : Float64 | Nil)
- #gross_profit : Float64 | Nil
- #gross_profit=(gross_profit : Float64 | Nil)
- #gross_profit_ratio : Float64 | Nil
- #gross_profit_ratio=(gross_profit_ratio : Float64 | Nil)
-
#hash
Calculates hash code according to all attributes.
- #income_before_tax : Float64 | Nil
- #income_before_tax=(income_before_tax : Float64 | Nil)
- #income_before_tax_ratio : Float64 | Nil
- #income_before_tax_ratio=(income_before_tax_ratio : Float64 | Nil)
- #income_tax_expense : Float64 | Nil
- #income_tax_expense=(income_tax_expense : Float64 | Nil)
- #interest_expense : Float64 | Nil
- #interest_expense=(interest_expense : Float64 | Nil)
- #interest_income : Float64 | Nil
- #interest_income=(interest_income : Float64 | Nil)
- #interestincome : Float64 | Nil
- #interestincome=(interestincome : Float64 | Nil)
- #link : String | Nil
- #link=(link : String | Nil)
-
#list_invalid_properties
Show invalid properties with the reasons.
- #net_income : Float64 | Nil
- #net_income=(net_income : Float64 | Nil)
- #net_income_ratio : Float64 | Nil
- #net_income_ratio=(net_income_ratio : Float64 | Nil)
- #operating_expenses : Float64 | Nil
- #operating_expenses=(operating_expenses : Float64 | Nil)
- #operating_income : Float64 | Nil
- #operating_income=(operating_income : Float64 | Nil)
- #operating_income_ratio : Float64 | Nil
- #operating_income_ratio=(operating_income_ratio : Float64 | Nil)
- #other_expenses : Float64 | Nil
- #other_expenses=(other_expenses : Float64 | Nil)
- #period : String | Nil
- #period=(period : String | Nil)
- #reported_currency : String | Nil
- #reported_currency=(reported_currency : String | Nil)
- #research_and_development_expenses : Float64 | Nil
- #research_and_development_expenses=(research_and_development_expenses : Float64 | Nil)
- #revenue : Float64 | Nil
- #revenue=(revenue : Float64 | Nil)
- #selling_and_marketing_expenses : Float64 | Nil
- #selling_and_marketing_expenses=(selling_and_marketing_expenses : Float64 | Nil)
- #selling_general_and_administrative_expenses : Float64 | Nil
- #selling_general_and_administrative_expenses=(selling_general_and_administrative_expenses : Float64 | Nil)
- #symbol : String | Nil
- #symbol=(symbol : String | Nil)
-
#to_body
to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash
-
#to_hash
Returns the object in the form of hash @return [Hash] Returns the object in the form of hash
-
#to_s
Returns the string representation of the object @return [String] String presentation of the object
- #total_other_income_expenses_net : Float64 | Nil
- #total_other_income_expenses_net=(total_other_income_expenses_net : Float64 | Nil)
-
#valid?
Check to see if the all the properties in the model are valid @return true if the model is valid
- #weighted_average_shs_out : Float64 | Nil
- #weighted_average_shs_out=(weighted_average_shs_out : Float64 | Nil)
- #weighted_average_shs_out_dil : Float64 | Nil
- #weighted_average_shs_out_dil=(weighted_average_shs_out_dil : Float64 | Nil)
Constructor Detail
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Class Method Detail
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
Instance Method Detail
Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value @param [Object] value Any valid value @return [Hash] Returns the value in the form of hash
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash
Returns the object in the form of hash @return [Hash] Returns the object in the form of hash
Returns the string representation of the object @return [String] String presentation of the object
Check to see if the all the properties in the model are valid @return true if the model is valid