1 16 17 package com.opensourcestrategies.financials.invoice; 18 19 import org.ofbiz.entity.GenericValue; 20 import java.math.BigDecimal ; 21 22 33 34 public class InvoiceWithOutstandingBalance { 35 public GenericValue invoice; 36 public BigDecimal amount; 37 public boolean isPastDue; 38 39 public InvoiceWithOutstandingBalance(GenericValue invoice, BigDecimal amount, boolean isPastDue) { 40 this.invoice = invoice; 42 this.amount = amount; 43 this.isPastDue = isPastDue; 44 } 45 46 public boolean isPastDue() { 47 return this.isPastDue; 48 } 49 50 public BigDecimal getAmount() { 51 return this.amount; 52 } 53 54 public GenericValue getInvoice() { 55 return this.invoice; 56 } 57 } 58 | Popular Tags |