Class: Plugins::Ecommerce::LegacyOrder
- Inherits:
-
CamaleonCms::TermTaxonomy
- Object
- CamaleonCms::TermTaxonomy
- Plugins::Ecommerce::LegacyOrder
- Defined in:
- app/models/plugins/ecommerce/legacy_order.rb
Overview
not used anymore (DEPRECATED)
Instance Method Summary collapse
Instance Method Details
#payment ⇒ Object
11 12 13 14 |
# File 'app/models/plugins/ecommerce/legacy_order.rb', line 11 def payment payment = ("payment") ("pay_#{payment[:type]}".to_sym) end |
#payment_method ⇒ Object
7 8 9 |
# File 'app/models/plugins/ecommerce/legacy_order.rb', line 7 def payment_method Plugins::Ecommerce::PaymentMethod.find_by_id ("payment")[:payment_id] end |
#shipping_method ⇒ Object
16 17 18 |
# File 'app/models/plugins/ecommerce/legacy_order.rb', line 16 def shipping_method Plugins::Ecommerce::ShippingMethod.find_by_id ("payment", {})[:shipping_method] end |