Package com.xero.models.accounting
Class Budget
java.lang.Object
com.xero.models.accounting.Budget
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBudgetLinesItem(BudgetLine budgetLinesItem) budgetLinesaddTrackingItem(TrackingCategory trackingItem) trackingXero identifierbudgetLines(List<BudgetLine> budgetLines) budgetLinesdescription(String description) The Budget descriptionbooleanXero identifierGet budgetLinesThe Budget descriptionGet trackinggetType()Type of Budget.UTC timestamp of last update to budgetorg.threeten.bp.OffsetDateTimeUTC timestamp of last update to budgetinthashCode()voidsetBudgetID(UUID budgetID) Xero identifiervoidsetBudgetLines(List<BudgetLine> budgetLines) budgetLinesvoidsetDescription(String description) The Budget descriptionvoidsetTracking(List<TrackingCategory> tracking) trackingvoidsetType(Budget.TypeEnum type) Type of Budget.toString()tracking(List<TrackingCategory> tracking) trackingtype(Budget.TypeEnum type) Type of Budget.
-
Constructor Details
-
Budget
public Budget()
-
-
Method Details
-
budgetID
-
getBudgetID
-
setBudgetID
-
type
Type of Budget. OVERALL or TRACKING- Parameters:
type- TypeEnum- Returns:
- Budget
-
getType
-
setType
Type of Budget. OVERALL or TRACKING- Parameters:
type- TypeEnum
-
description
-
getDescription
-
setDescription
The Budget description- Parameters:
description- String
-
getUpdatedDateUTC
-
getUpdatedDateUTCAsDate
public org.threeten.bp.OffsetDateTime getUpdatedDateUTCAsDate()UTC timestamp of last update to budget- Returns:
- OffsetDateTime
-
budgetLines
budgetLines- Parameters:
budgetLines- List<BudgetLine>- Returns:
- Budget
-
addBudgetLinesItem
budgetLines- Parameters:
budgetLinesItem- BudgetLine- Returns:
- Budget
-
getBudgetLines
-
setBudgetLines
budgetLines- Parameters:
budgetLines- List<BudgetLine>
-
tracking
tracking- Parameters:
tracking- List<TrackingCategory>- Returns:
- Budget
-
addTrackingItem
tracking- Parameters:
trackingItem- TrackingCategory- Returns:
- Budget
-
getTracking
-
setTracking
tracking- Parameters:
tracking- List<TrackingCategory>
-
equals
-
hashCode
-
toString
-