Class: Hps::HpsTransaction

Inherits:
Object
  • Object
show all
Defined in:
lib/hps/entities/hps_transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_numberObject

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_codeObject

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_textObject

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_headerObject

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_idObject

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