Sha256: 7b37060ee4357e53814bfd0cdc837f87d622c1db4cc13a2a8f586e6c697498cb
Contents?: true
Size: 554 Bytes
Versions: 100
Compression:
Stored size: 554 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, *_optional_args) raise "Implement me" end end end
Version data entries
100 entries across 100 versions & 1 rubygems