Class Receipt

    • Field Detail

      • saleId

        private long saleId
      • customerId

        private long customerId
      • date

        private Date date
      • amount

        private double amount
    • Constructor Detail

      • Receipt

        public Receipt​(long saleId,
                       long customerId,
                       Date date,
                       BigDecimal amount)
      • Receipt

        public Receipt​(long saleId,
                       long customerId,
                       Date date,
                       double amount)
    • Method Detail

      • getAmount

        public double getAmount()
      • getCustomerId

        public long getCustomerId()
      • getDate

        public Date getDate()
      • getSaleId

        public long getSaleId()