Sha256: 409e4b4c2613ec4e239a482f5903b789eeac0e08d0c30e0354322d8ebc9b8ae1
Contents?: true
Size: 503 Bytes
Versions: 79
Compression:
Stored size: 503 Bytes
Contents
module Spree class ReimbursementType < Spree::Base include Spree::NamedType ORIGINAL = 'original' has_many :return_items # This method will reimburse the return items based on however it child implements it # By default it takes a reimbursement, the return items it needs to reimburse, and if # it is a simulation or a real reimbursement. This should return an array def self.reimburse(reimbursement, return_items, simulate) raise "Implement me" end end end
Version data entries
79 entries across 79 versions & 3 rubygems