Class: ActiveMerchant::Billing::PaymentechOrbital::Request::Void
- Defined in:
- lib/active_merchant/billing/paymentech_orbital/request/void.rb
Instance Attribute Summary collapse
-
#money ⇒ Object
readonly
Returns the value of attribute money.
-
#tx_ref_idx ⇒ Object
readonly
Returns the value of attribute tx_ref_idx.
-
#tx_ref_num ⇒ Object
readonly
Returns the value of attribute tx_ref_num.
Attributes inherited from Base
Instance Method Summary collapse
- #industry_type ⇒ Object
-
#initialize(tx_ref_num, tx_ref_idx, money = nil, options = {}) ⇒ Void
constructor
A new instance of Void.
- #request_type ⇒ Object
- #to_s ⇒ Object
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, ={}) @tx_ref_num = tx_ref_num @tx_ref_idx = tx_ref_idx @money = money super() end |
Instance Attribute Details
#money ⇒ Object (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_idx ⇒ Object (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_num ⇒ Object (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_type ⇒ Object
21 |
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 21 def industry_type; nil; end |
#request_type ⇒ Object
15 |
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 15 def request_type; "Reversal"; end |
#to_s ⇒ Object
17 18 19 |
# File 'lib/active_merchant/billing/paymentech_orbital/request/void.rb', line 17 def to_s "Void: #{tx_ref_num}" end |