Class: Braintree::Transaction::PayPalHereDetails

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/transaction/paypal_here_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) ⇒ PayPalHereDetails

Returns a new instance of PayPalHereDetails.



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

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

Instance Attribute Details

#authorization_idObject (readonly)

Returns the value of attribute authorization_id.



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

def authorization_id
  @authorization_id
end

#capture_idObject (readonly)

Returns the value of attribute capture_id.



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

def capture_id
  @capture_id
end

#invoice_idObject (readonly)

Returns the value of attribute invoice_id.



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

def invoice_id
  @invoice_id
end

#last_4Object (readonly)

Returns the value of attribute last_4.



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

def last_4
  @last_4
end

#payment_idObject (readonly)

Returns the value of attribute payment_id.



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

def payment_id
  @payment_id
end

#payment_typeObject (readonly)

Returns the value of attribute payment_type.



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

def payment_type
  @payment_type
end

#refund_idObject (readonly)

Returns the value of attribute refund_id.



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

def refund_id
  @refund_id
end

#transaction_fee_amountObject (readonly)

Returns the value of attribute transaction_fee_amount.



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

def transaction_fee_amount
  @transaction_fee_amount
end

#transaction_fee_currency_iso_codeObject (readonly)

Returns the value of attribute transaction_fee_currency_iso_code.



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

def transaction_fee_currency_iso_code
  @transaction_fee_currency_iso_code
end

#transaction_initiation_dateObject (readonly)

Returns the value of attribute transaction_initiation_date.



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

def transaction_initiation_date
  @transaction_initiation_date
end

#transaction_updated_dateObject (readonly)

Returns the value of attribute transaction_updated_date.



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

def transaction_updated_date
  @transaction_updated_date
end