public class DefaultTieredBlock extends DefaultBlock implements TieredBlock, java.io.Externalizable
| Constructor and Description |
|---|
DefaultTieredBlock() |
DefaultTieredBlock(TieredBlock in,
TieredBlockPriceOverride override,
Currency currency) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Double |
getMax() |
BlockType |
getType() |
int |
hashCode() |
void |
readExternal(java.io.ObjectInput in) |
DefaultTieredBlock |
setMax(java.lang.Double max) |
DefaultTieredBlock |
setType(BlockType type) |
void |
writeExternal(java.io.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 java.lang.Double getMax()
getMax in interface TieredBlockpublic DefaultTieredBlock setMax(java.lang.Double max)
public BlockType getType()
getType in interface BlockgetType in class DefaultBlockpublic DefaultTieredBlock setType(BlockType type)
setType in class DefaultBlockpublic boolean equals(java.lang.Object o)
equals in class DefaultBlockpublic int hashCode()
hashCode in class DefaultBlockpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class DefaultBlockjava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class DefaultBlockjava.io.IOExceptionjava.lang.ClassNotFoundExceptionCopyright © 2010-2020. All Rights Reserved.