-
- All Implemented Interfaces:
-
android.os.Parcelable,java.io.Serializable,java.lang.Cloneable
public class MenigaTransactionSeries implements Serializable, Parcelable, Cloneable
Represents an aggregation of transaction data/series from more complex/complete queries into the Meniga system about transactions.
Copyright 2017 Meniga Iceland Inc.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<MenigaTransactionSeries>CREATORprotected TimeResolutiontimeResolutionprotected Statisticsstatisticsprotected List<Value>valuesprotected List<MenigaTransaction>transactionsprotected List<Long>transactionIds
-
Method Summary
Modifier and Type Method Description static voidsetOperator(MenigaTransactionSeriesOperations operator)Sets the api operator for doing api calls intdescribeContents()voidwriteToParcel(Parcel dest, int flags)MenigaDecimalgetSumNettoValues()booleanequals(Object o)inthashCode()static Result<List<MenigaTransactionSeries>>fetch(TransactionsFilter filter, Options options, List<SeriesSelector> seriesSelectors)Retrieves a series of transactions aggregated over time. TimeResolutiongetTimeResolution()StatisticsgetStatistics()List<Value>getValues()List<MenigaTransaction>getTransactions()List<Long>getTransactionIds()-
-
Method Detail
-
setOperator
static void setOperator(MenigaTransactionSeriesOperations operator)
Sets the api operator for doing api calls
- Parameters:
operator- An object that implements the MenigaTransactionSeriesOperations interface for carrying out api operations on this class.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
getSumNettoValues
MenigaDecimal getSumNettoValues()
-
hashCode
int hashCode()
-
fetch
static Result<List<MenigaTransactionSeries>> fetch(TransactionsFilter filter, Options options, List<SeriesSelector> seriesSelectors)
Retrieves a series of transactions aggregated over time.
- Parameters:
filter- A Filter used to filter out the set of transactions which the series aregenerated from.options- Option object for the Transaction Series List.seriesSelectors- A list of SeriesRequests each containing its own filter in order toselect a subset of the "main" set.
-
getTimeResolution
TimeResolution getTimeResolution()
-
getStatistics
Statistics getStatistics()
-
getTransactions
List<MenigaTransaction> getTransactions()
-
getTransactionIds
List<Long> getTransactionIds()
-
-
-
-