Class: Workarea::Pricing::Calculator::TestRequest

Inherits:
Request
  • Object
show all
Defined in:
app/models/workarea/pricing/calculator.rb

Instance Method Summary collapse

Methods inherited from Request

#discounts, #initialize, #pricing, #run, #save!, #stale?

Constructor Details

This class inherits a constructor from Workarea::Pricing::Request

Instance Method Details

#orderObject



7
8
9
# File 'app/models/workarea/pricing/calculator.rb', line 7

def order
  @persisted_order
end

#paymentObject



15
16
17
# File 'app/models/workarea/pricing/calculator.rb', line 15

def payment
  @persisted_payment
end

#shippingsObject



11
12
13
# File 'app/models/workarea/pricing/calculator.rb', line 11

def shippings
  @persisted_shippings
end