-
- All Implemented Interfaces:
-
android.os.Parcelable
,java.io.Serializable
public class MenigaChallengeEventData implements Parcelable, Serializable
Copyright 2017 Meniga Iceland Inc. Created by agustk on 6.12.2017.
-
-
Field Summary
Fields Modifier and Type Field Description protected UUID
challengeId
protected String
title
protected MenigaDecimal
targetAmount
protected String
targetAmountFormatted
protected MenigaDecimal
spentAmount
protected String
spentAmountFormatted
protected MenigaDecimal
amountDifference
protected String
amountDifferenceFormatted
protected DateTime
startDate
protected DateTime
endDate
protected DateTime
periodStart
protected DateTime
periodEnd
protected String
iconUrl
protected CustomChallengeColor
metadata
protected List<Long>
categoryIds
protected Float
percentageSpent
protected Integer
daysRemaining
public final static Parcelable.Creator<MenigaChallengeEventData>
CREATOR
-
Method Summary
Modifier and Type Method Description boolean
isChallengeSuccessful()
int
describeContents()
void
writeToParcel(Parcel dest, int flags)
boolean
equals(Object o)
int
hashCode()
UUID
getChallengeId()
String
getTitle()
MenigaDecimal
getTargetAmount()
String
getTargetAmountFormatted()
MenigaDecimal
getSpentAmount()
String
getSpentAmountFormatted()
MenigaDecimal
getAmountDifference()
String
getAmountDifferenceFormatted()
DateTime
getStartDate()
DateTime
getEndDate()
DateTime
getPeriodStart()
DateTime
getPeriodEnd()
String
getIconUrl()
CustomChallengeColor
getMetadata()
List<Long>
getCategoryIds()
Float
getPercentageSpent()
Integer
getDaysRemaining()
-
-
Method Detail
-
isChallengeSuccessful
boolean isChallengeSuccessful()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
hashCode
int hashCode()
-
getChallengeId
UUID getChallengeId()
-
getTargetAmount
MenigaDecimal getTargetAmount()
-
getTargetAmountFormatted
String getTargetAmountFormatted()
-
getSpentAmount
MenigaDecimal getSpentAmount()
-
getSpentAmountFormatted
String getSpentAmountFormatted()
-
getAmountDifference
MenigaDecimal getAmountDifference()
-
getAmountDifferenceFormatted
String getAmountDifferenceFormatted()
-
getStartDate
DateTime getStartDate()
-
getEndDate
DateTime getEndDate()
-
getPeriodStart
DateTime getPeriodStart()
-
getPeriodEnd
DateTime getPeriodEnd()
-
getIconUrl
String getIconUrl()
-
getMetadata
CustomChallengeColor getMetadata()
-
getCategoryIds
List<Long> getCategoryIds()
-
getPercentageSpent
Float getPercentageSpent()
-
getDaysRemaining
Integer getDaysRemaining()
-
-
-
-