Sha256: 4ba9bb700f4ed8abe094d7c4cfd4c9d59414b15890a2d153eaf55f20334137b9
Contents?: true
Size: 339 Bytes
Versions: 5
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true module SolidusFriendlyPromotions class ShippingRateDiscount < Spree::Base belongs_to :shipping_rate, inverse_of: :discounts, class_name: "Spree::ShippingRate" belongs_to :promotion_action, -> { with_discarded }, inverse_of: false extend Spree::DisplayMoney money_methods :amount end end
Version data entries
5 entries across 5 versions & 1 rubygems