Class: Perka::Model::CouponTarget

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

Overview

The CustomerClass hierarchy defines memberships rules that have been defined by a Merchant.

Constant Summary collapse

PROPERTY_NAMES =
[
  :merchant,

  # An optional child-to-parent relationship that allows behaviors to be aggregated 
  # together.
  :parent
]
TYPE_MAP =
{
  :merchant => Perka::Model::Merchant,
  :parent => Perka::Model::CompositeTarget
}