NAB/BPAY/Payments/Results/HeaderRecord.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« NAB/Australian/DirectEntry/Returns/DescriptiveRecord.pm ↑ Summary
1 package Business::NAB::BPAY::Payments::Results::HeaderRecord;
2 2 $Business::NAB::BPAY::Payments::Results::HeaderRecord::VERSION = '0.11';
3 =head1 NAME
4  
5 Business::NAB::BPAY::Payments::Results::HeaderRecord
6  
7 =head1 SYNOPSIS
8  
9 use Business::NAB::BPAY::Payments::HeaderRecord;
10  
11 # parse
12 my $Header = Business::NAB::BPAY::Payments::HeaderRecord
13 ->new_from_record( $line );
14  
15 # create
16 my $Header = Business::NAB::BPAY::Payments::Results::HeaderRecord->new(
17 bpay_batch_user_id => '01',
18 customer_short_name => 'NAB',
19 processing_date => DateTime->now,
20 );
21  
22 my $line = $Header->to_record;
23  
24 =head1 DESCRIPTION
25  
26 Class for header record in the "BPAY Batch User Guide" responses
27  
28 All methods and attributes are inherited from
29 L<Business::NAB::BPAY::Payments::HeaderRecord>
30  
31 =cut
32  
33 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
34 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
35  
36 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
37 2 extends 'Business::NAB::BPAY::Payments::HeaderRecord';
38  
39 =head1 SEE ALSO
40  
41 L<Business::NAB::Types>
42  
43 L<Business::NAB::BPAY::Payments::Results::HeaderRecord>
44  
45 =cut
46  
47 2 __PACKAGE__->meta->make_immutable;
« NAB/Australian/DirectEntry/Returns/DescriptiveRecord.pm ↑ Summary