Module: LiteXBRL::TDnet::SummaryAttribute

Included in:
Summary, Summary2
Defined in:
lib/litexbrl/tdnet/summary_attribute.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cash_and_equivalents_end_of_periodObject

Returns the value of attribute cash_and_equivalents_end_of_period.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def cash_and_equivalents_end_of_period
  @cash_and_equivalents_end_of_period
end

#cash_flows_from_financing_activitiesObject

Returns the value of attribute cash_flows_from_financing_activities.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def cash_flows_from_financing_activities
  @cash_flows_from_financing_activities
end

#cash_flows_from_investing_activitiesObject

Returns the value of attribute cash_flows_from_investing_activities.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def cash_flows_from_investing_activities
  @cash_flows_from_investing_activities
end

#cash_flows_from_operating_activitiesObject

Returns the value of attribute cash_flows_from_operating_activities.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def cash_flows_from_operating_activities
  @cash_flows_from_operating_activities
end

#change_in_forecast_net_incomeObject

Returns the value of attribute change_in_forecast_net_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_forecast_net_income
  @change_in_forecast_net_income
end

#change_in_forecast_net_salesObject

Returns the value of attribute change_in_forecast_net_sales.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_forecast_net_sales
  @change_in_forecast_net_sales
end

#change_in_forecast_operating_incomeObject

Returns the value of attribute change_in_forecast_operating_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_forecast_operating_income
  @change_in_forecast_operating_income
end

#change_in_forecast_ordinary_incomeObject

Returns the value of attribute change_in_forecast_ordinary_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_forecast_ordinary_income
  @change_in_forecast_ordinary_income
end

#change_in_net_incomeObject

Returns the value of attribute change_in_net_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_net_income
  @change_in_net_income
end

#change_in_net_salesObject

Returns the value of attribute change_in_net_sales.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_net_sales
  @change_in_net_sales
end

#change_in_operating_incomeObject

Returns the value of attribute change_in_operating_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_operating_income
  @change_in_operating_income
end

#change_in_ordinary_incomeObject

Returns the value of attribute change_in_ordinary_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_ordinary_income
  @change_in_ordinary_income
end

#change_in_prior_net_incomeObject

Returns the value of attribute change_in_prior_net_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_prior_net_income
  @change_in_prior_net_income
end

#change_in_prior_net_salesObject

Returns the value of attribute change_in_prior_net_sales.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_prior_net_sales
  @change_in_prior_net_sales
end

#change_in_prior_operating_incomeObject

Returns the value of attribute change_in_prior_operating_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_prior_operating_income
  @change_in_prior_operating_income
end

#change_in_prior_ordinary_incomeObject

Returns the value of attribute change_in_prior_ordinary_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def change_in_prior_ordinary_income
  @change_in_prior_ordinary_income
end

#codeObject

Returns the value of attribute code.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def code
  @code
end

#consolidationObject

Returns the value of attribute consolidation.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def consolidation
  @consolidation
end

#forecast_net_incomeObject

Returns the value of attribute forecast_net_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def forecast_net_income
  @forecast_net_income
end

#forecast_net_income_per_shareObject

Returns the value of attribute forecast_net_income_per_share.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def forecast_net_income_per_share
  @forecast_net_income_per_share
end

#forecast_net_salesObject

Returns the value of attribute forecast_net_sales.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def forecast_net_sales
  @forecast_net_sales
end

#forecast_operating_incomeObject

Returns the value of attribute forecast_operating_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def forecast_operating_income
  @forecast_operating_income
end

#forecast_ordinary_incomeObject

Returns the value of attribute forecast_ordinary_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def forecast_ordinary_income
  @forecast_ordinary_income
end

#monthObject

Returns the value of attribute month.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def month
  @month
end

#net_assets_per_shareObject

Returns the value of attribute net_assets_per_share.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def net_assets_per_share
  @net_assets_per_share
end

#net_incomeObject

Returns the value of attribute net_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def net_income
  @net_income
end

#net_income_per_shareObject

Returns the value of attribute net_income_per_share.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def net_income_per_share
  @net_income_per_share
end

#net_salesObject

Returns the value of attribute net_sales.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def net_sales
  @net_sales
end

#number_of_sharesObject

Returns the value of attribute number_of_shares.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def number_of_shares
  @number_of_shares
end

#number_of_treasury_stockObject

Returns the value of attribute number_of_treasury_stock.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def number_of_treasury_stock
  @number_of_treasury_stock
end

#operating_incomeObject

Returns the value of attribute operating_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def operating_income
  @operating_income
end

#ordinary_incomeObject

Returns the value of attribute ordinary_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def ordinary_income
  @ordinary_income
end

#owners_equityObject

Returns the value of attribute owners_equity.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def owners_equity
  @owners_equity
end

#prior_net_incomeObject

Returns the value of attribute prior_net_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def prior_net_income
  @prior_net_income
end

#prior_net_income_per_shareObject

Returns the value of attribute prior_net_income_per_share.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def prior_net_income_per_share
  @prior_net_income_per_share
end

#prior_net_salesObject

Returns the value of attribute prior_net_sales.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def prior_net_sales
  @prior_net_sales
end

#prior_operating_incomeObject

Returns the value of attribute prior_operating_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def prior_operating_income
  @prior_operating_income
end

#prior_ordinary_incomeObject

Returns the value of attribute prior_ordinary_income.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def prior_ordinary_income
  @prior_ordinary_income
end

#quarterObject

Returns the value of attribute quarter.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def quarter
  @quarter
end

#yearObject

Returns the value of attribute year.



5
6
7
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 5

def year
  @year
end

Instance Method Details

#attributesObject



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 16

def attributes
  {
    code: code,
    year: year,
    month: month,
    quarter: quarter,
    net_sales: net_sales,
    consolidation: consolidation,
    operating_income: operating_income,
    ordinary_income: ordinary_income,
    net_income: net_income,
    net_income_per_share: net_income_per_share,
    change_in_net_sales: change_in_net_sales,
    change_in_operating_income: change_in_operating_income,
    change_in_ordinary_income: change_in_ordinary_income,
    change_in_net_income: change_in_net_income,
    prior_net_sales: prior_net_sales,
    prior_operating_income: prior_operating_income,
    prior_ordinary_income: prior_ordinary_income,
    prior_net_income: prior_net_income,
    prior_net_income_per_share: prior_net_income_per_share,
    change_in_prior_net_sales: change_in_prior_net_sales,
    change_in_prior_operating_income: change_in_prior_operating_income,
    change_in_prior_ordinary_income: change_in_prior_ordinary_income,
    change_in_prior_net_income: change_in_prior_net_income,
    owners_equity: owners_equity,
    number_of_shares: number_of_shares,
    number_of_treasury_stock: number_of_treasury_stock,
    net_assets_per_share: net_assets_per_share,
  }
end

#attributes_results_forecastObject



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 48

def attributes_results_forecast
  {
    code: code,
    year: quarter == 4 ? year + 1 : year,
    month: month,
    quarter: 4,
    consolidation: consolidation,
    forecast_net_sales: forecast_net_sales,
    forecast_operating_income: forecast_operating_income,
    forecast_ordinary_income: forecast_ordinary_income,
    forecast_net_income: forecast_net_income,
    forecast_net_income_per_share: forecast_net_income_per_share,
    change_in_forecast_net_sales: change_in_forecast_net_sales,
    change_in_forecast_operating_income: change_in_forecast_operating_income,
    change_in_forecast_ordinary_income: change_in_forecast_ordinary_income,
    change_in_forecast_net_income: change_in_forecast_net_income,
  }
end

#cash_flow_attributesObject



67
68
69
70
71
72
73
74
# File 'lib/litexbrl/tdnet/summary_attribute.rb', line 67

def cash_flow_attributes
  {
    cash_flows_from_operating_activities: cash_flows_from_operating_activities,
    cash_flows_from_investing_activities: cash_flows_from_investing_activities,
    cash_flows_from_financing_activities: cash_flows_from_financing_activities,
    cash_and_equivalents_end_of_period: cash_and_equivalents_end_of_period,
  }
end