Class: Braintree::Transaction::StatusDetails

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/transaction/status_details.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BaseModule

included

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

#amountObject (readonly)

Returns the value of attribute amount.



6
7
8
# File 'lib/braintree/transaction/status_details.rb', line 6

def amount
  @amount
end

#statusObject (readonly)

Returns the value of attribute status.



7
8
9
# File 'lib/braintree/transaction/status_details.rb', line 7

def status
  @status
end

#timestampObject (readonly)

Returns the value of attribute timestamp.



8
9
10
# File 'lib/braintree/transaction/status_details.rb', line 8

def timestamp
  @timestamp
end

#transaction_sourceObject (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

#userObject (readonly)

Returns the value of attribute user.



10
11
12
# File 'lib/braintree/transaction/status_details.rb', line 10

def user
  @user
end