Sha256: d6b3639a6fadbb83f1536627f5a070c1c6e47f77e451cca90b4a057275d3c37d
Contents?: true
Size: 537 Bytes
Versions: 27
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true 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
27 entries across 27 versions & 2 rubygems