Class: Perka::Model::ProgramType
- Inherits:
-
BaseEntityGlobal
- Object
- Flatpack::Core::BaseHasUuid
- BaseEntityGlobal
- Perka::Model::ProgramType
- Defined in:
- lib/perka/model/program_type.rb
Overview
A ProgramType defines a single kind of offer made by the Merchant. For example, a Merchant may have two ProgramTypes, one for coffee sales and another for sandwich sales. Because Customers are offered increasingly better perks as they return over time, a single ProgramType is used to aggregate multiple <entityReference payloadName=‘program’> Program</entityReference> objects that have a fan-out based on <entityReference payloadName=‘programTier’> ProgramTier</entityReference>.
Constant Summary collapse
- PROPERTY_NAMES =
[ :expires_at, :stamp_id, :name, :expires_in ]