-
- 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 UUIDchallengeIdprotected Stringtitleprotected MenigaDecimaltargetAmountprotected StringtargetAmountFormattedprotected MenigaDecimalspentAmountprotected StringspentAmountFormattedprotected MenigaDecimalamountDifferenceprotected StringamountDifferenceFormattedprotected DateTimestartDateprotected DateTimeendDateprotected DateTimeperiodStartprotected DateTimeperiodEndprotected StringiconUrlprotected CustomChallengeColormetadataprotected List<Long>categoryIdsprotected FloatpercentageSpentprotected IntegerdaysRemainingpublic final static Parcelable.Creator<MenigaChallengeEventData>CREATOR
-
Method Summary
Modifier and Type Method Description booleanisChallengeSuccessful()intdescribeContents()voidwriteToParcel(Parcel dest, int flags)booleanequals(Object o)inthashCode()UUIDgetChallengeId()StringgetTitle()MenigaDecimalgetTargetAmount()StringgetTargetAmountFormatted()MenigaDecimalgetSpentAmount()StringgetSpentAmountFormatted()MenigaDecimalgetAmountDifference()StringgetAmountDifferenceFormatted()DateTimegetStartDate()DateTimegetEndDate()DateTimegetPeriodStart()DateTimegetPeriodEnd()StringgetIconUrl()CustomChallengeColorgetMetadata()List<Long>getCategoryIds()FloatgetPercentageSpent()IntegergetDaysRemaining()-
-
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()
-
-
-
-