| 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 | sub BUILD { | ||
| 8 | 0 | ▶ | my ($self, $attributes) = @_; |
|
Subroutine
BUILD: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 9 | 0 | $self->set_attributes_from_hash($self, $attributes); | |
| 10 | } | ||
| 11 | |||
| 12 | 1 | has email => ( is => 'rw' ); | |
| 13 | |||
| 14 | sub find { | ||
| 15 | 0 | ▶ | my ($class, $token) = @_; |
|
Subroutine
find: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 16 | 0 | $class->gateway->paypal_account->find($token); | |
| 17 | } | ||
| 18 | |||
| 19 | sub update { | ||
| 20 | 0 | ▶ | my ($class, $token, $params) = @_; |
|
Subroutine
update: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 21 | 0 | $class->gateway->paypal_account->update($token, $params); | |
| 22 | } | ||
| 23 | |||
| 24 | sub gateway { | ||
| 25 | 0 | ▶ | Net::Braintree->configuration->gateway; |
|
Subroutine
gateway: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 26 | } | ||
| 27 | |||
| 28 | 1 | 1; | |