Skip to content

Commit 2f4afcd

Browse files
committed
Make income statement ratios nullable
1 parent 64a8623 commit 2f4afcd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

FinancialModelingPrepApi/Model/CompanyValuation/IncomeStatementResponse.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class IncomeStatementResponse
3838
public double GrossProfit { get; set; }
3939

4040
[JsonPropertyName("grossProfitRatio")]
41-
public double GrossProfitRatio { get; set; }
41+
public double? GrossProfitRatio { get; set; }
4242

4343
[JsonPropertyName("researchAndDevelopmentExpenses")]
4444
public double ResearchAndDevelopmentExpenses { get; set; }
@@ -74,13 +74,13 @@ public class IncomeStatementResponse
7474
public double Ebitda { get; set; }
7575

7676
[JsonPropertyName("ebitdaratio")]
77-
public double Ebitdaratio { get; set; }
77+
public double? Ebitdaratio { get; set; }
7878

7979
[JsonPropertyName("operatingIncome")]
8080
public double OperatingIncome { get; set; }
8181

8282
[JsonPropertyName("operatingIncomeRatio")]
83-
public double OperatingIncomeRatio { get; set; }
83+
public double? OperatingIncomeRatio { get; set; }
8484

8585
[JsonPropertyName("totalOtherIncomeExpensesNet")]
8686
public double TotalOtherIncomeExpensesNet { get; set; }
@@ -89,7 +89,7 @@ public class IncomeStatementResponse
8989
public double IncomeBeforeTax { get; set; }
9090

9191
[JsonPropertyName("incomeBeforeTaxRatio")]
92-
public double IncomeBeforeTaxRatio { get; set; }
92+
public double? IncomeBeforeTaxRatio { get; set; }
9393

9494
[JsonPropertyName("incomeTaxExpense")]
9595
public double IncomeTaxExpense { get; set; }
@@ -98,7 +98,7 @@ public class IncomeStatementResponse
9898
public double NetIncome { get; set; }
9999

100100
[JsonPropertyName("netIncomeRatio")]
101-
public double NetIncomeRatio { get; set; }
101+
public double? NetIncomeRatio { get; set; }
102102

103103
[JsonPropertyName("eps")]
104104
public double Eps { get; set; }

0 commit comments

Comments
 (0)