Class CampaignRef

java.lang.Object
com.broadleafcommerce.order.common.domain.CampaignRef
All Implemented Interfaces:
Serializable

public class CampaignRef extends Object implements Serializable
A reference to a campaign and code.
Author:
Chad Harchar (charchar)
See Also:
  • Constructor Details

    • CampaignRef

      public CampaignRef()
  • Method Details

    • getCampaignTrackingId

      public String getCampaignTrackingId()
      A text identifier used to track a specific campaign.
      Returns:
      campaignTrackingId A text identifier used to track a specific campaign.
    • getCampaignCode

      public String getCampaignCode()
      The user provided text code that refers to the campaign.
      Returns:
      The user provided text code that refers to the campaign.
    • setCampaignTrackingId

      public void setCampaignTrackingId(String campaignTrackingId)
      A text identifier used to track a specific campaign.
      Parameters:
      campaignTrackingId - A text identifier used to track a specific campaign.
    • setCampaignCode

      public void setCampaignCode(String campaignCode)
      The user provided text code that refers to the campaign.
      Parameters:
      campaignCode - The user provided text code that refers to the campaign.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object