com.citygrid.content.offers
Class CGOffersOffer.Builder

java.lang.Object
  extended by com.citygrid.content.offers.CGOffersOffer.Builder
Enclosing class:
CGOffersOffer

public static class CGOffersOffer.Builder
extends Object


Field Summary
private  URI attributionLogo
           
private  String attributionSource
           
private  float discountValue
           
private  Date expirationDate
           
private  float faceValue
           
private  URI imageUrl
           
private  String impressionId
           
private  CGOffersLocation[] locations
           
private  String offerDescription
           
private  String offerId
           
private  int popularity
           
private  String redemptionType
           
private  int redemptionTypeId
           
private  URI redemptionUrl
           
private  int referenceId
           
private  String source
           
private  Date startDate
           
private  String terms
           
private  String title
           
private  CGOffersType[] types
           
 
Constructor Summary
CGOffersOffer.Builder()
           
 
Method Summary
 CGOffersOffer.Builder attributionLogo(URI attributionLogo)
           
 CGOffersOffer.Builder attributionSource(String attributionSource)
           
 CGOffersOffer build()
           
 CGOffersOffer.Builder discountValue(float discountValue)
           
 CGOffersOffer.Builder expirationDate(Date expirationDate)
           
 CGOffersOffer.Builder faceValue(float faceValue)
           
 CGOffersOffer.Builder imageUrl(URI imageUrl)
           
 CGOffersOffer.Builder impressionId(String impressionId)
           
 CGOffersOffer.Builder locations(CGOffersLocation[] locations)
           
 CGOffersOffer.Builder offerDescription(String offerDescription)
           
 CGOffersOffer.Builder offerId(String offerId)
           
 CGOffersOffer.Builder popularity(int popularity)
           
 CGOffersOffer.Builder redemptionType(String redemptionType)
           
 CGOffersOffer.Builder redemptionTypeId(int redemptionTypeId)
           
 CGOffersOffer.Builder redemptionUrl(URI redemptionUrl)
           
 CGOffersOffer.Builder referenceId(int referenceId)
           
 CGOffersOffer.Builder source(String source)
           
 CGOffersOffer.Builder startDate(Date startDate)
           
 CGOffersOffer.Builder terms(String terms)
           
 CGOffersOffer.Builder title(String title)
           
 CGOffersOffer.Builder types(CGOffersType[] types)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CGOffersOffer.Builder

public CGOffersOffer.Builder()
Method Detail

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.