@Immutable @LevelUpApi(contract=INTERNAL) public final class CauseAffiliation extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<CauseAffiliation> |
CREATOR
Implements the
Parcelable interface. |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
CauseAffiliation(Long causeWebServiceId,
double percentDonation) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
Long |
getCauseWebServiceId()
The ID of the cause affiliation.
|
double |
getPercentDonation()
The value of the percent donation.
|
int |
hashCode() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<CauseAffiliation> CREATOR
Parcelable interface.public CauseAffiliation(Long causeWebServiceId, double percentDonation)
public int describeContents()
describeContents in interface Parcelablepublic final void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic Long getCauseWebServiceId()
public double getPercentDonation()