Class Identification.IdentificationBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.postpayments.requests.unreferencedrefundrequest.destination.common.accountholder.common.identification.Identification.IdentificationBuilder
-
- Enclosing class:
- Identification
public static class Identification.IdentificationBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Identificationbuild()Identification.IdentificationBuilderdateOfExpiry(java.lang.String dateOfExpiry)If applicable, the expiration date of the account holder's identification, in the format YYYY-MM-DD.Identification.IdentificationBuilderissuingCountry(java.lang.String issuingCountry)If applicable, the country that issued the account holder's identification, as a two-letter ISO country code.Identification.IdentificationBuildernumber(java.lang.String number)The account holder's identification number.java.lang.StringtoString()Identification.IdentificationBuildertype(Type type)The type of identification for the account holder.
-
-
-
Method Detail
-
type
public Identification.IdentificationBuilder type(Type type)
The type of identification for the account holder. [Required]- Returns:
this.
-
number
public Identification.IdentificationBuilder number(java.lang.String number)
The account holder's identification number. [Required] <= 25- Returns:
this.
-
issuingCountry
public Identification.IdentificationBuilder issuingCountry(java.lang.String issuingCountry)
If applicable, the country that issued the account holder's identification, as a two-letter ISO country code. Providing issuing_country increases the likelihood of a successful identity verification. [Optional] 2 characters- Returns:
this.
-
dateOfExpiry
public Identification.IdentificationBuilder dateOfExpiry(java.lang.String dateOfExpiry)
If applicable, the expiration date of the account holder's identification, in the format YYYY-MM-DD. Providing date_of_expiry increases the likelihood of a successful identity verification. [Optional] 10 characters- Returns:
this.
-
build
public Identification build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-