Sha256: 993cb6f55f297032561fe230a7183fd09236c488bc1aa96b23798b156977615a

Contents?: true

Size: 595 Bytes

Versions: 4

Compression:

Stored size: 595 Bytes

Contents

module GenesisRuby
  module Api
    module Requests
      module Financial
        # Void or undo payment transaction request
        class Void < Base::Financial

          include Mixins::Requests::Financial::ReferenceAttributes

          protected

          # Void transaction type
          def transaction_type
            Api::Constants::Transactions::VOID
          end

          # Void transaction request structure
          def payment_transaction_structure
            {
              reference_id: reference_id
            }
          end

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
genesis_ruby-0.1.4 lib/genesis_ruby/api/requests/financial/void.rb
genesis_ruby-0.1.3 lib/genesis_ruby/api/requests/financial/void.rb
genesis_ruby-0.1.2 lib/genesis_ruby/api/requests/financial/void.rb
genesis_ruby-0.1.1 lib/genesis_ruby/api/requests/financial/void.rb