-
- 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>
CREATOR
protected TimeResolution
timeResolution
protected Statistics
statistics
protected List<Value>
values
protected List<MenigaTransaction>
transactions
protected List<Long>
transactionIds
-
Method Summary
Modifier and Type Method Description static void
setOperator(MenigaTransactionSeriesOperations operator)
Sets the api operator for doing api calls int
describeContents()
void
writeToParcel(Parcel dest, int flags)
MenigaDecimal
getSumNettoValues()
boolean
equals(Object o)
int
hashCode()
static Result<List<MenigaTransactionSeries>>
fetch(TransactionsFilter filter, Options options, List<SeriesSelector> seriesSelectors)
Retrieves a series of transactions aggregated over time. TimeResolution
getTimeResolution()
Statistics
getStatistics()
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()
-
-
-
-