Class: Magentwo::Cart

Inherits:
Base
  • Object
show all
Defined in:
lib/model/cart.rb

Constant Summary collapse

Attributes =
%i(id created_at updated_at is_active is_virtual items_count items_qty customer billing_address reserved_order_id orig_order_id currency customer_is_guest customer_note_notify customer_tax_class_id store_id)

Constants inherited from Base

Base::DatasetMethods

Class Method Summary collapse

Methods inherited from Base

[], all, base_path, #call, call, #check_presence, dataset, #delete, each, each_page, first, get, #initialize, lower_case_name, map, #save, #to_h, #to_json, unique_identifier, #validate

Constructor Details

This class inherits a constructor from Magentwo::Base

Class Method Details

.get_pathObject



7
8
9
# File 'lib/model/cart.rb', line 7

def get_path
  "#{self.base_path}/search"
end