The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::Braintree::_::ApplePayCard

PURPOSE

This class represents a ApplePay card.

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

ATTRIBUTES

bin()

This returns the card's bin.

card_type()

This returns the card's type.

created_at()

This returns when this card was created.

customer_id()

This returns the card's customer ID.

default()

This returns if this card is default.

is_default() is an alias for this attribute.

expiration_month()

This returns the card's expiration month.

expiration_year()

This returns the card's expiration year.

expired()

This returns if this card is expired.

is_expired() is an alias for this attribute.

image_url()

This returns the card's image URL.

last_4()

This returns the card's last-4.

payment_instrument_name()

This returns the card's payment instrument name.

source_description()

This returns the card's source description.

subscriptions()

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

token()

This returns the card's token.

updated_at()

This returns when this card was last updated.

METHODS

expiration_date()

This returns this card's expiration date in MM/YYYY format.