Class: Braintree::LocalPaymentCompleted
- Inherits:
-
Object
- Object
- Braintree::LocalPaymentCompleted
- Includes:
- BaseModule
- Defined in:
- lib/braintree/local_payment_completed.rb
Instance Attribute Summary collapse
-
#bic ⇒ Object
readonly
Returns the value of attribute bic.
-
#iban_last_chars ⇒ Object
readonly
Returns the value of attribute iban_last_chars.
-
#payer_id ⇒ Object
readonly
Returns the value of attribute payer_id.
-
#payer_name ⇒ Object
readonly
Returns the value of attribute payer_name.
-
#payment_id ⇒ Object
readonly
Returns the value of attribute payment_id.
-
#payment_method_nonce ⇒ Object
readonly
Returns the value of attribute payment_method_nonce.
-
#transaction ⇒ Object
readonly
Returns the value of attribute transaction.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes) ⇒ LocalPaymentCompleted
constructor
A new instance of LocalPaymentCompleted.
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) ⇒ 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
#bic ⇒ Object (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_chars ⇒ Object (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_id ⇒ Object (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_name ⇒ Object (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_id ⇒ Object (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_nonce ⇒ Object (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 |
#transaction ⇒ Object (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 |