com.citygrid.content.offers
Class CGOffersOffer.Builder
java.lang.Object
com.citygrid.content.offers.CGOffersOffer.Builder
- Enclosing class:
- CGOffersOffer
public static class CGOffersOffer.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offerId
private String offerId
referenceId
private int referenceId
impressionId
private String impressionId
title
private String title
offerDescription
private String offerDescription
redemptionTypeId
private int redemptionTypeId
redemptionType
private String redemptionType
redemptionUrl
private URI redemptionUrl
terms
private String terms
source
private String source
types
private CGOffersType[] types
imageUrl
private URI imageUrl
startDate
private Date startDate
expirationDate
private Date expirationDate
popularity
private int popularity
faceValue
private float faceValue
discountValue
private float discountValue
locations
private CGOffersLocation[] locations
attributionSource
private String attributionSource
attributionLogo
private URI attributionLogo
CGOffersOffer.Builder
public CGOffersOffer.Builder()
build
public CGOffersOffer build()
offerId
public CGOffersOffer.Builder offerId(String offerId)
referenceId
public CGOffersOffer.Builder referenceId(int referenceId)
impressionId
public CGOffersOffer.Builder impressionId(String impressionId)
title
public CGOffersOffer.Builder title(String title)
offerDescription
public CGOffersOffer.Builder offerDescription(String offerDescription)
redemptionTypeId
public CGOffersOffer.Builder redemptionTypeId(int redemptionTypeId)
redemptionType
public CGOffersOffer.Builder redemptionType(String redemptionType)
redemptionUrl
public CGOffersOffer.Builder redemptionUrl(URI redemptionUrl)
terms
public CGOffersOffer.Builder terms(String terms)
source
public CGOffersOffer.Builder source(String source)
types
public CGOffersOffer.Builder types(CGOffersType[] types)
imageUrl
public CGOffersOffer.Builder imageUrl(URI imageUrl)
startDate
public CGOffersOffer.Builder startDate(Date startDate)
expirationDate
public CGOffersOffer.Builder expirationDate(Date expirationDate)
popularity
public CGOffersOffer.Builder popularity(int popularity)
faceValue
public CGOffersOffer.Builder faceValue(float faceValue)
discountValue
public CGOffersOffer.Builder discountValue(float discountValue)
locations
public CGOffersOffer.Builder locations(CGOffersLocation[] locations)
attributionSource
public CGOffersOffer.Builder attributionSource(String attributionSource)
attributionLogo
public CGOffersOffer.Builder attributionLogo(URI attributionLogo)
Copyright © 2011. All Rights Reserved.