« lib/WebService/Braintree/Merchant.pm
↑ Summary
lib/WebService/Braintree/SettlementBatchSummary.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::Plan; | ||
| 4 | 22 | $WebService::Braintree::Plan::VERSION = '1.7'; | |
| 5 | 22 | ▶ | use 5.010_001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 22 | ▶ | use strictures 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | WebService::Braintree::Plan | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class lists all subscription plans. | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 22 | with 'WebService::Braintree::Role::Interface'; | |
| 21 | |||
| 22 | =head2 all() | ||
| 23 | |||
| 24 | This returns all the plans. | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | 0 | ▶ | sub all { |
|
Subroutine
all: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 29 | 0 | my $class = shift; | |
| 30 | 0 | $class->gateway->plan->all; | |
| 31 | } | ||
| 32 | |||
| 33 | 22 | __PACKAGE__->meta->make_immutable; | |
| 34 | |||
| 35 | 22 | 1; | |
| 36 | __END__ | ||