Class: Braintree::Transaction::LocalPaymentDetails

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/transaction/local_payment_details.rb

Instance Attribute 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) ⇒ LocalPaymentDetails

Returns a new instance of LocalPaymentDetails.


19
20
21
# File 'lib/braintree/transaction/local_payment_details.rb', line 19

def initialize(attributes)
  set_instance_variables_from_hash attributes unless attributes.nil?
end

Instance Attribute Details

#capture_idObject (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_fieldObject (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_idObject (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

#descriptionObject (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_sourceObject (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

#payer_idObject (readonly)

Returns the value of attribute payer_id.


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

def payer_id
  @payer_id
end

#payment_idObject (readonly)

Returns the value of attribute payment_id.


12
13
14
# File 'lib/braintree/transaction/local_payment_details.rb', line 12

def payment_id
  @payment_id
end

#refund_from_transaction_fee_amountObject (readonly)

Returns the value of attribute refund_from_transaction_fee_amount.


13
14
15
# File 'lib/braintree/transaction/local_payment_details.rb', line 13

def refund_from_transaction_fee_amount
  @refund_from_transaction_fee_amount
end

#refund_from_transaction_fee_currency_iso_codeObject (readonly)

Returns the value of attribute refund_from_transaction_fee_currency_iso_code.


14
15
16
# File 'lib/braintree/transaction/local_payment_details.rb', line 14

def refund_from_transaction_fee_currency_iso_code
  @refund_from_transaction_fee_currency_iso_code
end

#refund_idObject (readonly)

Returns the value of attribute refund_id.


15
16
17
# File 'lib/braintree/transaction/local_payment_details.rb', line 15

def refund_id
  @refund_id
end

#transaction_fee_amountObject (readonly)

Returns the value of attribute transaction_fee_amount.


16
17
18
# File 'lib/braintree/transaction/local_payment_details.rb', line 16

def transaction_fee_amount
  @transaction_fee_amount
end

#transaction_fee_currency_iso_codeObject (readonly)

Returns the value of attribute transaction_fee_currency_iso_code.


17
18
19
# File 'lib/braintree/transaction/local_payment_details.rb', line 17

def transaction_fee_currency_iso_code
  @transaction_fee_currency_iso_code
end