NAME
Business::Westpac::PaymentsPlus::Australian::Payment::Import::Payment::OTT
SYNOPSIS
use Business::Westpac::PaymentsPlus::Australian::Payment::Import::Payment::OTT;
my $OTT = Business::Westpac::PaymentsPlus::Australian::Payment::Import::Payment::OTT->new(
payer_payment_reference => 'REF00007',
payment_amount => 759.63,
payment_currency => 'USD',
recipient_reference => 'REF00007',
swift_code => 'WBC12345XXX',
account_number_iban => '032000000026',
payee_account_name => 'Payee 07',
payee_street_1 => 'Level 1',
payee_street_2 => 'Wallsend Plaza',
payee_city => 'Wallsend',
payee_state => 'NSW',
payee_post_code => '2287',
payee_country => 'AU',
funding_amount => 995.58,
funding_currency => 'AUD',
dealer_reference => '0123456789',
exchange_rate => '0.7630',
funding_bsb_number => '032-000',
funding_account_number => '000007',
outgoing_payment_information_line_1 => 'REF00071',
outgoing_payment_information_line_2 => 'REF00072',
);
DESCRIPTION
Class for modeling Overseas Telegraphic Transfers in the context of Westpac CSV files.
Extends Business::Westpac::PaymentsPlus::Australian::Payment::Import::Payment.
ATTRIBUTES
All attributes are required, except were stated, and are read only
- recipient_reference (Str, max 16 chars)
- payment_currency (Str, max 3 chars)
- swift_code (Str, max 11 chars)
- account_number_iban (Str, max 40 chars)
- payee_account_name (Str, max 128 chars)
- payee_street_1 (Str, max 35 chars)
- payee_country (Str, max 25 chars)
- payee_country (Str, max 2 chars)
- intermediary_swift_code (Str, required, max 11 chars)
- payee_street_2 (Str, required, max 35 chars)
- payee_street_3 (Str, required, max 35 chars)
- payee_state (Str, required, max 3 chars)
- payee_post_code (Str, required, max 9 chars)
- funding_currency (Str, required, max 3 chars)
- dealer_reference (Str, required, max 16 chars)
- outgoing_payment_information_line_1 (Str, required, max 35 chars)
- outgoing_payment_information_line_2 (Str, required, max 35 chars)
- charge_bearer_code (Str, required, max 4 chars)
to_csv
Convert the attributes to CSV line(s):
my @csv = $OTT->to_csv;
SEE ALSO
Business::Westpac::PaymentsPlus::Australian::Payment::Import::Payment