Class: ActiveMerchant::Billing::PaymentechOrbital::Request::Void

Inherits:
Base
  • Object
show all
Defined in:
lib/active_merchant/billing/paymentech_orbital/request/void.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#gateway, #options

Instance Method Summary collapse

Methods inherited from Base

#address, #full_street_address, #headers, #to_a, #to_xml

Constructor Details

#initialize(tx_ref_num, tx_ref_idx, money = nil, options = {}) ⇒ Void

Returns a new instance of Void.



8
9
10
11
12
13
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 8

def initialize(tx_ref_num, tx_ref_idx, money=nil, options={})
  @tx_ref_num = tx_ref_num
  @tx_ref_idx = tx_ref_idx
  @money = money
  super(options)
end

Instance Attribute Details

#moneyObject (readonly)

Returns the value of attribute money.



6
7
8
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 6

def money
  @money
end

#tx_ref_idxObject (readonly)

Returns the value of attribute tx_ref_idx.



6
7
8
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 6

def tx_ref_idx
  @tx_ref_idx
end

#tx_ref_numObject (readonly)

Returns the value of attribute tx_ref_num.



6
7
8
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 6

def tx_ref_num
  @tx_ref_num
end

Instance Method Details

#industry_typeObject



21
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 21

def industry_type; nil; end

#request_typeObject



15
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 15

def request_type; "Reversal"; end

#to_sObject



17
18
19
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 17

def to_s
  "Void: #{tx_ref_num}"
end