class E4commerce::E4CPayment

class E4CPayment < ActiveRecord::Base ~> Rails project, need database

Attributes

product_list[RW]
total[RW]

Public Instance Methods

add_product(product) click to toggle source
# File lib/e4commerce/payment.rb, line 20
def add_product(product)
        raise NotImplementedError, "Child must implement method"
end
calculate_total(products) click to toggle source
# File lib/e4commerce/payment.rb, line 12
def calculate_total(products)
        raise NotImplementedError, "Child must implement method"
end
create_payment() click to toggle source
# File lib/e4commerce/payment.rb, line 16
def create_payment
        raise NotImplementedError, "Child must implement method"
end