Class: Braintree::AuthorizationAdjustment

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/authorization_adjustment.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) ⇒ AuthorizationAdjustment

Returns a new instance of AuthorizationAdjustment.



19
20
21
# File 'lib/braintree/authorization_adjustment.rb', line 19

def initialize(attributes)
  set_instance_variables_from_hash(attributes)
end

Instance Attribute Details

#amountObject (readonly)

Returns the value of attribute amount.



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

def amount
  @amount
end

#processor_response_codeObject (readonly)

Returns the value of attribute processor_response_code.



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

def processor_response_code
  @processor_response_code
end

#processor_response_textObject (readonly)

Returns the value of attribute processor_response_text.



9
10
11
# File 'lib/braintree/authorization_adjustment.rb', line 9

def processor_response_text
  @processor_response_text
end

#processor_response_typeObject (readonly)

Returns the value of attribute processor_response_type.



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

def processor_response_type
  @processor_response_type
end

#successObject (readonly)

Returns the value of attribute success.



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

def success
  @success
end

#timestampObject (readonly)

Returns the value of attribute timestamp.



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

def timestamp
  @timestamp
end

Class Method Details

._new(*args) ⇒ Object



14
15
16
# File 'lib/braintree/authorization_adjustment.rb', line 14

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