Current section

Files

Jump to
ex_financial_modeling_prep lib struct company.ex
Raw

lib/struct/company.ex

defmodule ExFinancialModelingPrep.Struct.Company do
@moduledoc """
Type: Company
"""
@enforce_keys [:name, :symbol]
@type t :: %__MODULE__{
cik: String.t(),
name: String.t(),
sector: String.t(),
symbol: String.t(),
sub_sector: String.t(),
year_founded: integer()
}
defstruct [
:name,
:cik,
:symbol,
:sector,
:sub_sector,
:year_founded
]
end