class Financialmodelingprep::IncomeStatement

Overview

Income Statement

Included Modules

Defined in:

financialmodelingprep/models/income_statement.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.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


[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.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


[View source]

Instance Method Detail

def ==(o) #

Checks equality by comparing each attribute. @param [Object] Object to be compared


[View source]
def _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


[View source]
def _to_hash(value) #

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


[View source]
def accepted_date : String | Nil #

Optional properties


[View source]
def accepted_date=(accepted_date : String | Nil) #

Optional properties


[View source]
def 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


[View source]
def calendar_year : String | Nil #

[View source]
def calendar_year=(calendar_year : String | Nil) #

[View source]
def cik : String | Nil #

[View source]
def cik=(cik : String | Nil) #

[View source]
def cost_and_expenses : Float64 | Nil #

[View source]
def cost_and_expenses=(cost_and_expenses : Float64 | Nil) #

[View source]
def cost_of_revenue : Float64 | Nil #

[View source]
def cost_of_revenue=(cost_of_revenue : Float64 | Nil) #

[View source]
def date : Time | Nil #

[View source]
def date=(date : Time | Nil) #

[View source]
def depreciation_and_amortization : Float64 | Nil #

[View source]
def depreciation_and_amortization=(depreciation_and_amortization : Float64 | Nil) #

[View source]
def ebitda : Float64 | Nil #

[View source]
def ebitda=(ebitda : Float64 | Nil) #

[View source]
def ebitdaratio : Float64 | Nil #

[View source]
def ebitdaratio=(ebitdaratio : Float64 | Nil) #

[View source]
def eps : Float64 | Nil #

[View source]
def eps=(eps : Float64 | Nil) #

[View source]
def epsdiluted : Float64 | Nil #

[View source]
def epsdiluted=(epsdiluted : Float64 | Nil) #

[View source]
def eql?(o) #

@see the #== method @param [Object] Object to be compared


[View source]
def filling_date : Time | Nil #

[View source]
def filling_date=(filling_date : Time | Nil) #

[View source]
def final_link : String | Nil #

[View source]
def final_link=(final_link : String | Nil) #

[View source]
def general_and_administrative_expenses : Float64 | Nil #

[View source]
def general_and_administrative_expenses=(general_and_administrative_expenses : Float64 | Nil) #

[View source]
def gross_profit : Float64 | Nil #

[View source]
def gross_profit=(gross_profit : Float64 | Nil) #

[View source]
def gross_profit_ratio : Float64 | Nil #

[View source]
def gross_profit_ratio=(gross_profit_ratio : Float64 | Nil) #

[View source]
def hash #

Calculates hash code according to all attributes. @return [Integer] Hash code


[View source]
def income_before_tax : Float64 | Nil #

[View source]
def income_before_tax=(income_before_tax : Float64 | Nil) #

[View source]
def income_before_tax_ratio : Float64 | Nil #

[View source]
def income_before_tax_ratio=(income_before_tax_ratio : Float64 | Nil) #

[View source]
def income_tax_expense : Float64 | Nil #

[View source]
def income_tax_expense=(income_tax_expense : Float64 | Nil) #

[View source]
def interest_expense : Float64 | Nil #

[View source]
def interest_expense=(interest_expense : Float64 | Nil) #

[View source]
def interest_income : Float64 | Nil #

[View source]
def interest_income=(interest_income : Float64 | Nil) #

[View source]
def interestincome : Float64 | Nil #

[View source]
def interestincome=(interestincome : Float64 | Nil) #

[View source]
def link : String | Nil #

[View source]
def link=(link : String | Nil) #

[View source]
def list_invalid_properties #

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons


[View source]
def net_income : Float64 | Nil #

[View source]
def net_income=(net_income : Float64 | Nil) #

[View source]
def net_income_ratio : Float64 | Nil #

[View source]
def net_income_ratio=(net_income_ratio : Float64 | Nil) #

[View source]
def operating_expenses : Float64 | Nil #

[View source]
def operating_expenses=(operating_expenses : Float64 | Nil) #

[View source]
def operating_income : Float64 | Nil #

[View source]
def operating_income=(operating_income : Float64 | Nil) #

[View source]
def operating_income_ratio : Float64 | Nil #

[View source]
def operating_income_ratio=(operating_income_ratio : Float64 | Nil) #

[View source]
def other_expenses : Float64 | Nil #

[View source]
def other_expenses=(other_expenses : Float64 | Nil) #

[View source]
def period : String | Nil #

[View source]
def period=(period : String | Nil) #

[View source]
def reported_currency : String | Nil #

[View source]
def reported_currency=(reported_currency : String | Nil) #

[View source]
def research_and_development_expenses : Float64 | Nil #

[View source]
def research_and_development_expenses=(research_and_development_expenses : Float64 | Nil) #

[View source]
def revenue : Float64 | Nil #

[View source]
def revenue=(revenue : Float64 | Nil) #

[View source]
def selling_and_marketing_expenses : Float64 | Nil #

[View source]
def selling_and_marketing_expenses=(selling_and_marketing_expenses : Float64 | Nil) #

[View source]
def selling_general_and_administrative_expenses : Float64 | Nil #

[View source]
def selling_general_and_administrative_expenses=(selling_general_and_administrative_expenses : Float64 | Nil) #

[View source]
def symbol : String | Nil #

[View source]
def symbol=(symbol : String | Nil) #

[View source]
def to_body #

to_body is an alias to to_hash (backward compatibility) @return [Hash] Returns the object in the form of hash


[View source]
def to_hash #

Returns the object in the form of hash @return [Hash] Returns the object in the form of hash


[View source]
def to_s #

Returns the string representation of the object @return [String] String presentation of the object


[View source]
def total_other_income_expenses_net : Float64 | Nil #

[View source]
def total_other_income_expenses_net=(total_other_income_expenses_net : Float64 | Nil) #

[View source]
def valid? #

Check to see if the all the properties in the model are valid @return true if the model is valid


[View source]
def weighted_average_shs_out : Float64 | Nil #

[View source]
def weighted_average_shs_out=(weighted_average_shs_out : Float64 | Nil) #

[View source]
def weighted_average_shs_out_dil : Float64 | Nil #

[View source]
def weighted_average_shs_out_dil=(weighted_average_shs_out_dil : Float64 | Nil) #

[View source]