Brandon Fosdick

NAME

Finance::OFX::Response - An OFX-specific subclass of HTTP::Response.

SYNOPSIS

 use Finance::OFX::Response
 
 my $r = OFX::Response->from_http_response($response);

DESCRIPTION

Finance::OFX::Response encapsulates information about an OFX Financial Institution.

CONSTRUCTOR

$r = Finance::OFX::Response->new( %options )

Constructs a new Finance::OFX::Response object and returns it. This is merely a default constructor that does nothing in particular. Don't use it.

$r = Finance::OFX::Response->from_http_response( $response )

Converts the given HTTP::Response object into an Finance::OFX::Response object and uses Finance::OFX::Parse to parse the response content.

ATTRIBUTES

$r->ofx
$r->ofx( $fid )

Get/Set the OFX branch of the parsed content tree.

$r->ofx_header
$r->ofx_header( $fi )

Get/Set the OFX header branch of the parsed content tree.

$r->signon_status_code( $fi )

Get the status code from the SONRS block.

SEE ALSO

Finance::OFX::Parse HTTP::Response http://ofx.net

WARNING

From Finance::Bank::LloydsTSB:

This is code for online banking, and that means your money, and that means BE CAREFUL. You are encouraged, nay, expected, to audit the source of this module yourself to reassure yourself that I am not doing anything untoward with your banking data. This software is useful to me, but is provided under NO GUARANTEE, explicit or implied.

AUTHOR

Brandon Fosdick, <bfoz@bfoz.net>

COPYRIGHT AND LICENSE

Copyright 2008 Brandon Fosdick <bfoz@bfoz.net>

This software is provided under the terms of the BSD License.