Sha256: 6e85b86564ad87888139d0e8d264197e6fb0eac3f6531a400c37a11081604295

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 Bytes

Contents

# frozen_string_literal: true

module BAI2
  module Structures
    class Transaction
      attr_reader :type, :amount, :funds_type, :availability, :bank_reference, :customer_reference, :text

      def initialize(type:, amount:, funds_type:, availability:, bank_reference:, customer_reference:, text:)
        @type = type
        @amount = amount
        @funds_type = funds_type
        @availability = availability
        @bank_reference = bank_reference
        @customer_reference = customer_reference
        @text = text
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bai2_ruby-0.1.0 lib/bai2_ruby/structures/transaction.rb