Class: GenesisRuby::Api::Requests::Financial::Preauthorizations::PartialReversal

Inherits:
Base::Reference show all
Defined in:
lib/genesis_ruby/api/requests/financial/preauthorizations/partial_reversal.rb

Overview

Partial Reversal transaction type

Constant Summary

Constants inherited from GenesisRuby::Api::Request

GenesisRuby::Api::Request::AUTH_TYPE_BASIC, GenesisRuby::Api::Request::AUTH_TYPE_TOKEN, GenesisRuby::Api::Request::METHOD_DELETE, GenesisRuby::Api::Request::METHOD_GET, GenesisRuby::Api::Request::METHOD_PATCH, GenesisRuby::Api::Request::METHOD_POST, GenesisRuby::Api::Request::METHOD_PUT, GenesisRuby::Api::Request::PORT_HTTPS, GenesisRuby::Api::Request::PROTOCOL_HTTPS

Instance Attribute Summary

Attributes included from Mixins::Requests::Financial::ReferenceAttributes

#reference_id

Attributes included from Mixins::Requests::Financial::PaymentAttributes

#amount, #currency

Attributes included from Mixins::Requests::Financial::BaseAttributes

#remote_ip, #transaction_id, #usage

Attributes inherited from GenesisRuby::Api::Request

#api_config

Instance Method Summary collapse

Methods included from Mixins::Requests::SmartRouterAttributes

#use_smart_router, #use_smart_router=

Methods inherited from GenesisRuby::Api::Request

#build_document, #initialize

Constructor Details

This class inherits a constructor from GenesisRuby::Api::Request

Instance Method Details

#reference_transaction_structureObject

Returns the transaction structure



17
18
19
# File 'lib/genesis_ruby/api/requests/financial/preauthorizations/partial_reversal.rb', line 17

def reference_transaction_structure
  {}
end

#transaction_typeObject

Partial Reversal transaction type



12
13
14
# File 'lib/genesis_ruby/api/requests/financial/preauthorizations/partial_reversal.rb', line 12

def transaction_type
  Constants::Transactions::PARTIAL_REVERSAL
end