-
- All Implemented Interfaces:
-
android.os.Parcelable
,java.io.Serializable
public class MenigaBudget implements Parcelable, Serializable
-
-
Field Summary
Fields Modifier and Type Field Description protected long
id
protected BudgetType
type
protected String
name
protected String
description
protected List<Long>
accountIds
protected BudgetPeriod
period
protected int
offset
protected DateTime
created
public final static Parcelable.Creator<MenigaBudget>
CREATOR
-
Method Summary
-
-
Method Detail
-
setOperator
static void setOperator(MenigaBudgetOperations operator)
Sets the api operator for doing api calls
- Parameters:
operator
- An object that implements the MenigaBudgetOperations interface for carrying out api operations on this class.
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
fetch
@Deprecated() static Result<List<MenigaBudget>> fetch()
Use fetch instead.
-
fetch
static Result<List<MenigaBudget>> fetch(FetchBudgetsFilter filter)
-
fetch
static Result<MenigaBudget> fetch(FetchBudgetFilter filter)
-
create
@Deprecated() static Result<MenigaBudget> create(BudgetType type, String name, String description, List<Long> accountIds, BudgetPeriod period)
-
create
@Deprecated() static Result<MenigaBudget> create(BudgetType type, String name, String description, List<Long> accountIds, BudgetPeriod period, Integer periodOffset)
-
create
static Result<MenigaBudget> create(NewBudget budget)
-
create
static Result<MenigaBudget> create(NewPlanningBudget budget)
-
update
Result<MenigaBudget> update(BudgetUpdate parameters)
-
getId
long getId()
-
getType
BudgetType getType()
-
getDescription
String getDescription()
-
getAccountIds
List<Long> getAccountIds()
-
getPeriod
BudgetPeriod getPeriod()
-
getOffset
int getOffset()
-
getCreated
DateTime getCreated()
-
-
-
-