Class: Braintree::LocalPaymentCompleted

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

Returns a new instance of LocalPaymentCompleted.



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

def initialize(attributes)
  set_instance_variables_from_hash(attributes)
  @transaction = Transaction._new(Configuration.gateway, transaction) unless transaction.nil?
end

Instance Attribute Details

#bicObject (readonly)

Returns the value of attribute bic.



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

def bic
  @bic
end

#iban_last_charsObject (readonly)

Returns the value of attribute iban_last_chars.



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

def iban_last_chars
  @iban_last_chars
end

#payer_idObject (readonly)

Returns the value of attribute payer_id.



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

def payer_id
  @payer_id
end

#payer_nameObject (readonly)

Returns the value of attribute payer_name.



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

def payer_name
  @payer_name
end

#payment_idObject (readonly)

Returns the value of attribute payment_id.



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

def payment_id
  @payment_id
end

#payment_method_nonceObject (readonly)

Returns the value of attribute payment_method_nonce.



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

def payment_method_nonce
  @payment_method_nonce
end

#transactionObject (readonly)

Returns the value of attribute transaction.



11
12
13
# File 'lib/braintree/local_payment_completed.rb', line 11

def transaction
  @transaction
end

Class Method Details

._new(*args) ⇒ Object



22
23
24
# File 'lib/braintree/local_payment_completed.rb', line 22

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