public class BuyingMaxAmountReachedForPeriodException extends VoucherBuyingException
| Constructor and Description |
|---|
BuyingMaxAmountReachedForPeriodException() |
BuyingMaxAmountReachedForPeriodException(CurrencyAmountDTO amountLeftForBuying,
DateTime dateAllowedAgain) |
| Modifier and Type | Method and Description |
|---|---|
CurrencyAmountDTO |
getAmountLeftForBuying() |
DateTime |
getDateAllowedAgain() |
void |
setAmountLeftForBuying(CurrencyAmountDTO amountLeftForBuying) |
void |
setDateAllowedAgain(DateTime dateAllowedAgain) |
getMessage, isInternationalized, setInternationalized, shouldGenerateLogpublic BuyingMaxAmountReachedForPeriodException()
public BuyingMaxAmountReachedForPeriodException(CurrencyAmountDTO amountLeftForBuying, DateTime dateAllowedAgain)
public CurrencyAmountDTO getAmountLeftForBuying()
public DateTime getDateAllowedAgain()
public void setAmountLeftForBuying(CurrencyAmountDTO amountLeftForBuying)
public void setDateAllowedAgain(DateTime dateAllowedAgain)