The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::MinFraud::Record::Issuer - Contains data for the issuer of the credit card associated with a transaction

VERSION

version 1.009001

SYNOPSIS

  use 5.010;

  use WebService::MinFraud::Client;

  my $client = WebService::MinFraud::Client->new(
      account_id  => 42,
      license_key => 'abcdef123456',
  );
  my $request  = { device => { ip_address => '24.24.24.24' } };
  my $insights = $client->insights($request);
  my $issuer   = $insights->credit_card->issuer;
  say $issuer->name;

DESCRIPTION

This class contains the data for the issuer of the credit card associated with a transaction.

METHODS

This class provides the following methods:

matches_provided_name

Returns a boolean indicating whether the name provided matches the known bank name associated with the credit card.

matches_provided_phone_number

Returns a boolean indicating whether the phone provided matches the known bank phone associated with the credit card.

name

Returns the name of the issuer of the credit card.

phone_number

Returns the phone number of the issuer of the credit card.

PREDICATE METHODS

The following predicate methods are available, which return true if the related data was present in the response body, false if otherwise:

has_matches_provided_name

has_matches_provided_phone_number

has_name

has_phone_number

SUPPORT

Bugs may be submitted through https://github.com/maxmind/minfraud-api-perl/issues.

AUTHOR

Mateu Hunter <mhunter@maxmind.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 - 2019 by MaxMind, Inc.

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