◆ getProfitMargin()
static double org.turro.financials.product.Margins.getProfitMargin |
( |
Service |
service | ) |
|
|
static |
◆ getStructureMargin()
static double org.turro.financials.product.Margins.getStructureMargin |
( |
Department |
department | ) |
|
|
static |
Definition at line 41 of file bsfinancials-core/src/main/java/org/turro/financials/product/Margins.java.
42 double structureMargin = 0.0;
43 if(department !=
null) {
44 structureMargin += department.getStructureMargin();
45 if(department.getHeadquarters() !=
null) {
46 structureMargin += department.getHeadquarters().getStructureMargin();
47 if(department.getHeadquarters().getCompany() !=
null) {
48 structureMargin += department.getHeadquarters().getCompany().getStructureMargin();
52 return structureMargin;
The documentation for this class was generated from the following file: