Class: RefundOrder

Inherits:
Order
  • Object
show all
Includes:
Unrefundable
Defined in:
app/models/orders/refund_order.rb

Instance Attribute Summary

Attributes inherited from Order

#per_item_processing_charge, #skip_actions

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Unrefundable

#refundable_items

Methods inherited from Order

#<<, #all_donations, #all_items, #all_tickets, #artfully?, #cash?, #contact_email, #create_donation_actions, #create_purchase_action, #credit?, #destroyable?, #discounts_used, #donation_details, #donations, #editable?, #exchangeable_items, #for_organization, #has_donation?, #has_single_donation?, #has_ticket?, in_range, #is_fafs?, #location, #nongift_amount, #num_tickets, #original_order, #payment, #record_exchange!, #refundable_items, #returnable_items, #settleable_donations, #sum_donations, #ticket_summary, #tickets, #time_zone, #to_comp!, #total, #transaction_id

Methods included from Ext::DelayedIndexing

included

Methods included from ArtfullyOseHelper

#action_and_subtype, #amount_and_nongift, #bootstrapped_type, #build_order_location, #channel_checkbox, #channel_text, #check_mark, #contextual_menu, #credit_card_message, #date_field_tag, #datetime_field_tag, #events_to_options, #full_details, #fully_qualified_asset_path, #get_selected_class, #icon_link_to, #icon_tag, #link_to_add_fields, #link_to_remove_fields, #nav_dropdown, #number_as_cents, #number_to_dollars, #select_event_for_sales_search, #select_show_for_sales_search, #sorted_us_state_abbreviations, #sorted_us_state_names, #ticket_seller_name, #time_zone_description, #us_states, #verb_for_save, #widget_script

Methods included from LinkHelper

#active?, #active_link_to, #active_section, #in_section, #in_sub_section

Methods included from OhNoes::Destroy

#destroy, #destroyable?

Methods included from Ext::Integrations::Order

#fa_id, included

Class Method Details

.locationObject



4
5
6
# File 'app/models/orders/refund_order.rb', line 4

def self.location
  "Artful.ly"
end

Instance Method Details

#purchase_action_classObject



11
12
13
# File 'app/models/orders/refund_order.rb', line 11

def purchase_action_class
  RefundAction
end

#sell_ticketsObject



8
9
# File 'app/models/orders/refund_order.rb', line 8

def sell_tickets
end

#ticket_detailsObject



15
16
17
# File 'app/models/orders/refund_order.rb', line 15

def ticket_details
  "received refund for " + pluralize(num_tickets, "ticket")
end