Class: Perka::Model::MerchantLocation
- Inherits:
-
BaseEntityGlobal
- Object
- Flatpack::Core::BaseHasUuid
- BaseEntityGlobal
- Perka::Model::MerchantLocation
- Defined in:
- lib/perka/model/merchant_location.rb
Overview
Represents a single physical location operated by a Merchant where Customers can participate in a Perka loyalty program.
Constant Summary collapse
- PROPERTY_NAMES =
[ :phone, :merchant, :timezone, # The named Clerks which are allowed to operate on the MerchantLocation. # This relationship is owned by the Clerk object. :clerks, # Used to implicitly concatenate the <code>address</code> and <code>address2</code> # fields in a friendly format. :combined_address, :coupon_visibilities, :distance_in_meters, :latitude, :longitude, :merchant_devices, :neighborhood_name, :resolved_facebook_id, :sms_id, :street_address, :geo_location ]
- EMBEDDED_PROPERTY_NAMES =
[ :street_address ]
- TYPE_MAP =
{ :street_address => Perka::Model::StreetAddress, :merchant => Perka::Model::Merchant }