Class: Hps::HpsTransaction
- Inherits:
-
Object
- Object
- Hps::HpsTransaction
- Defined in:
- lib/hps/entities/hps_transaction.rb
Direct Known Subclasses
HpsAuthorization, HpsCheckResponse, HpsManageTokens, HpsRefund, HpsReportTransactionSummary, HpsReversal, HpsVoid
Instance Attribute Summary collapse
-
#reference_number ⇒ Object
Returns the value of attribute reference_number.
-
#response_code ⇒ Object
Returns the value of attribute response_code.
-
#response_text ⇒ Object
Returns the value of attribute response_text.
-
#transaction_header ⇒ Object
Returns the value of attribute transaction_header.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
Instance Method Summary collapse
-
#initialize(transaction_header = nil) ⇒ HpsTransaction
constructor
A new instance of HpsTransaction.
Constructor Details
#initialize(transaction_header = nil) ⇒ HpsTransaction
Returns a new instance of HpsTransaction.
7 8 9 |
# File 'lib/hps/entities/hps_transaction.rb', line 7 def initialize(transaction_header=nil) @transaction_header = transaction_header end |
Instance Attribute Details
#reference_number ⇒ Object
Returns the value of attribute reference_number.
5 6 7 |
# File 'lib/hps/entities/hps_transaction.rb', line 5 def reference_number @reference_number end |
#response_code ⇒ Object
Returns the value of attribute response_code.
5 6 7 |
# File 'lib/hps/entities/hps_transaction.rb', line 5 def response_code @response_code end |
#response_text ⇒ Object
Returns the value of attribute response_text.
5 6 7 |
# File 'lib/hps/entities/hps_transaction.rb', line 5 def response_text @response_text end |
#transaction_header ⇒ Object
Returns the value of attribute transaction_header.
5 6 7 |
# File 'lib/hps/entities/hps_transaction.rb', line 5 def transaction_header @transaction_header end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
5 6 7 |
# File 'lib/hps/entities/hps_transaction.rb', line 5 def transaction_id @transaction_id end |