Class: Braintree::Transaction::LocalPaymentDetails
- Inherits:
-
Object
- Object
- Braintree::Transaction::LocalPaymentDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/transaction/local_payment_details.rb
Instance Attribute Summary collapse
-
#capture_id ⇒ Object
readonly
Returns the value of attribute capture_id.
-
#custom_field ⇒ Object
readonly
Returns the value of attribute custom_field.
-
#debug_id ⇒ Object
readonly
Returns the value of attribute debug_id.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#funding_source ⇒ Object
readonly
Returns the value of attribute funding_source.
-
#implicitly_vaulted_payment_method_global_id ⇒ Object
readonly
Returns the value of attribute implicitly_vaulted_payment_method_global_id.
-
#implicitly_vaulted_payment_method_token ⇒ Object
readonly
Returns the value of attribute implicitly_vaulted_payment_method_token.
-
#payer_id ⇒ Object
readonly
Returns the value of attribute payer_id.
-
#payment_id ⇒ Object
readonly
Returns the value of attribute payment_id.
-
#refund_from_transaction_fee_amount ⇒ Object
readonly
Returns the value of attribute refund_from_transaction_fee_amount.
-
#refund_from_transaction_fee_currency_iso_code ⇒ Object
readonly
Returns the value of attribute refund_from_transaction_fee_currency_iso_code.
-
#refund_id ⇒ Object
readonly
Returns the value of attribute refund_id.
-
#transaction_fee_amount ⇒ Object
readonly
Returns the value of attribute transaction_fee_amount.
-
#transaction_fee_currency_iso_code ⇒ Object
readonly
Returns the value of attribute transaction_fee_currency_iso_code.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ LocalPaymentDetails
constructor
A new instance of LocalPaymentDetails.
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) ⇒ LocalPaymentDetails
Returns a new instance of LocalPaymentDetails.
21 22 23 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 21 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? end |
Instance Attribute Details
#capture_id ⇒ Object (readonly)
Returns the value of attribute capture_id.
6 7 8 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 6 def capture_id @capture_id end |
#custom_field ⇒ Object (readonly)
Returns the value of attribute custom_field.
7 8 9 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 7 def custom_field @custom_field end |
#debug_id ⇒ Object (readonly)
Returns the value of attribute debug_id.
8 9 10 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 8 def debug_id @debug_id end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
9 10 11 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 9 def description @description end |
#funding_source ⇒ Object (readonly)
Returns the value of attribute funding_source.
10 11 12 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 10 def funding_source @funding_source end |
#implicitly_vaulted_payment_method_global_id ⇒ Object (readonly)
Returns the value of attribute implicitly_vaulted_payment_method_global_id.
11 12 13 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 11 def implicitly_vaulted_payment_method_global_id @implicitly_vaulted_payment_method_global_id end |
#implicitly_vaulted_payment_method_token ⇒ Object (readonly)
Returns the value of attribute implicitly_vaulted_payment_method_token.
12 13 14 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 12 def implicitly_vaulted_payment_method_token @implicitly_vaulted_payment_method_token end |
#payer_id ⇒ Object (readonly)
Returns the value of attribute payer_id.
13 14 15 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 13 def payer_id @payer_id end |
#payment_id ⇒ Object (readonly)
Returns the value of attribute payment_id.
14 15 16 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 14 def payment_id @payment_id end |
#refund_from_transaction_fee_amount ⇒ Object (readonly)
Returns the value of attribute refund_from_transaction_fee_amount.
15 16 17 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 15 def refund_from_transaction_fee_amount @refund_from_transaction_fee_amount end |
#refund_from_transaction_fee_currency_iso_code ⇒ Object (readonly)
Returns the value of attribute refund_from_transaction_fee_currency_iso_code.
16 17 18 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 16 def refund_from_transaction_fee_currency_iso_code @refund_from_transaction_fee_currency_iso_code end |
#refund_id ⇒ Object (readonly)
Returns the value of attribute refund_id.
17 18 19 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 17 def refund_id @refund_id end |
#transaction_fee_amount ⇒ Object (readonly)
Returns the value of attribute transaction_fee_amount.
18 19 20 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 18 def transaction_fee_amount @transaction_fee_amount end |
#transaction_fee_currency_iso_code ⇒ Object (readonly)
Returns the value of attribute transaction_fee_currency_iso_code.
19 20 21 |
# File 'lib/braintree/transaction/local_payment_details.rb', line 19 def transaction_fee_currency_iso_code @transaction_fee_currency_iso_code end |