Class: Braintree::AuthorizationAdjustment
- Inherits:
-
Object
- Object
- Braintree::AuthorizationAdjustment
- Includes:
- BaseModule
- Defined in:
- lib/braintree/authorization_adjustment.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
-
#processor_response_code ⇒ Object
readonly
Returns the value of attribute processor_response_code.
-
#processor_response_text ⇒ Object
readonly
Returns the value of attribute processor_response_text.
-
#processor_response_type ⇒ Object
readonly
Returns the value of attribute processor_response_type.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes) ⇒ AuthorizationAdjustment
constructor
A new instance of AuthorizationAdjustment.
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) ⇒ 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
#amount ⇒ Object (readonly)
Returns the value of attribute amount.
5 6 7 |
# File 'lib/braintree/authorization_adjustment.rb', line 5 def amount @amount end |
#processor_response_code ⇒ Object (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_text ⇒ Object (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_type ⇒ Object (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 |
#success ⇒ Object (readonly)
Returns the value of attribute success.
6 7 8 |
# File 'lib/braintree/authorization_adjustment.rb', line 6 def success @success end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
7 8 9 |
# File 'lib/braintree/authorization_adjustment.rb', line 7 def @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 |