BrightSide Workbench Full Report + Source Code
org.turro.financials.command.ContractPortfolio Class Reference

Public Member Functions

 ContractPortfolio (Contract contract)
 
Contract getContract ()
 
double getInvoice ()
 
double getBalance ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 31 of file ContractPortfolio.java.

Constructor & Destructor Documentation

◆ ContractPortfolio()

org.turro.financials.command.ContractPortfolio.ContractPortfolio ( Contract  contract)

Definition at line 37 of file ContractPortfolio.java.

37  {
38  this.contract = contract;
39  }

Member Function Documentation

◆ getBalance()

double org.turro.financials.command.ContractPortfolio.getBalance ( )

Definition at line 51 of file ContractPortfolio.java.

51  {
52  if(!filled) fillData();
53  return Zero.near(balance, 2) ? 0.0 : balance;
54  }
Here is the call graph for this function:

◆ getContract()

Contract org.turro.financials.command.ContractPortfolio.getContract ( )

Definition at line 41 of file ContractPortfolio.java.

41  {
42  if(!filled) fillData();
43  return contract;
44  }

◆ getInvoice()

double org.turro.financials.command.ContractPortfolio.getInvoice ( )

Definition at line 46 of file ContractPortfolio.java.

46  {
47  if(!filled) fillData();
48  return invoice;
49  }

The documentation for this class was generated from the following file: