Class: Checkout

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/checkout.rb

Instance Attribute Summary collapse

Instance Attribute Details

#coupon_codeObject

Returns the value of attribute coupon_code.



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

def coupon_code
  @coupon_code
end

#creditcardObject

for memory-only storage of creditcard details



14
15
16
# File 'app/models/checkout.rb', line 14

def creditcard
  @creditcard
end