class App42::Shopping::Payment
Attributes
date[RW]
status[RW]
totalAmount[RW]
transactionId[RW]
Public Class Methods
new(cart)
click to toggle source
This is a constructor that takes no parameter
# File lib/shopping/Cart.rb, line 72 def initialize(cart) cart.payment = self end