NAME
Business::Westpac::PaymentsPlus::Australian::Payment::Import::Remittance
SYNOPSIS
use Business::Westpac::PaymentsPlus::Australian::Payment::Import::Remittance;
my $Remittance = Business::Westpac::PaymentsPlus::Australian::Payment::Import::Remittance->new(
remittance_delivery_type => 'EMAIL',
payee_name => 'Payee 01',
addressee_name => 'Addressee 01',
street_1 => 'Level 1',
street_2 => 'Wallsend Plaza',
city => 'Wallsend',
state => 'NSW',
post_code => '2287',
country => 'AU',
email => 'test@test.com',
remittance_layout_code => 1,
return_to_address_identifier => 1,
pass_through_data => "Some pass through data",
);
my @csv = $Header->to_csv;
DESCRIPTION
Class for modeling remittance details in the context of Westpac CSV files.
ATTRIBUTES
All attributes are optional, except were stated, and are read only
- remittance_delivery_type (Enum, required)
-
One of: POST, POST_RETURN, POST_OS, POST_MULTI, FAX, EMAIL, NONE
- remittance_layout_code (PositiveInt)
- payee_name (Str, max 35 chars, required)
- addressee_name (Str, max 35 chars)
- street_1 (Str, max 35 chars)
- street_2 (Str, max 35 chars)
- street_3 (Str, max 35 chars)
- city (Str, max 40 chars)
- state (Str, max 3 chars)
- post_code (Str, max 9 chars)
- country (Str, max 2 chars)
- fax (Str, max 15 chars)
- email (Str, max 128 chars)
- return_to_address_identifier (Str, max 1 chars)
- pass_through_data (Str, max 120 chars)
METHODS
to_csv
Convert the attributes to CSV line(s):
my @csv = $Header->to_csv;
If pass_through_data has content then the CSV will contain multiple lines