public class Allocation extends Object
| Constructor and Description |
|---|
Allocation() |
| Modifier and Type | Method and Description |
|---|---|
Allocation |
amount(Double amount) |
Allocation |
date(org.threeten.bp.LocalDate date) |
boolean |
equals(Object o) |
Double |
getAmount()
the amount being applied to the invoice
|
org.threeten.bp.LocalDate |
getDate()
the date the allocation is applied YYYY-MM-DD.
|
Invoice |
getInvoice()
Get invoice
|
int |
hashCode() |
Allocation |
invoice(Invoice invoice) |
void |
setAmount(Double amount) |
void |
setDate(org.threeten.bp.LocalDate date) |
void |
setInvoice(Invoice invoice) |
String |
toString() |
public Allocation invoice(Invoice invoice)
public Invoice getInvoice()
public void setInvoice(Invoice invoice)
public Allocation amount(Double amount)
public Double getAmount()
public void setAmount(Double amount)
public Allocation date(org.threeten.bp.LocalDate date)
public org.threeten.bp.LocalDate getDate()
public void setDate(org.threeten.bp.LocalDate date)
Copyright © 2020. All rights reserved.