« lib/WebService/Braintree/CustomerGateway.pm
↑ Summary
lib/WebService/Braintree/_/Disbursement.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||||||||||
| 2 | |||||||||||
| 3 | package # hide from pause | ||||||||||
| 4 | WebService::Braintree::SettlementBatchSummaryGateway; | ||||||||||
| 5 | |||||||||||
| 6 | 22 | ▶ | use 5.010_001; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 22 | ▶ | use strictures 1; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 22 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 22 | with 'WebService::Braintree::Role::MakeRequest'; | |||||||||
| 11 | |||||||||||
| 12 | 22 | ▶ | use Carp qw(confess); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 13 | |||||||||||
| 14 | 22 | ▶ | use WebService::Braintree::_::SettlementBatchSummary; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 15 | |||||||||||
| 16 | 0 | ▶ | sub generate { | ||||||||
|
Subroutine
generate: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 17 | 0 | my ($self, $settlement_date, $group_by_custom_field) = @_; | |||||||||
| 18 | 0 | my $params = { | |||||||||
| 19 | settlement_date => $settlement_date | ||||||||||
| 20 | }; | ||||||||||
| 21 | 0 | ▶ | $params->{group_by_custom_field} = $group_by_custom_field if $group_by_custom_field; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | |||||||||||
| 23 | 0 | $self->_make_request("/settlement_batch_summary/", "post", {settlement_batch_summary => $params}); | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 22 | __PACKAGE__->meta->make_immutable; | |||||||||
| 27 | |||||||||||
| 28 | 22 | 1; | |||||||||
| 29 | __END__ | ||||||||||