class Braintree::GooglePayCard

Attributes

bin[R]
commercial[R]
country_of_issuance[R]
created_at[R]
customer_id[R]
debit[R]
default[R]
durbin_regulated[R]
expiration_month[R]
expiration_year[R]
google_transaction_id[R]
healthcare[R]
image_url[R]
issuing_bank[R]
payroll[R]
prepaid[R]
product_id[R]
source_card_last_4[R]
source_card_type[R]
source_description[R]
subscriptions[R]
token[R]
updated_at[R]
virtual_card_last_4[R]
virtual_card_type[R]

Public Class Methods

_new(*args) click to toggle source
# File lib/braintree/google_pay_card.rb, line 57
def self._new(*args)
  self.new(*args)
end

Protected Class Methods

new(gateway, attributes) click to toggle source
# File lib/braintree/google_pay_card.rb, line 31
def initialize(gateway, attributes)
  @gateway = gateway
  set_instance_variables_from_hash(attributes)
  @subscriptions = (@subscriptions || []).map { |subscription_hash| Subscription._new(@gateway, subscription_hash) }
end

Public Instance Methods

card_type() click to toggle source
# File lib/braintree/google_pay_card.rb, line 45
def card_type
  virtual_card_type
end
default?() click to toggle source
# File lib/braintree/google_pay_card.rb, line 37
def default?
  @default
end
is_network_tokenized?() click to toggle source
# File lib/braintree/google_pay_card.rb, line 41
def is_network_tokenized?
  @is_network_tokenized
end
last_4() click to toggle source
# File lib/braintree/google_pay_card.rb, line 49
def last_4
  virtual_card_last_4
end