| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Business::NAB::BPAY::Payments::Results::HeaderRecord; |
|
2
|
|
|
|
|
|
|
$Business::NAB::BPAY::Payments::Results::HeaderRecord::VERSION = '0.03'; |
|
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
|
|
|
2
|
|
1173654
|
use strict; |
|
|
2
|
|
|
|
|
7
|
|
|
|
2
|
|
|
|
|
93
|
|
|
34
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
224
|
|
|
35
|
|
|
|
|
|
|
|
|
36
|
2
|
|
|
2
|
|
647
|
use Moose; |
|
|
2
|
|
|
|
|
569202
|
|
|
|
2
|
|
|
|
|
22
|
|
|
37
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |