Package com.xero.models.accounting
Class BudgetBalance
- java.lang.Object
-
- com.xero.models.accounting.BudgetBalance
-
public class BudgetBalance extends Object
BudgetBalance
-
-
Constructor Summary
Constructors Constructor Description BudgetBalance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BudgetBalanceamount(Integer amount)LineItem Quantitybooleanequals(Object o)IntegergetAmount()LineItem QuantityStringgetNotes()Any footnotes associated with this balanceStringgetPeriod()Period the amount applies to (e.g.org.threeten.bp.LocalDategetPeriodAsDate()Period the amount applies to (e.g.IntegergetUnitAmount()Budgeted amountinthashCode()BudgetBalancenotes(String notes)Any footnotes associated with this balanceBudgetBalanceperiod(String period)Period the amount applies to (e.g.voidsetAmount(Integer amount)LineItem QuantityvoidsetNotes(String notes)Any footnotes associated with this balancevoidsetPeriod(String period)Period the amount applies to (e.g.voidsetPeriod(org.threeten.bp.LocalDate period)Period the amount applies to (e.g.voidsetUnitAmount(Integer unitAmount)Budgeted amountStringtoString()BudgetBalanceunitAmount(Integer unitAmount)Budgeted amount
-
-
-
Method Detail
-
period
public BudgetBalance period(String period)
Period the amount applies to (e.g. “2019-08”)- Parameters:
period- String- Returns:
- BudgetBalance
-
getPeriod
public String getPeriod()
Period the amount applies to (e.g. “2019-08”)- Returns:
- period
-
getPeriodAsDate
public org.threeten.bp.LocalDate getPeriodAsDate()
Period the amount applies to (e.g. “2019-08”)- Returns:
- LocalDate
-
setPeriod
public void setPeriod(String period)
Period the amount applies to (e.g. “2019-08”)- Parameters:
period- String
-
setPeriod
public void setPeriod(org.threeten.bp.LocalDate period)
Period the amount applies to (e.g. “2019-08”)- Parameters:
period- LocalDateTime
-
amount
public BudgetBalance amount(Integer amount)
LineItem Quantity- Parameters:
amount- Integer- Returns:
- BudgetBalance
-
getAmount
public Integer getAmount()
LineItem Quantity- Returns:
- amount
-
setAmount
public void setAmount(Integer amount)
LineItem Quantity- Parameters:
amount- Integer
-
unitAmount
public BudgetBalance unitAmount(Integer unitAmount)
Budgeted amount- Parameters:
unitAmount- Integer- Returns:
- BudgetBalance
-
getUnitAmount
public Integer getUnitAmount()
Budgeted amount- Returns:
- unitAmount
-
setUnitAmount
public void setUnitAmount(Integer unitAmount)
Budgeted amount- Parameters:
unitAmount- Integer
-
notes
public BudgetBalance notes(String notes)
Any footnotes associated with this balance- Parameters:
notes- String- Returns:
- BudgetBalance
-
getNotes
public String getNotes()
Any footnotes associated with this balance- Returns:
- notes
-
setNotes
public void setNotes(String notes)
Any footnotes associated with this balance- Parameters:
notes- String
-
-