package Business::OnlinePayment::LinkPoint;
-# $Id: LinkPoint.pm,v 1.1 2002-02-15 01:19:27 ivan Exp $
+# $Id: LinkPoint.pm,v 1.4 2002-02-27 22:16:08 ivan Exp $
use strict;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
@ISA = qw(Exporter AutoLoader Business::OnlinePayment);
@EXPORT = qw();
@EXPORT_OK = qw();
-$VERSION = '0.01';
+$VERSION = '0.02';
sub set_defaults {
my $self = shift;
$self->content(%content);
}
+sub build_subs {
+ my $self = shift;
+ foreach(@_) {
+ #no warnings; #not 5.005
+ local($^W)=0;
+ eval "sub $_ { my \$self = shift; if(\@_) { \$self->{$_} = shift; } return \$self->{$_}; }";
+ }
+}
+
sub remap_fields {
my($self,%map) = @_;
name email phone address city state zip country
/);
- print "$_ => $post_data{$_}\n" foreach keys %post_data;
- #die;
+ #print "$_ => $post_data{$_}\n" foreach keys %post_data;
my %response = $lperl->$action(\%post_data);
=head1 COMPATIBILITY
This module implements an interface to the LinkPoint Perl Wrapper
-http://www.linkpoint.com/product_solutions/internet/inet_index.html
+http://www.linkpoint.com/product_solutions/internet/lperl/lperl_main.html
=head1 BUGS