Class Identification
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.flow.paymentsessions.requests.Identification
-
public final class Identification extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentification.IdentificationBuilder
-
Constructor Summary
Constructors Constructor Description Identification()Identification(IdentificationType type, java.lang.String number, java.lang.String issuingCountry)Creates a newIdentificationinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Identification.IdentificationBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetIssuingCountry()The two-letter ISO country code of the country that issued the identificationjava.lang.StringgetNumber()The identification numberIdentificationTypegetType()The type of identification used to identify the senderinthashCode()voidsetIssuingCountry(java.lang.String issuingCountry)The two-letter ISO country code of the country that issued the identificationvoidsetNumber(java.lang.String number)The identification numbervoidsetType(IdentificationType type)The type of identification used to identify the senderjava.lang.StringtoString()
-
-
-
Constructor Detail
-
Identification
public Identification()
-
Identification
public Identification(IdentificationType type, java.lang.String number, java.lang.String issuingCountry)
Creates a newIdentificationinstance.- Parameters:
type- The type of identification used to identify the sendernumber- The identification numberissuingCountry- The two-letter ISO country code of the country that issued the identification
-
-
Method Detail
-
builder
public static Identification.IdentificationBuilder builder()
-
getType
public IdentificationType getType()
The type of identification used to identify the sender
-
getNumber
public java.lang.String getNumber()
The identification number
-
getIssuingCountry
public java.lang.String getIssuingCountry()
The two-letter ISO country code of the country that issued the identification
-
setType
public void setType(IdentificationType type)
The type of identification used to identify the sender
-
setNumber
public void setNumber(java.lang.String number)
The identification number
-
setIssuingCountry
public void setIssuingCountry(java.lang.String issuingCountry)
The two-letter ISO country code of the country that issued the identification
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-