Class: Braintree::Transaction::PayPalDetails

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

Returns a new instance of PayPalDetails.



33
34
35
# File 'lib/braintree/transaction/paypal_details.rb', line 33

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_details.rb', line 6

def authorization_id
  @authorization_id
end

#billing_agreement_idObject (readonly)

Returns the value of attribute billing_agreement_id.



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

def billing_agreement_id
  @billing_agreement_id
end

#capture_idObject (readonly)

Returns the value of attribute capture_id.



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

def capture_id
  @capture_id
end

#custom_fieldObject (readonly)

Returns the value of attribute custom_field.



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

def custom_field
  @custom_field
end

#debug_idObject (readonly)

Returns the value of attribute debug_id.



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

def debug_id
  @debug_id
end

#descriptionObject (readonly)

Returns the value of attribute description.



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

def description
  @description
end

#image_urlObject (readonly)

Returns the value of attribute image_url.



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

def image_url
  @image_url
end

#implicitly_vaulted_payment_method_global_idObject (readonly)

Returns the value of attribute implicitly_vaulted_payment_method_global_id.



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

def implicitly_vaulted_payment_method_global_id
  @implicitly_vaulted_payment_method_global_id
end

#implicitly_vaulted_payment_method_tokenObject (readonly)

Returns the value of attribute implicitly_vaulted_payment_method_token.



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

def implicitly_vaulted_payment_method_token
  @implicitly_vaulted_payment_method_token
end

#payee_emailObject (readonly)

Returns the value of attribute payee_email.



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

def payee_email
  @payee_email
end

#payee_idObject (readonly)

Returns the value of attribute payee_id.



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

def payee_id
  @payee_id
end

#payer_emailObject (readonly)

Returns the value of attribute payer_email.



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

def payer_email
  @payer_email
end

#payer_first_nameObject (readonly)

Returns the value of attribute payer_first_name.



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

def payer_first_name
  @payer_first_name
end

#payer_idObject (readonly)

Returns the value of attribute payer_id.



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

def payer_id
  @payer_id
end

#payer_last_nameObject (readonly)

Returns the value of attribute payer_last_name.



20
21
22
# File 'lib/braintree/transaction/paypal_details.rb', line 20

def payer_last_name
  @payer_last_name
end

#payer_statusObject (readonly)

Returns the value of attribute payer_status.



21
22
23
# File 'lib/braintree/transaction/paypal_details.rb', line 21

def payer_status
  @payer_status
end

#payment_idObject (readonly)

Returns the value of attribute payment_id.



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

def payment_id
  @payment_id
end

#refund_from_transaction_fee_amountObject (readonly)

Returns the value of attribute refund_from_transaction_fee_amount.



23
24
25
# File 'lib/braintree/transaction/paypal_details.rb', line 23

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.



24
25
26
# File 'lib/braintree/transaction/paypal_details.rb', line 24

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.



25
26
27
# File 'lib/braintree/transaction/paypal_details.rb', line 25

def refund_id
  @refund_id
end

#seller_protection_statusObject (readonly)

Returns the value of attribute seller_protection_status.



26
27
28
# File 'lib/braintree/transaction/paypal_details.rb', line 26

def seller_protection_status
  @seller_protection_status
end

#tax_idObject (readonly)

Returns the value of attribute tax_id.



27
28
29
# File 'lib/braintree/transaction/paypal_details.rb', line 27

def tax_id
  @tax_id
end

#tax_id_typeObject (readonly)

Returns the value of attribute tax_id_type.



28
29
30
# File 'lib/braintree/transaction/paypal_details.rb', line 28

def tax_id_type
  @tax_id_type
end

#tokenObject (readonly)

Returns the value of attribute token.



29
30
31
# File 'lib/braintree/transaction/paypal_details.rb', line 29

def token
  @token
end

#transaction_fee_amountObject (readonly)

Returns the value of attribute transaction_fee_amount.



30
31
32
# File 'lib/braintree/transaction/paypal_details.rb', line 30

def transaction_fee_amount
  @transaction_fee_amount
end

#transaction_fee_currency_iso_codeObject (readonly)

Returns the value of attribute transaction_fee_currency_iso_code.



31
32
33
# File 'lib/braintree/transaction/paypal_details.rb', line 31

def transaction_fee_currency_iso_code
  @transaction_fee_currency_iso_code
end