Class: Braintree::LocalPaymentFunded

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

:nodoc:


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

def initialize(attributes) # :nodoc:
  set_instance_variables_from_hash(attributes)
  @transaction = Transaction._new(Configuration.gateway, transaction)
end

Instance Attribute Details

#payment_context_idObject (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_idObject (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

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

:nodoc:


18
19
20
# File 'lib/braintree/local_payment_funded.rb', line 18

def self._new(*args) # :nodoc:
  self.new(*args)
end