Class: Braintree::Transaction::ApplePayDetails

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

Returns a new instance of ApplePayDetails.


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

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

Instance Attribute Details

#binObject (readonly)

Returns the value of attribute bin.


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

def bin
  @bin
end

#card_typeObject (readonly)

Returns the value of attribute card_type.


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

def card_type
  @card_type
end

#cardholder_nameObject (readonly)

Returns the value of attribute cardholder_name.


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

def cardholder_name
  @cardholder_name
end

#commercialObject (readonly)

Returns the value of attribute commercial.


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

def commercial
  @commercial
end

#country_of_issuanceObject (readonly)

Returns the value of attribute country_of_issuance.


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

def country_of_issuance
  @country_of_issuance
end

#debitObject (readonly)

Returns the value of attribute debit.


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

def debit
  @debit
end

#durbin_regulatedObject (readonly)

Returns the value of attribute durbin_regulated.


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

def durbin_regulated
  @durbin_regulated
end

#expiration_monthObject (readonly)

Returns the value of attribute expiration_month.


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

def expiration_month
  @expiration_month
end

#expiration_yearObject (readonly)

Returns the value of attribute expiration_year.


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

def expiration_year
  @expiration_year
end

#global_idObject (readonly)

Returns the value of attribute global_id.


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

def global_id
  @global_id
end

#healthcareObject (readonly)

Returns the value of attribute healthcare.


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

def healthcare
  @healthcare
end

#image_urlObject (readonly)

Returns the value of attribute image_url.


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

def image_url
  @image_url
end

#issuing_bankObject (readonly)

Returns the value of attribute issuing_bank.


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

def issuing_bank
  @issuing_bank
end

#last_4Object (readonly)

Returns the value of attribute last_4.


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

def last_4
  @last_4
end

#payment_instrument_nameObject (readonly)

Returns the value of attribute payment_instrument_name.


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

def payment_instrument_name
  @payment_instrument_name
end

#payrollObject (readonly)

Returns the value of attribute payroll.


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

def payroll
  @payroll
end

#prepaidObject (readonly)

Returns the value of attribute prepaid.


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

def prepaid
  @prepaid
end

#product_idObject (readonly)

Returns the value of attribute product_id.


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

def product_id
  @product_id
end

#source_descriptionObject (readonly)

Returns the value of attribute source_description.


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

def source_description
  @source_description
end

#tokenObject (readonly)

Returns the value of attribute token.


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

def token
  @token
end