| 1 | package Net::Braintree::PayPalAccount; | ||
| 2 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | extends 'Net::Braintree::PaymentMethod'; | |
| 4 | |||
| 5 | 1 | my $meta = __PACKAGE__->meta; | |
| 6 | |||
| 7 | 0 | ▶ | sub BUILD { |
|
Subroutine
BUILD: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 8 | 0 | my ($self, $attributes) = @_; | |
| 9 | 0 | $self->set_attributes_from_hash($self, $attributes); | |
| 10 | } | ||
| 11 | |||
| 12 | 1 | has email => ( is => 'rw' ); | |
| 13 | |||
| 14 | 0 | ▶ | sub find { |
|
Subroutine
find: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | my ($class, $token) = @_; | |
| 16 | 0 | $class->gateway->paypal_account->find($token); | |
| 17 | } | ||
| 18 | |||
| 19 | 0 | ▶ | sub update { |
|
Subroutine
update: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 20 | 0 | my ($class, $token, $params) = @_; | |
| 21 | 0 | $class->gateway->paypal_account->update($token, $params); | |
| 22 | } | ||
| 23 | |||
| 24 | 0 | ▶ | sub gateway { |
|
Subroutine
gateway: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 25 | 0 | Net::Braintree->configuration->gateway; | |
| 26 | } | ||
| 27 | |||
| 28 | 1 | 1; | |