Class CampaignEvent

  • All Implemented Interfaces:
    Serializable

    public class CampaignEvent
    extends MetadataItem
    A specific campaign event to help analyzing your key performance indicators by marking specific dates during your campaign.
    Author:
    : rincevent Created : 17/03/15
    See Also:
    Serialized Form
    • Constructor Detail

      • CampaignEvent

        public CampaignEvent()
        Instantiates a new Campaign event.
      • CampaignEvent

        public CampaignEvent​(Metadata metadata)
        Instantiates a new Campaign event with the specified metadata.
        Parameters:
        metadata - the metadata
    • Method Detail

      • getCost

        public Double getCost()
        Retrieves the cost associated with this campaign event.
        Returns:
        the cost associated with this campaign event
      • setCost

        public void setCost​(Double cost)
        Sets the cost.
        Parameters:
        cost - the cost
      • getCurrency

        public String getCurrency()
        Retrieves the currency.
        Returns:
        the currency
      • setCurrency

        public void setCurrency​(String currency)
        Sets the currency.
        Parameters:
        currency - the currency
      • getEventDate

        public Date getEventDate()
        Retrieves the event date.
        Returns:
        the event date
      • setEventDate

        public void setEventDate​(Date eventDate)
        Sets the event date.
        Parameters:
        eventDate - the event date
      • getCampaignId

        public String getCampaignId()
        Retrieves the identifier of the associated Campaign.
        Returns:
        the identifier of the associated Campaign
      • setCampaignId

        public void setCampaignId​(String campaignId)
        Sets the campaign id.
        Parameters:
        campaignId - the campaign id
      • getTimezone

        public String getTimezone()
        Retrieves the timezone.
        Returns:
        the timezone
      • setTimezone

        public void setTimezone​(String timezone)
        Sets the timezone.
        Parameters:
        timezone - the timezone