Class: Braintree::Transaction::StatusDetails
- Inherits:
-
Object
- Object
- Braintree::Transaction::StatusDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/transaction/status_details.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
-
#transaction_source ⇒ Object
readonly
Returns the value of attribute transaction_source.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ StatusDetails
constructor
A new instance of StatusDetails.
Methods included from BaseModule
Methods included from BaseModule::Methods
#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class
Constructor Details
#initialize(attributes) ⇒ StatusDetails
Returns a new instance of StatusDetails.
12 13 14 |
# File 'lib/braintree/transaction/status_details.rb', line 12 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#amount ⇒ Object (readonly)
Returns the value of attribute amount.
6 7 8 |
# File 'lib/braintree/transaction/status_details.rb', line 6 def amount @amount end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
7 8 9 |
# File 'lib/braintree/transaction/status_details.rb', line 7 def status @status end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
8 9 10 |
# File 'lib/braintree/transaction/status_details.rb', line 8 def @timestamp end |
#transaction_source ⇒ Object (readonly)
Returns the value of attribute transaction_source.
9 10 11 |
# File 'lib/braintree/transaction/status_details.rb', line 9 def transaction_source @transaction_source end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
10 11 12 |
# File 'lib/braintree/transaction/status_details.rb', line 10 def user @user end |