Sha256: c6e6868e4e0bc43ff608fdc195fc0462607b4b3063d1186f0c626c0bbd0baeab

Contents?: true

Size: 373 Bytes

Versions: 6

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

module Afterpay
  module Components
    class Discount < Base
      # @attribute display_name
      # @return [String]
      # A display name for the discount.
      attr_accessor :display_name

      # @attribute amount
      # @return [Afterpay::Components::Money]
      # The discount amount.
      attr_accessor :amount
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
afterpay-0.6.0 lib/afterpay/components/discount.rb
afterpay-0.5.0 lib/afterpay/components/discount.rb
afterpay-0.4.0 lib/afterpay/components/discount.rb
afterpay-0.3.0 lib/afterpay/components/discount.rb
afterpay-0.2.0 lib/afterpay/components/discount.rb
afterpay-0.1.0 lib/afterpay/components/discount.rb