public class Campaign
extends java.lang.Object
implements java.io.Serializable, android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
Campaign.Builder |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Campaign> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getCampaignTermsUrl() |
java.lang.String |
getCodeType() |
java.util.Date |
getEndDate() |
java.lang.String |
getId() |
java.math.BigDecimal |
getMaxCouponAmount() |
int |
getMaxRedeemPerUser() |
java.lang.String |
getPrettyEndDate() |
boolean |
hasEndDate() |
boolean |
hasMaxCouponAmount() |
boolean |
isAlwaysOnDiscount() |
boolean |
isDirectDiscountCampaign() |
boolean |
isMultipleCodeDiscountCampaign() |
boolean |
isSingleCodeDiscountCampaign() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Campaign> CREATOR
public int getMaxRedeemPerUser()
public java.lang.String getId()
public java.math.BigDecimal getMaxCouponAmount()
public java.lang.String getCodeType()
public java.util.Date getEndDate()
public java.lang.String getPrettyEndDate()
public boolean hasMaxCouponAmount()
public boolean hasEndDate()
public boolean isSingleCodeDiscountCampaign()
public boolean isMultipleCodeDiscountCampaign()
public boolean isDirectDiscountCampaign()
public boolean isAlwaysOnDiscount()
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public java.lang.String getCampaignTermsUrl()