Class: Minfraud::Model::Issuer
- Inherits:
-
Abstract
- Object
- Abstract
- Minfraud::Model::Issuer
- Defined in:
- lib/minfraud/model/issuer.rb
Overview
Model containing information about the card issuer.
Instance Attribute Summary collapse
-
#matches_provided_name ⇒ Boolean?
readonly
This property is true if the name matches the name provided in the request for the card issuer.
-
#matches_provided_phone_number ⇒ Boolean?
readonly
This property is true if the phone number matches the number provided in the request for the card issuer.
-
#name ⇒ String?
readonly
The name of the bank which issued the credit card.
-
#phone_number ⇒ String?
readonly
The phone number of the bank which issued the credit card.
Instance Attribute Details
#matches_provided_name ⇒ Boolean? (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.
21 22 23 |
# File 'lib/minfraud/model/issuer.rb', line 21 def matches_provided_name @matches_provided_name end |
#matches_provided_phone_number ⇒ Boolean? (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.
30 31 32 |
# File 'lib/minfraud/model/issuer.rb', line 30 def matches_provided_phone_number @matches_provided_phone_number end |
#name ⇒ String? (readonly)
The name of the bank which issued the credit card.
12 13 14 |
# File 'lib/minfraud/model/issuer.rb', line 12 def name @name end |
#phone_number ⇒ String? (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.
36 37 38 |
# File 'lib/minfraud/model/issuer.rb', line 36 def phone_number @phone_number end |