Sha256: 76cf24a090ca6d90bafa83c7a0a5e503eff50b2628371804fef8da9a6cfcb9ab

Contents?: true

Size: 784 Bytes

Versions: 4

Compression:

Stored size: 784 Bytes

Contents

module GenesisRuby
  module Api
    module Requests
      module Financial
        # Capture settles a transaction which has been authorized before
        class Capture < Requests::Base::Reference

          include Mixins::Requests::Financial::Business::BusinessAttributes
          include Mixins::Requests::RestrictedSetter

          protected

          # Capture Transaction Request type
          def transaction_type
            Api::Constants::Transactions::CAPTURE
          end

          # Capture Transaction Request Structure
          def reference_transaction_structure
            {
              reference_id:        reference_id,
              business_attributes: business_attributes_structure
            }
          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/capture.rb
genesis_ruby-0.1.3 lib/genesis_ruby/api/requests/financial/capture.rb
genesis_ruby-0.1.2 lib/genesis_ruby/api/requests/financial/capture.rb
genesis_ruby-0.1.1 lib/genesis_ruby/api/requests/financial/capture.rb