Class: Braintree::TransactionReview

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

Instance Attribute Summary collapse

Class Method 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) ⇒ TransactionReview

Returns a new instance of TransactionReview.



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

def initialize(attributes)
  set_instance_variables_from_hash(attributes)
end

Instance Attribute Details

#decisionObject (readonly)

Returns the value of attribute decision.



5
6
7
# File 'lib/braintree/transaction_review.rb', line 5

def decision
  @decision
end

#reviewer_emailObject (readonly)

Returns the value of attribute reviewer_email.



5
6
7
# File 'lib/braintree/transaction_review.rb', line 5

def reviewer_email
  @reviewer_email
end

#reviewer_noteObject (readonly)

Returns the value of attribute reviewer_note.



5
6
7
# File 'lib/braintree/transaction_review.rb', line 5

def reviewer_note
  @reviewer_note
end

#reviewer_timeObject (readonly)

Returns the value of attribute reviewer_time.



5
6
7
# File 'lib/braintree/transaction_review.rb', line 5

def reviewer_time
  @reviewer_time
end

#transaction_idObject (readonly)

Returns the value of attribute transaction_id.



5
6
7
# File 'lib/braintree/transaction_review.rb', line 5

def transaction_id
  @transaction_id
end

Class Method Details

._new(*args) ⇒ Object



13
14
15
# File 'lib/braintree/transaction_review.rb', line 13

def _new(*args)
  self.new(*args)
end