Sha256: 8c359ff25f4a589241955c7157c12339f7267ac8cacf7943f30da6962b402430
Contents?: true
Size: 506 Bytes
Versions: 43
Compression:
Stored size: 506 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
43 entries across 43 versions & 1 rubygems