Added backwards-compatible support for avs_response
[Business-OnlinePayment-InternetSecure.git] / InternetSecure.pm
index 9e9c701..0adb94f 100755 (executable)
@@ -50,6 +50,10 @@ sub set_defaults {
        $self->tax_amounts( {} );
 }
 
+# Backwards-compatible support for avs_response
+sub avs_response { shift()->avs_code(@_) }
+
+
 # Combine get_fields and remap_fields for convenience.  Unlike OnlinePayment's
 # remap_fields, this doesn't modify content(), and can therefore be called
 # more than once.  Also, unlike OnlinePayment's get_fields in 3.x, this doesn't