Class: Minfraud::Model::Issuer

Inherits:
Abstract
  • Object
show all
Defined in:
lib/minfraud/model/issuer.rb

Overview

Model containing information about the card issuer.

Instance Attribute Summary collapse

Instance Attribute Details

#matches_provided_nameBoolean? (readonly)

This property is true if the name matches the name provided in the request for the card issuer. It is false if the name does not match. The property is nil if either no name or issuer ID number (IIN) was provided in the request or if MaxMind does not have a name associated with the IIN.

Returns:

  • (Boolean, nil)


21
22
23
# File 'lib/minfraud/model/issuer.rb', line 21

def matches_provided_name
  @matches_provided_name
end

#matches_provided_phone_numberBoolean? (readonly)

This property is true if the phone number matches the number provided in the request for the card issuer. It is false if the number does not match. It is nil if either no phone number was provided or issuer ID number (IIN) was provided in the request or if MaxMind does not have a phone number associated with the IIN.

Returns:

  • (Boolean, nil)


30
31
32
# File 'lib/minfraud/model/issuer.rb', line 30

def matches_provided_phone_number
  @matches_provided_phone_number
end

#nameString? (readonly)

The name of the bank which issued the credit card.

Returns:

  • (String, nil)


12
13
14
# File 'lib/minfraud/model/issuer.rb', line 12

def name
  @name
end

#phone_numberString? (readonly)

The phone number of the bank which issued the credit card. In some cases the phone number we return may be out of date.

Returns:

  • (String, nil)


36
37
38
# File 'lib/minfraud/model/issuer.rb', line 36

def phone_number
  @phone_number
end