Class Braintree::CreditCard
In: lib/braintree/credit_card.rb
Parent: Object

Methods

Included Modules

BaseModule

Classes and Modules

Module Braintree::CreditCard::CardType
Module Braintree::CreditCard::CardTypeIndicator
Module Braintree::CreditCard::CustomerLocation

Constants

Commercial = Debit = DurbinRegulated = Healthcare = Payroll = Prepaid = IssuingBank = CountryOfIssuance = CardTypeIndicator

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] 
durbin_regulated  [R] 
expiration_month  [R] 
expiration_year  [R] 
healthcare  [R] 
image_url  [R] 
issuing_bank  [R] 
last_4  [R] 
payroll  [R] 
prepaid  [R] 
subscriptions  [R] 
token  [R] 
unique_number_identifier  [R] 
updated_at  [R] 
verification  [R] 

Public Class methods

Public Instance methods

Returns true if other is a CreditCard with the same token.

Returns true if this credit card is the customer‘s default payment method.

Expiration date formatted as MM/YYYY

Returns true if the credit card is expired.

Returns true if the card is associated with Venmo SDK

[Validate]