lib/active_merchant/billing/gateways/litle.rb
def void(identification, options = {})
        transaction_id, kind = identification.split(';')
        if kind == 'authorization'
          to_pass = create_auth_reversal_hash(transaction_id, options[:amount], options)
          build_response(:authReversal, @litle.auth_reversal(to_pass))
        else
          to_pass = create_void_hash(transaction_id, options)
          build_response(:void, @litle.void(to_pass))
        end
      end
# Note: Litle requires that authorization requests be voided via auth_reversal
# and other requests via void. To maintain the same interface as the other
# gateways the transaction_id and the kind of transaction are concatenated
# together with a ; separator (e.g. 1234;authorization)
#
# A partial auth_reversal can be accomplished by passing :amount as an option
Litle requires that authorization requests be voided via auth_reversal
and other requests via void. To maintain the same interface as the other
gateways the transaction_id and the kind of transaction are concatenated
together with a ; separator

A partial auth_reversal can be accomplished by passing :amount as an option
Litle requires that authorization requests be voided via auth_reversal and other requests via void . To maintain the same interface as the other gateways the transaction_id and the kind of transaction are concatenated together with a ; separator A partial auth_reversal can be accomplished by passing : amount as an option
def void(identification, options = {})
        transaction_id, kind = identification.split(';')
        if kind == 'authorization'
          to_pass = create_auth_reversal_hash(transaction_id, options[:amount], options)
          build_response(:authReversal, @litle.auth_reversal(to_pass))
        else
          to_pass = create_void_hash(transaction_id, options)
          build_response(:void, @litle.void(to_pass))
        end
      end
def void ( identification , options = { } ) transaction_id , kind = identification . split ( ';' ) if kind == 'authorization' to_pass = create_auth_reversal_hash ( transaction_id , options [ :amount ] , options ) build_response ( :authReversal , @litle . auth_reversal ( to_pass ) ) else to_pass = create_void_hash ( transaction_id , options ) build_response ( :void , @litle . void ( to_pass ) ) end end
Note: Litle requires that authorization requests be voided via auth_reversal
and other requests via void.
Note : Litle requires that authorization requests be voided via auth_reversal and other requests via void .
identification
options