Class: Braintree::Transaction::GooglePayDetails
- Inherits:
-
Object
- Object
- Braintree::Transaction::GooglePayDetails
- Includes:
- BaseModule
- Defined in:
- lib/braintree/transaction/google_pay_details.rb
Instance Attribute Summary collapse
-
#bin ⇒ Object
readonly
Returns the value of attribute bin.
-
#business ⇒ Object
readonly
Returns the value of attribute business.
-
#card_type ⇒ Object
readonly
Returns the value of attribute card_type.
-
#commercial ⇒ Object
readonly
Returns the value of attribute commercial.
-
#consumer ⇒ Object
readonly
Returns the value of attribute consumer.
-
#corporate ⇒ Object
readonly
Returns the value of attribute corporate.
-
#country_of_issuance ⇒ Object
readonly
Returns the value of attribute country_of_issuance.
-
#debit ⇒ Object
readonly
Returns the value of attribute debit.
-
#durbin_regulated ⇒ Object
readonly
Returns the value of attribute durbin_regulated.
-
#expiration_month ⇒ Object
readonly
Returns the value of attribute expiration_month.
-
#expiration_year ⇒ Object
readonly
Returns the value of attribute expiration_year.
-
#global_id ⇒ Object
readonly
Returns the value of attribute global_id.
-
#google_transaction_id ⇒ Object
readonly
Returns the value of attribute google_transaction_id.
-
#healthcare ⇒ Object
readonly
Returns the value of attribute healthcare.
-
#image_url ⇒ Object
readonly
Returns the value of attribute image_url.
-
#issuing_bank ⇒ Object
readonly
Returns the value of attribute issuing_bank.
-
#last_4 ⇒ Object
readonly
Returns the value of attribute last_4.
-
#payment_account_reference ⇒ Object
readonly
Returns the value of attribute payment_account_reference.
-
#payroll ⇒ Object
readonly
Returns the value of attribute payroll.
-
#prepaid ⇒ Object
readonly
Returns the value of attribute prepaid.
-
#prepaid_reloadable ⇒ Object
readonly
Returns the value of attribute prepaid_reloadable.
-
#product_id ⇒ Object
readonly
Returns the value of attribute product_id.
-
#purchase ⇒ Object
readonly
Returns the value of attribute purchase.
-
#source_card_last_4 ⇒ Object
readonly
Returns the value of attribute source_card_last_4.
-
#source_card_type ⇒ Object
readonly
Returns the value of attribute source_card_type.
-
#source_description ⇒ Object
readonly
Returns the value of attribute source_description.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#virtual_card_last_4 ⇒ Object
readonly
Returns the value of attribute virtual_card_last_4.
-
#virtual_card_type ⇒ Object
readonly
Returns the value of attribute virtual_card_type.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ GooglePayDetails
constructor
A new instance of GooglePayDetails.
- #is_network_tokenized? ⇒ Boolean
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) ⇒ GooglePayDetails
Returns a new instance of GooglePayDetails.
36 37 38 39 40 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 36 def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? @card_type = @virtual_card_type @last_4 = @virtual_card_last_4 end |
Instance Attribute Details
#bin ⇒ Object (readonly)
Returns the value of attribute bin.
6 7 8 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 6 def bin @bin end |
#business ⇒ Object (readonly)
Returns the value of attribute business.
7 8 9 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 7 def business @business end |
#card_type ⇒ Object (readonly)
Returns the value of attribute card_type.
8 9 10 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 8 def card_type @card_type end |
#commercial ⇒ Object (readonly)
Returns the value of attribute commercial.
9 10 11 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 9 def commercial @commercial end |
#consumer ⇒ Object (readonly)
Returns the value of attribute consumer.
10 11 12 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 10 def consumer @consumer end |
#corporate ⇒ Object (readonly)
Returns the value of attribute corporate.
11 12 13 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 11 def corporate @corporate end |
#country_of_issuance ⇒ Object (readonly)
Returns the value of attribute country_of_issuance.
12 13 14 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 12 def country_of_issuance @country_of_issuance end |
#debit ⇒ Object (readonly)
Returns the value of attribute debit.
13 14 15 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 13 def debit @debit end |
#durbin_regulated ⇒ Object (readonly)
Returns the value of attribute durbin_regulated.
14 15 16 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 14 def durbin_regulated @durbin_regulated end |
#expiration_month ⇒ Object (readonly)
Returns the value of attribute expiration_month.
15 16 17 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 15 def expiration_month @expiration_month end |
#expiration_year ⇒ Object (readonly)
Returns the value of attribute expiration_year.
16 17 18 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 16 def expiration_year @expiration_year end |
#global_id ⇒ Object (readonly)
Returns the value of attribute global_id.
17 18 19 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 17 def global_id @global_id end |
#google_transaction_id ⇒ Object (readonly)
Returns the value of attribute google_transaction_id.
18 19 20 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 18 def google_transaction_id @google_transaction_id end |
#healthcare ⇒ Object (readonly)
Returns the value of attribute healthcare.
19 20 21 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 19 def healthcare @healthcare end |
#image_url ⇒ Object (readonly)
Returns the value of attribute image_url.
20 21 22 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 20 def image_url @image_url end |
#issuing_bank ⇒ Object (readonly)
Returns the value of attribute issuing_bank.
21 22 23 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 21 def issuing_bank @issuing_bank end |
#last_4 ⇒ Object (readonly)
Returns the value of attribute last_4.
22 23 24 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 22 def last_4 @last_4 end |
#payment_account_reference ⇒ Object (readonly)
Returns the value of attribute payment_account_reference.
23 24 25 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 23 def payment_account_reference @payment_account_reference end |
#payroll ⇒ Object (readonly)
Returns the value of attribute payroll.
24 25 26 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 24 def payroll @payroll end |
#prepaid ⇒ Object (readonly)
Returns the value of attribute prepaid.
25 26 27 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 25 def prepaid @prepaid end |
#prepaid_reloadable ⇒ Object (readonly)
Returns the value of attribute prepaid_reloadable.
26 27 28 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 26 def prepaid_reloadable @prepaid_reloadable end |
#product_id ⇒ Object (readonly)
Returns the value of attribute product_id.
27 28 29 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 27 def product_id @product_id end |
#purchase ⇒ Object (readonly)
Returns the value of attribute purchase.
28 29 30 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 28 def purchase @purchase end |
#source_card_last_4 ⇒ Object (readonly)
Returns the value of attribute source_card_last_4.
29 30 31 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 29 def source_card_last_4 @source_card_last_4 end |
#source_card_type ⇒ Object (readonly)
Returns the value of attribute source_card_type.
30 31 32 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 30 def source_card_type @source_card_type end |
#source_description ⇒ Object (readonly)
Returns the value of attribute source_description.
31 32 33 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 31 def source_description @source_description end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
32 33 34 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 32 def token @token end |
#virtual_card_last_4 ⇒ Object (readonly)
Returns the value of attribute virtual_card_last_4.
33 34 35 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 33 def virtual_card_last_4 @virtual_card_last_4 end |
#virtual_card_type ⇒ Object (readonly)
Returns the value of attribute virtual_card_type.
34 35 36 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 34 def virtual_card_type @virtual_card_type end |
Instance Method Details
#is_network_tokenized? ⇒ Boolean
42 43 44 |
# File 'lib/braintree/transaction/google_pay_details.rb', line 42 def is_network_tokenized? @is_network_tokenized end |