++ed by:

1 non-PAUSE user.

Kieren Diment

NAME

WebService::Braintree::_::CreditCard

PURPOSE

This class represents a credit card.

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

ATTRIBUTES

billing_address()

This returns the credit card's billing address (if it exists). This will be an object of type "" in WebService::Braintree::_::Address.

bin()

This is the bin for this credit card.

card_type()

This is the card_type for this credit card.

cardholder_name()

This is the cardholder name for this credit card.

commercial()

This is true if this credit card is commercial.

country_of_issuance()

This is the country of issuance for this credit card.

created_at()

This is when this credit card was created.

customer_id()

This is the customer id for this credit card.

customer_location()

This is the customer location for this credit card.

debit()

This is true if this credit card is debit.

default()

This is true if this credit card is debit.

is_default() is an alias for this attribute.

durbin_regulated()

This is true if this credit card is Durbin-regulated.

expiration_month()

This is the expiration month for this credit card.

expiration_year()

This is the expiration year for this credit card.

expired()

This is true if this credit card is expired.

is_expired() is an alias for this attribute.

healthcare()

This is true if this credit card is healthcare.

image_url()

This is the image url for this credit card.

issuing_bank()

This is the issuing bank for this credit card.

last_4()

This is the last 4 digits for this credit card.

payment_method_nonce()

This is the payment method nonce for this credit card. If one is not returned, then it will be created by default from the "token". If the token is undef, then this will be undef as well.

nonce() is an alias for this attribute.

payroll()

This is true if this credit card is payroll.

prepaid()

This is true if this credit card is prepaid.

product_id()

This is the product id for this credit card.

subscriptions()

This is an arrayref of subscriptions associated with this credit card.

token()

This is the token for this credit card.

unique_number_identifier()

This is the unique number identifier for this credit card.

updated_at()

This is when this credit card was last updated. If it has never been updated, then this should equal the "created_at" date.

venmo_sdk()

This is true if this credit card is managed by the Venmo SDK.

is_venmo_sdk() is an alias for this attribute.

verifications()

This is an arrayref of verifications associated with this credit card.

METHODS

masked_number()

This returns a masked credit card number suitable for display.

expiration_date()

This returns the credit card's expiration in MM/YYYY format.

verification()

This returns the most recent verification (if any) associated with this credit card.