Class: Perka::Model::CouponCampaign

Inherits:
BaseEntityGlobal
  • Object
show all
Defined in:
lib/perka/model/coupon_campaign.rb

Overview

A CouponCampaign defines a relationship between what a merchant thinks of as a coupon and the collection of Coupon objects that implement the behavior. In general, a campaign consists of Coupons that span a non-contiguous set of time ranges, but that are otherwise identical in configuration.

Constant Summary collapse

PROPERTY_NAMES =
[
  :coupons,

  # Retains the original <code>RRULE</code> string used to construct the campaign.
  :rrule,
  :title
]