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