NAME

Finance::Bank::Natwest::CredentialsProvider::Constant - Static credentials provider

DESCRIPTION

CredentialsProvider module for static credentials.

SYNOPSIS

  my $credentials = Finance::Bank::Natwest::CredentialsProvider::Constant->new(
     dob => '010179', uid => '0001', password => 'Password', pin => '4321'
  );

METHODS

new
  my $credentials = Finance::Bank::Natwest::CredentialsProvider::Constant->new(
     dob => '010179', uid => '0001', password => 'Password', pin => '4321'
  );

  # Or we can combine the dob and uid together
  my $credentials = Finance::Bank::Natwest::CredentialsProvider::Constant->new(
     customer_no => '0101790001', password => 'Password', pin => '4321'
  );

All the parameters are mandatory in both forms of the constructor.

AUTHOR

Jody Belka knew@cpan.org

COPYRIGHT AND LICENSE

Copyright 2003 by Jody Belka

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.