|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.commerce.zocalo.currency.Currency
net.commerce.zocalo.currency.Coupons
public class Coupons
Tradable assets representing a particular Position on a Claim.
| Field Summary |
|---|
| Fields inherited from class net.commerce.zocalo.currency.Currency |
|---|
CURRENCY_SCALE |
| Method Summary | |
|---|---|
Claim |
getClaim()
|
Position |
getPosition()
|
Coupons |
makeEmpty()
|
protected Currency |
makeEmpty(CurrencyToken token)
|
static Coupons |
newPosition(CurrencyToken currency,
double balance,
Position position)
|
Coupons |
provide(double amount)
|
java.lang.String |
toString()
|
| Methods inherited from class net.commerce.zocalo.currency.Currency |
|---|
balanceLessThan, balanceSameOrGreaterThan, getBalance, getTokenName, makeEmptyCurrency, negligible, sameCurrency, transfer, transfer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Coupons newPosition(CurrencyToken currency,
double balance,
Position position)
public Coupons makeEmpty()
protected Currency makeEmpty(CurrencyToken token)
makeEmpty in class Currencypublic Claim getClaim()
public Position getPosition()
public java.lang.String toString()
toString in class java.lang.Objectpublic Coupons provide(double amount)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||