public class DefaultTieredBlock extends DefaultBlock implements TieredBlock, Externalizable
| Constructor and Description |
|---|
DefaultTieredBlock() |
DefaultTieredBlock(TieredBlock in,
TieredBlockPriceOverride override,
Currency currency) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Double |
getMax() |
BlockType |
getType() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
DefaultTieredBlock |
setMax(double max) |
DefaultTieredBlock |
setType(BlockType type) |
void |
writeExternal(ObjectOutput out) |
getMinTopUpCredit, getPrice, getSize, getUnit, initialize, setPhase, setPrice, setPrices, setSize, setUnit, validateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMinTopUpCredit, getPrice, getSize, getUnitpublic DefaultTieredBlock()
public DefaultTieredBlock(TieredBlock in, TieredBlockPriceOverride override, Currency currency)
public Double getMax()
getMax in interface TieredBlockpublic DefaultTieredBlock setMax(double max)
public BlockType getType()
getType in interface BlockgetType in class DefaultBlockpublic DefaultTieredBlock setType(BlockType type)
setType in class DefaultBlockpublic boolean equals(Object o)
equals in class DefaultBlockpublic int hashCode()
hashCode in class DefaultBlockpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class DefaultBlockIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class DefaultBlockIOExceptionClassNotFoundExceptionCopyright © 2010–2021. All rights reserved.