Class: TempDiscount

Inherits:
Event
  • Object
show all
Defined in:
app/models/temp_discount.rb

Overview

only exsist for mockuping up the discount form remove after Discount and DiscountSections model is created

Constant Summary

Constants inherited from Event

Event::ANY_EVENT_ID, Event::ANY_EVENT_TEXT, Event::CATEGORIES

Constants included from Ext::Uuid

Ext::Uuid::PREFIX

Instance Attribute Summary collapse

Method Summary

Methods inherited from Event

#<=>, #applies_to_pass?, #artfully_ticketed, #as_full_calendar_json, #as_json, #as_widget_json, #assign_chart, #create_default_chart, #default_chart, #destroy, #destroy!, #destroyable?, #filter_charts, for_event_storefront, #free?, #imported?, #items, #next_public_show, #next_show, #played_shows, #refresh_stats, #set_primary_category, #single_show?, storefront_find, #to_s, #upcoming_public_shows, #upcoming_shows, #upcoming_shows_rel

Methods included from Ext::DelayedIndexing

included

Methods included from EventPresenter

included

Methods included from Ticket::Reporting

#glance

Methods included from Ext::Uuid

included, #set_uuid, uuid

Methods included from Ext::Integrations::Event

#shows_with_sales

Instance Attribute Details

#activeObject

Returns the value of attribute active.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def active
  @active
end

#codeObject

Returns the value of attribute code.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def code
  @code
end

#limitObject

Returns the value of attribute limit.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def limit
  @limit
end

#maximum_purchaseObject

Returns the value of attribute maximum_purchase.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def maximum_purchase
  @maximum_purchase
end

#minimum_purchaseObject

Returns the value of attribute minimum_purchase.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def minimum_purchase
  @minimum_purchase
end

#promotion_typeObject

Returns the value of attribute promotion_type.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def promotion_type
  @promotion_type
end

#show_idsObject

Returns the value of attribute show_ids.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def show_ids
  @show_ids
end

#unlimited_capacityObject

Returns the value of attribute unlimited_capacity.



5
6
7
# File 'app/models/temp_discount.rb', line 5

def unlimited_capacity
  @unlimited_capacity
end