public class CampaignEvent extends MetadataItem
Modifier and Type | Field and Description |
---|---|
static String |
ITEM_TYPE
The CampaignEvent ITEM_TYPE.
|
metadata
Constructor and Description |
---|
CampaignEvent()
Instantiates a new Campaign event.
|
CampaignEvent(Metadata metadata)
Instantiates a new Campaign event with the specified metadata.
|
Modifier and Type | Method and Description |
---|---|
String |
getCampaignId()
Retrieves the identifier of the associated
Campaign . |
Double |
getCost()
Retrieves the cost associated with this campaign event.
|
String |
getCurrency()
Retrieves the currency.
|
Date |
getEventDate()
Retrieves the event date.
|
String |
getTimezone()
Retrieves the timezone.
|
void |
setCampaignId(String campaignId)
Sets the campaign id.
|
void |
setCost(Double cost)
Sets the cost.
|
void |
setCurrency(String currency)
Sets the currency.
|
void |
setEventDate(Date eventDate)
Sets the event date.
|
void |
setTimezone(String timezone)
Sets the timezone.
|
getMetadata, getScope, setMetadata
equals, getItemId, getItemType, getItemType, getSystemMetadata, getVersion, hashCode, setItemId, setItemType, setScope, setSystemMetadata, setVersion
public static final String ITEM_TYPE
public CampaignEvent()
public CampaignEvent(Metadata metadata)
metadata
- the metadatapublic Double getCost()
public void setCost(Double cost)
cost
- the costpublic String getCurrency()
public void setCurrency(String currency)
currency
- the currencypublic Date getEventDate()
public void setEventDate(Date eventDate)
eventDate
- the event datepublic String getCampaignId()
Campaign
.Campaign
public void setCampaignId(String campaignId)
campaignId
- the campaign idpublic String getTimezone()
public void setTimezone(String timezone)
timezone
- the timezoneCopyright © 2014–2022 Apache Software Foundation. All rights reserved.