Record Class Issuer
java.lang.Object
java.lang.Record
com.maxmind.minfraud.response.Issuer
- Record Components:
matchesProvidedName- This is true if the name matches the name provided.matchesProvidedPhoneNumber- This is true if the phone number matches the one provided.name- The name of the bank which issued the credit card.phoneNumber- The phone number of the bank which issued the credit card. In some cases the phone number we return may be out of date.
- All Implemented Interfaces:
JsonSerializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getName()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.UsephoneNumber()instead.final inthashCode()Returns a hash code value for this object.Returns the value of thematchesProvidedNamerecord component.Returns the value of thematchesProvidedPhoneNumberrecord component.name()Returns the value of thenamerecord component.Returns the value of thephoneNumberrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface JsonSerializable
toJson
-
Constructor Details
-
Issuer
public Issuer()Constructs an instance ofIssuerwith no data. -
Issuer
public Issuer(Boolean matchesProvidedName, Boolean matchesProvidedPhoneNumber, String name, String phoneNumber) Creates an instance of aIssuerrecord class.- Parameters:
matchesProvidedName- the value for thematchesProvidedNamerecord componentmatchesProvidedPhoneNumber- the value for thematchesProvidedPhoneNumberrecord componentname- the value for thenamerecord componentphoneNumber- the value for thephoneNumberrecord component
-
-
Method Details
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Usename()instead. This method will be removed in 5.0.0.- Returns:
- The name of the bank which issued the credit card.
-
getPhoneNumber
Deprecated, for removal: This API element is subject to removal in a future version.UsephoneNumber()instead. This method will be removed in 5.0.0.- Returns:
- The phone number of the bank which issued the credit card. In some cases the phone number we return may be out of date.
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
matchesProvidedName
Returns the value of thematchesProvidedNamerecord component.- Returns:
- the value of the
matchesProvidedNamerecord component
-
matchesProvidedPhoneNumber
Returns the value of thematchesProvidedPhoneNumberrecord component.- Returns:
- the value of the
matchesProvidedPhoneNumberrecord component
-
name
-
phoneNumber
Returns the value of thephoneNumberrecord component.- Returns:
- the value of the
phoneNumberrecord component
-
name()instead.