class Braintree::ApplePayCard
Attributes
billing_address[R]
bin[R]
card_type[R]
cardholder_name[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]
expired[R]
healthcare[R]
image_url[R]
issuing_bank[R]
last_4[R]
merchant_token_identifier[R]
payment_instrument_name[R]
payroll[R]
prepaid[R]
product_id[R]
source_card_last4[R]
source_description[R]
subscriptions[R]
token[R]
updated_at[R]
Public Class Methods
_new(*args)
click to toggle source
# File lib/braintree/apple_pay_card.rb, line 61 def self._new(*args) self.new(*args) end
Protected Class Methods
new(gateway, attributes)
click to toggle source
# File lib/braintree/apple_pay_card.rb, line 42 def initialize(gateway, attributes) @gateway = gateway set_instance_variables_from_hash(attributes) @billing_address = attributes[:billing_address] ? Address._new(@gateway, attributes[:billing_address]) : nil @subscriptions = (@subscriptions || []).map { |subscription_hash| Subscription._new(@gateway, subscription_hash) } end
Public Instance Methods
default?()
click to toggle source
# File lib/braintree/apple_pay_card.rb, line 49 def default? @default end
expired?()
click to toggle source
# File lib/braintree/apple_pay_card.rb, line 53 def expired? @expired end