Class BuyingMaxAmountReachedForPeriodException

  • All Implemented Interfaces:
    Serializable

    public class BuyingMaxAmountReachedForPeriodException
    extends VoucherBuyingException
    Exception thrown when attempting to buy vouchers and the max buy amount for period was exceeded
    See Also:
    Serialized Form
    • Constructor Detail

      • BuyingMaxAmountReachedForPeriodException

        public BuyingMaxAmountReachedForPeriodException()
      • BuyingMaxAmountReachedForPeriodException

        public BuyingMaxAmountReachedForPeriodException​(CurrencyAmountDTO amountLeftForBuying,
                                                        DateTime dateAllowedAgain)
    • Method Detail

      • getDateAllowedAgain

        public DateTime getDateAllowedAgain()
      • setAmountLeftForBuying

        public void setAmountLeftForBuying​(CurrencyAmountDTO amountLeftForBuying)
      • setDateAllowedAgain

        public void setDateAllowedAgain​(DateTime dateAllowedAgain)