« lib/WebService/Braintree/_/Plan.pm
↑ Summary
lib/WebService/Braintree/_/SettlementBatchSummaryRecord.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::_::SettlementBatchSummary; | ||
| 4 | 22 | $WebService::Braintree::_::SettlementBatchSummary::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::_::SettlementBatchSummary | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a settlement batch summary. | ||
| 15 | |||
| 16 | This class will only be created as part of a L<response|WebService::Braintree::Result> or L<error response|WebService::Braintree::ErrorResult>. | ||
| 17 | |||
| 18 | =cut | ||
| 19 | |||
| 20 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | 22 | extends 'WebService::Braintree::_'; | |
| 23 | |||
| 24 | 22 | ▶ | use Types::Standard qw(ArrayRef); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 22 | ▶ | use WebService::Braintree::Types qw( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | SettlementBatchSummaryRecord | ||
| 27 | 22 | ); | |
| 28 | |||
| 29 | =head1 ATTRIBUTES | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | =head2 records() | ||
| 34 | |||
| 35 | This is the records of the summary. This will be an arrayref of type L<WebService::Braintree::_::SettlementBatchSummaryRecord/>. | ||
| 36 | |||
| 37 | =cut | ||
| 38 | |||
| 39 | 22 | has records => ( | |
| 40 | is => 'ro', | ||
| 41 | isa => ArrayRef[SettlementBatchSummaryRecord], | ||
| 42 | coerce => 1, | ||
| 43 | ); | ||
| 44 | |||
| 45 | 22 | __PACKAGE__->meta->make_immutable; | |
| 46 | |||
| 47 | 22 | 1; | |
| 48 | __END__ | ||