Class: Braintree::LocalPaymentFunded
- Inherits:
-
Object
- Object
- Braintree::LocalPaymentFunded
- Includes:
- BaseModule
- Defined in:
- lib/braintree/local_payment_funded.rb
Instance Attribute Summary collapse
-
#payment_context_id ⇒ Object
readonly
Returns the value of attribute payment_context_id.
-
#payment_id ⇒ Object
readonly
Returns the value of attribute payment_id.
-
#transaction ⇒ Object
readonly
Returns the value of attribute transaction.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes) ⇒ LocalPaymentFunded
constructor
A new instance of LocalPaymentFunded.
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) ⇒ LocalPaymentFunded
Returns a new instance of LocalPaymentFunded.
9 10 11 12 |
# File 'lib/braintree/local_payment_funded.rb', line 9 def initialize(attributes) set_instance_variables_from_hash(attributes) @transaction = Transaction._new(Configuration.gateway, transaction) end |
Instance Attribute Details
#payment_context_id ⇒ Object (readonly)
Returns the value of attribute payment_context_id.
6 7 8 |
# File 'lib/braintree/local_payment_funded.rb', line 6 def payment_context_id @payment_context_id end |
#payment_id ⇒ Object (readonly)
Returns the value of attribute payment_id.
5 6 7 |
# File 'lib/braintree/local_payment_funded.rb', line 5 def payment_id @payment_id end |
#transaction ⇒ Object (readonly)
Returns the value of attribute transaction.
7 8 9 |
# File 'lib/braintree/local_payment_funded.rb', line 7 def transaction @transaction end |
Class Method Details
._new(*args) ⇒ Object
18 19 20 |
# File 'lib/braintree/local_payment_funded.rb', line 18 def self._new(*args) self.new(*args) end |