Sha256: 303b3f9753debe863128cd0f65e9d9fa38abc382dfc7ba4d341f25ab2437e621

Contents?: true

Size: 537 Bytes

Versions: 11

Compression:

Stored size: 537 Bytes

Contents

# frozen_string_literal: true

module IronBank
  module Resources
    module CatalogTiers
      # A tier that holds an discount ammount for a given product rate plan
      # charge.
      #
      class DiscountAmount < ProductRatePlanChargeTier
        def self.exclude_fields
          %w[
            Active
            DiscountPercentage
            IncludedUnits
            OveragePrice
            Price
          ]
        end

        def self.object_name
          superclass.object_name
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
iron_bank-2.2.0 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-2.1.0 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-2.0.2 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-2.0.1 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-2.0.0 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-1.0.4 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-1.0.3 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-1.0.2 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-1.0.1 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-1.0.0 lib/iron_bank/resources/catalog_tiers/discount_amount.rb
iron_bank-0.7.1 lib/iron_bank/resources/catalog_tiers/discount_amount.rb