Class: ConsoleSale::Cart

Inherits:
Cart
  • Object
show all
Defined in:
app/models/console_sale.rb

Instance Attribute Summary

Attributes inherited from Cart

#special_instructions

Instance Method Summary collapse

Methods inherited from Cart

#<<, #applied_code, #as_json, #can_hold?, #checkout_class, #clear!, #clear_donations, #clear_memberships, #clear_passes, #clear_tickets, #completed?, create_for_reseller, #discount_amount, #fee_in_cents, find_cart, find_or_create, for_reseller, #generate_donations, #has_discount_or_pass?, #items, #organizations, #prepare_for_discount!, #prepare_for_pass!, #reseller_is?, #reset_prices_on_tickets, #subtotal, #total, #total_before_discount, #transfer_token_to_new_cart, #unfinished?

Instance Method Details

#calculate_fees(obj) ⇒ Object



13
14
15
# File 'app/models/console_sale.rb', line 13

def calculate_fees(obj)
  FeeCalculator.apply(ConsoleSale::FeeStrategy.new).to(self)
end