line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Braintree::SettlementBatchSummaryGateway; |
2
|
|
|
|
|
|
|
$WebService::Braintree::SettlementBatchSummaryGateway::VERSION = '0.94'; |
3
|
20
|
|
|
20
|
|
388
|
use 5.010_001; |
|
20
|
|
|
|
|
67
|
|
4
|
20
|
|
|
20
|
|
101
|
use strictures 1; |
|
20
|
|
|
|
|
133
|
|
|
20
|
|
|
|
|
720
|
|
5
|
|
|
|
|
|
|
|
6
|
20
|
|
|
20
|
|
1898
|
use Moose; |
|
20
|
|
|
|
|
36
|
|
|
20
|
|
|
|
|
108
|
|
7
|
|
|
|
|
|
|
with 'WebService::Braintree::Role::MakeRequest'; |
8
|
20
|
|
|
20
|
|
113017
|
use Carp qw(confess); |
|
20
|
|
|
|
|
43
|
|
|
20
|
|
|
|
|
2572
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has 'gateway' => (is => 'ro'); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub generate { |
13
|
0
|
|
|
0
|
0
|
|
my ($self, $settlement_date, $group_by_custom_field) = @_; |
14
|
0
|
|
|
|
|
|
my $params = { |
15
|
|
|
|
|
|
|
settlement_date => $settlement_date |
16
|
|
|
|
|
|
|
}; |
17
|
0
|
0
|
|
|
|
|
$params->{group_by_custom_field} = $group_by_custom_field if $group_by_custom_field; |
18
|
|
|
|
|
|
|
|
19
|
0
|
|
|
|
|
|
$self->_make_request("/settlement_batch_summary/", "post", {settlement_batch_summary => $params}); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
__END__ |