| 1 | package Net::Braintree::ApplePayCard; | ||
| 2 | 1 | ▶ | use Net::Braintree::ApplePayCard::CardType; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | extends 'Net::Braintree::PaymentMethod'; | |
| 6 | |||
| 7 | 1 | my $meta = __PACKAGE__->meta; | |
| 8 | |||
| 9 | 0 | ▶ | sub BUILD { |
|
Subroutine
BUILD: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 10 | 0 | my ($self, $attributes) = @_; | |
| 11 | 0 | $self->set_attributes_from_hash($self, $attributes); | |
| 12 | } | ||
| 13 | |||
| 14 | 0 | ▶ | sub expiration_date { |
|
Subroutine
expiration_date: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | my $self = shift; | |
| 16 | 0 | return $self->expiration_month . "/" . $self->expiration_year; | |
| 17 | } | ||
| 18 | |||
| 19 | 0 | ▶ | sub is_default { |
|
Subroutine
is_default: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 20 | 0 | return shift->default; | |
| 21 | } | ||
| 22 | |||
| 23 | 1 | 1; | |