| 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; | |