NAME

WebService::Braintree::_::VisaCheckoutCard

PURPOSE

This class represents a Visa Checkout card.

This class will only be created as part of a response or error response.

ATTRIBUTES

billing_address()

This returns the card's billing address. This will be an object of type address.

bin()

This returns the card's bin.

call_id()

This returns the card's call ID.

card_type()

This is the type for this card.

cardholder_name()

This is the cardholder name for this card.

commercial()

This is true if this card is commerical.

country_of_issuance()

This is true if this card is country-of-issuance.

created_at()

This returns when this card was created.

customer_id()

This is the customer ID for this card.

customer_location()

This is the customer location for this card.

debit()

This is true if this card is debit.

default()

This is true if this card is default.

is_default() is an alias for this attribute.

durbin_regulated()

This is true if this card is Durbin-regulated.

expiration_month()

This is the expiration month for this card.

expiration_year()

This is the expiration year for this card.

expired()

This is true if this card is expired.

is_expired() is an alias for this attribute.

healthcare()

This is true if this card is healthcare.

image_url()

This is the image URL for this card.

issuing_bank()

This is the issuing bank for this card.

last_4()

This is the last-4 for this card.

payroll()

This is true if this card is payroll.

prepaid()

This is true if this card is prepaid.

product_id()

This is the product ID for this card.

subscriptions()

This returns the card's subscriptions. This will be an arrayref of subscriptions.

token()

This is the token for this card.

unique_number_identifier()

This is the unique number identifier for this card.

updated()

This returns when this card was last updated.

verifications()

This returns the card's credit card verifications. This will be an arrayref of credit card verifications.

METHODS

expiration_date()

This returns the expiration date in MM/YYYY format.

masked_number()

This returns the card number with the center masked out.

verification()

This returns the most recent verification from the arrayref in "verifications()".