BrightSide Workbench Full Report + Source Code
org.turro.financials.book.ExpensesEntry Class Reference
Inheritance diagram for org.turro.financials.book.ExpensesEntry:
Collaboration diagram for org.turro.financials.book.ExpensesEntry:

Public Member Functions

 ExpensesEntry (String docNumber, String globalIdentifier, String provider, String type, Date receiptDate, Date docDate, double tax, double taxable, double taxAmount, double total)
 
String getDocNumber ()
 
String getGlobalIdentifier ()
 
String getProvider ()
 
String getType ()
 
Date getReceiptDate ()
 
Date getDocDate ()
 
double getTax ()
 
double getTaxable ()
 
double getTaxAmount ()
 
double getTotal ()
 
int compareTo (ExpensesEntry o)
 

Detailed Description

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

Definition at line 28 of file ExpensesEntry.java.

Constructor & Destructor Documentation

◆ ExpensesEntry()

org.turro.financials.book.ExpensesEntry.ExpensesEntry ( String  docNumber,
String  globalIdentifier,
String  provider,
String  type,
Date  receiptDate,
Date  docDate,
double  tax,
double  taxable,
double  taxAmount,
double  total 
)

Definition at line 34 of file ExpensesEntry.java.

35  {
36  this.docNumber = docNumber;
37  this.globalIdentifier = globalIdentifier;
38  this.provider = provider;
39  this.type = type;
40  this.receiptDate = receiptDate;
41  this.docDate = docDate;
42  this.tax = tax;
43  this.taxable = taxable;
44  this.taxAmount = taxAmount;
45  this.total = total;
46  }

Member Function Documentation

◆ compareTo()

int org.turro.financials.book.ExpensesEntry.compareTo ( ExpensesEntry  o)

Definition at line 89 of file ExpensesEntry.java.

89  {
90  return Comparison.ascendant()
91  .compare(receiptDate, o.receiptDate)
92  .compareDate(docDate, o.docDate)
93  .compare(docNumber, o.docNumber)
94  .compare(globalIdentifier, o.globalIdentifier)
95  .get();
96  }

◆ getDocDate()

Date org.turro.financials.book.ExpensesEntry.getDocDate ( )

Definition at line 68 of file ExpensesEntry.java.

68  {
69  return docDate;
70  }

◆ getDocNumber()

String org.turro.financials.book.ExpensesEntry.getDocNumber ( )

Definition at line 48 of file ExpensesEntry.java.

48  {
49  return docNumber;
50  }

◆ getGlobalIdentifier()

String org.turro.financials.book.ExpensesEntry.getGlobalIdentifier ( )

Definition at line 52 of file ExpensesEntry.java.

52  {
53  return globalIdentifier;
54  }

◆ getProvider()

String org.turro.financials.book.ExpensesEntry.getProvider ( )

Definition at line 56 of file ExpensesEntry.java.

56  {
57  return provider;
58  }

◆ getReceiptDate()

Date org.turro.financials.book.ExpensesEntry.getReceiptDate ( )

Definition at line 64 of file ExpensesEntry.java.

64  {
65  return receiptDate;
66  }

◆ getTax()

double org.turro.financials.book.ExpensesEntry.getTax ( )

Definition at line 72 of file ExpensesEntry.java.

72  {
73  return tax;
74  }

◆ getTaxable()

double org.turro.financials.book.ExpensesEntry.getTaxable ( )

Definition at line 76 of file ExpensesEntry.java.

76  {
77  return taxable;
78  }

◆ getTaxAmount()

double org.turro.financials.book.ExpensesEntry.getTaxAmount ( )

Definition at line 80 of file ExpensesEntry.java.

80  {
81  return taxAmount;
82  }

◆ getTotal()

double org.turro.financials.book.ExpensesEntry.getTotal ( )

Definition at line 84 of file ExpensesEntry.java.

84  {
85  return total;
86  }

◆ getType()

String org.turro.financials.book.ExpensesEntry.getType ( )

Definition at line 60 of file ExpensesEntry.java.

60  {
61  return type;
62  }

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