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

Public Member Functions

 IncomeEntry (String docNumber, String globalIdentifier, String customer, Date docDate, double tax, double taxable, double taxAmount, double retention, double total)
 
String getDocNumber ()
 
String getGlobalIdentifier ()
 
String getCustomer ()
 
Date getDocDate ()
 
double getTax ()
 
double getTaxable ()
 
double getTaxAmount ()
 
double getRetention ()
 
double getTotal ()
 
int compareTo (IncomeEntry o)
 

Detailed Description

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

Definition at line 28 of file IncomeEntry.java.

Constructor & Destructor Documentation

◆ IncomeEntry()

org.turro.financials.book.IncomeEntry.IncomeEntry ( String  docNumber,
String  globalIdentifier,
String  customer,
Date  docDate,
double  tax,
double  taxable,
double  taxAmount,
double  retention,
double  total 
)

Definition at line 34 of file IncomeEntry.java.

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

Member Function Documentation

◆ compareTo()

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

Definition at line 84 of file IncomeEntry.java.

84  {
85  return Comparison.ascendant()
86  .compareDate(docDate, o.docDate)
87  .compare(docNumber, o.docNumber)
88  .compare(globalIdentifier, o.globalIdentifier)
89  .get();
90  }

◆ getCustomer()

String org.turro.financials.book.IncomeEntry.getCustomer ( )

Definition at line 55 of file IncomeEntry.java.

55  {
56  return customer;
57  }

◆ getDocDate()

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

Definition at line 59 of file IncomeEntry.java.

59  {
60  return docDate;
61  }

◆ getDocNumber()

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

Definition at line 47 of file IncomeEntry.java.

47  {
48  return docNumber;
49  }

◆ getGlobalIdentifier()

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

Definition at line 51 of file IncomeEntry.java.

51  {
52  return globalIdentifier;
53  }

◆ getRetention()

double org.turro.financials.book.IncomeEntry.getRetention ( )

Definition at line 75 of file IncomeEntry.java.

75  {
76  return retention;
77  }

◆ getTax()

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

Definition at line 63 of file IncomeEntry.java.

63  {
64  return tax;
65  }

◆ getTaxable()

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

Definition at line 67 of file IncomeEntry.java.

67  {
68  return taxable;
69  }

◆ getTaxAmount()

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

Definition at line 71 of file IncomeEntry.java.

71  {
72  return taxAmount;
73  }

◆ getTotal()

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

Definition at line 79 of file IncomeEntry.java.

79  {
80  return total;
81  }

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