Class: SecureTrading::Objects::Transaction

Inherits:
DataObject
  • Object
show all
Defined in:
lib/secure_trading/objects/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DataObject

#initialize, #to_xml

Constructor Details

This class inherits a constructor from SecureTrading::DataObject

Instance Attribute Details

#referenceObject

Returns the value of attribute reference.



5
6
7
# File 'lib/secure_trading/objects/transaction.rb', line 5

def reference
  @reference
end

#verifierObject

Returns the value of attribute verifier.



5
6
7
# File 'lib/secure_trading/objects/transaction.rb', line 5

def verifier
  @verifier
end

Instance Method Details

#to_hashObject



7
8
9
10
11
12
# File 'lib/secure_trading/objects/transaction.rb', line 7

def to_hash
  {
    'TransactionVerifier' => self.verifier,
    'ParentTransactionReference' => self.reference
  }
end