NAME

WebService::Braintree::_::Transaction::CreditCardDetail

PURPOSE

This class represents a transaction credit card detail.

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

bin()

This is the bin for this transaction credit card detail.

card_type()

This is the card type for this transaction credit card detail.

cardholder_name()

This is the cardholder name for this transaction credit card detail.

commercial()

This returns true if this transaction credit card detail is commercial.

country_of_issuance()

This is the country of issuance for this transaction credit card detail.

customer_location()

This is the customer location for this transaction credit card detail.

debit()

This returns true if this transaction credit card detail is debit.

durbin_regulated()

This returns true if this transaction credit card detail is Durbin-regulated.

expiration_month()

This is the expiration month for this transaction credit card detail.

expiration_year()

This is the expiration year for this transaction credit card detail.

healthcare()

This returns true if this transaction credit card detail is healthcare.

image_url()

This is the image url for this transaction credit card detail.

issuing_bank()

This is the issuing bank for this transaction credit card detail.

last_4()

This is the last_4 for this transaction credit card detail.

payroll()

This returns true if this transaction credit card detail is payroll.

prepaid()

This returns true if this transaction credit card detail is prepaid.

product_id()

This is the product ID for this transaction credit card detail.

token()

This is the token for this transaction credit card detail.

unique_number_identifier()

This is the unique number identifier for this transaction credit card detail.

venmo_sdk()

This returns true if this transaction credit card detail is from the Venmo SDK.

METHODS

expiration_date()

This returns the expiration date in MM/YYYY format.

masked_number()

This returns the card number with the center masked out.