NAME

WebService::Braintree::_::Transaction::MasterpassCardDetail

PURPOSE

This class represents a transaction Masterpass card detail.

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

ATTRIBUTES

bin()

This is the bin for this masterpass card detail.

card_type()

This is the card type for this masterpass card detail.

cardholer_name()

This is the cardholder name for this masterpass card detail.

commercial()

This is true if this masterpass card detail is commercial.

country_of_issuance()

This is the country of issuance for this masterpass card detail.

customer_location()

This is the customer location for this masterpass card detail.

debit()

This is true if this masterpass card detail is debit.

durbin_regulated()

This is true if this masterpass card detail is Durbin-regulated.

expiration_month()

This is the expiration month for this masterpass card detail.

expiration_year()

This is the expiration year for this masterpass card detail.

healthcare()

This is true if this masterpass card detail is healthcare.

image_url()

This is the image URL for this masterpass card detail.

issuing_bank()

This is the issuing bank for this masterpass card detail.

last_4()

This is the last-4 for this masterpass card detail.

payroll()

This is true if this masterpass card detail is payroll.

prepaid()

This is true if this masterpass card detail is prepaid.

product_id()

This is the product ID for this masterpass card detail.

token()

This is the token for this masterpass card detail.

METHODS

expiration_date()

This returns the expiration date in MM/YYYY format.

masked_number()

This returns the card number with the center masked out.