Sha256: 0c0d17e0973c950d3b12ad6bbdddceaeaebae278c3378a59a784d776dd0aa3f5

Contents?: true

Size: 477 Bytes

Versions: 7

Compression:

Stored size: 477 Bytes

Contents

module Braintree
  class Transaction
    class DisbursementDetails # :nodoc:
      include BaseModule

      attr_reader :disbursement_date, :settlement_amount, :settlement_currency_iso_code, :settlement_currency_exchange_rate

      def initialize(attributes)
        set_instance_variables_from_hash attributes unless attributes.nil?
      end

      def funds_held?
        @funds_held
      end

      def valid?
        !disbursement_date.nil?
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
braintree-2.28.0 lib/braintree/transaction/disbursement_details.rb
braintree-2.27.1 lib/braintree/transaction/disbursement_details.rb
braintree-2.27.0 lib/braintree/transaction/disbursement_details.rb
braintree-2.26.0 lib/braintree/transaction/disbursement_details.rb
braintree-2.25.0 lib/braintree/transaction/disbursement_details.rb
braintree-2.24.0 lib/braintree/transaction/disbursement_details.rb
braintree-2.23.0 lib/braintree/transaction/disbursement_details.rb