NAME

Business::NAB::BPAY::Payments::TrailerRecord

SYNOPSIS

use Business::NAB::BPAY::Payments::TrailerRecord;

# parse
my $Trailer = Business::NAB::BPAY::Payments::Results::TrailerRecord
    ->new_from_record( $line );

# create
my $Trailer = Business::NAB::BPAY::Payments::Results::TrailerRecord->new(
    total_value_of_payments => 189915,
    total_number_of_payments => 5,
    total_number_of_successful_payments => 2,
    total_value_of_successful_payments => 9914,
    total_number_of_declined_payments => 3,
    total_value_of_declined_payments => 180001,
);

my $line = $Trailer->to_record;

DESCRIPTION

Class for trailer record in the "BPAY Batch User Guide" responses

All methods and attributes are inherited from Business::NAB::BPAY::Payments::TrailerRecord

ATTRIBUTES

Additional attributes are inherited from Business::NAB::BPAY::Payments::HeaderRecord

total_number_of_successful_payments (NAB::Type::PositiveIntOrZero)
total_value_of_successful_payments (NAB::Type::PositiveIntOrZero)
total_number_of_declined_payments (NAB::Type::PositiveIntOrZero)
total_value_of_declined_payments (NAB::Type::PositiveIntOrZero)

SEE ALSO

Business::NAB::Types

Business::NAB::BPAY::Payments::TrailerRecord