org.jscience.economics.money
Class Receipt

java.lang.Object
  extended by org.jscience.economics.money.Receipt
All Implemented Interfaces:
Identified

public final class Receipt
extends java.lang.Object
implements Identified

A class representing a receipt for the person who pays or a bill for the person who provides the goods or services.


Constructor Summary
Receipt(Organization seller, Organization buyer, java.util.Date date, Identification identification, java.lang.String description, Amount<Money> money)
          Creates a new Receipt object.
Receipt(Organization seller, Organization buyer, java.util.Date date, Identification identification, java.lang.String description, Share share, int quantity)
          Creates a new Receipt object.
 
Method Summary
 Amount<Money> getAmount()
          DOCUMENT ME!
 Organization getBuyer()
          DOCUMENT ME!
 java.util.Date getDate()
          DOCUMENT ME!
 java.lang.String getDescription()
          DOCUMENT ME!
 Identification getIdentification()
          DOCUMENT ME!
 int getQuantity()
          DOCUMENT ME!
 Receipt getReceipt()
          DOCUMENT ME!
 Organization getSeller()
          DOCUMENT ME!
 Share getShare()
          DOCUMENT ME!
 boolean isMoneyTransaction()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Receipt

public Receipt(Organization seller,
               Organization buyer,
               java.util.Date date,
               Identification identification,
               java.lang.String description,
               Amount<Money> money)
Creates a new Receipt object.

Parameters:
seller - DOCUMENT ME!
buyer - DOCUMENT ME!
date - DOCUMENT ME!
identification - DOCUMENT ME!
description - DOCUMENT ME!
money - DOCUMENT ME!

Receipt

public Receipt(Organization seller,
               Organization buyer,
               java.util.Date date,
               Identification identification,
               java.lang.String description,
               Share share,
               int quantity)
Creates a new Receipt object.

Parameters:
seller - DOCUMENT ME!
buyer - DOCUMENT ME!
date - DOCUMENT ME!
identification - DOCUMENT ME!
description - DOCUMENT ME!
share - DOCUMENT ME!
quantity - DOCUMENT ME!
Method Detail

getSeller

public final Organization getSeller()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getBuyer

public final Organization getBuyer()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDate

public final java.util.Date getDate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getIdentification

public final Identification getIdentification()
DOCUMENT ME!

Specified by:
getIdentification in interface Identified
Returns:
DOCUMENT ME!

getDescription

public final java.lang.String getDescription()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getAmount

public final Amount<Money> getAmount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getShare

public final Share getShare()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getQuantity

public final int getQuantity()
DOCUMENT ME!

Returns:
DOCUMENT ME!

isMoneyTransaction

public boolean isMoneyTransaction()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getReceipt

public final Receipt getReceipt()
DOCUMENT ME!

Returns:
DOCUMENT ME!