Class AccountHolder.AccountHolderBuilder
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.payments.common.source.paymentgetresponseklarnasourcesource.accountholder.AccountHolder.AccountHolderBuilder
-
- Enclosing class:
- AccountHolder
public static class AccountHolder.AccountHolderBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountHolder.AccountHolderBuilderbillingAddress(BillingAddress billingAddress)Address of the account holder.AccountHolderbuild()AccountHolder.AccountHolderBuilderdateOfBirth(java.lang.String dateOfBirth)Date of birth of the account holder.AccountHolder.AccountHolderBuilderemail(java.lang.String email)Email address of the account holder.AccountHolder.AccountHolderBuilderfirstName(java.lang.String firstName)First name of the account holder.AccountHolder.AccountHolderBuildergender(java.lang.String gender)Gender of the account holder.AccountHolder.AccountHolderBuilderlastName(java.lang.String lastName)Last name of the account holder.AccountHolder.AccountHolderBuilderphone(Phone phone)Phone number of the account holder.java.lang.StringtoString()
-
-
-
Method Detail
-
firstName
public AccountHolder.AccountHolderBuilder firstName(java.lang.String firstName)
First name of the account holder. [Optional]- Returns:
this.
-
lastName
public AccountHolder.AccountHolderBuilder lastName(java.lang.String lastName)
Last name of the account holder. [Optional]- Returns:
this.
-
billingAddress
public AccountHolder.AccountHolderBuilder billingAddress(BillingAddress billingAddress)
Address of the account holder. [Optional]- Returns:
this.
-
email
public AccountHolder.AccountHolderBuilder email(java.lang.String email)
Email address of the account holder. [Optional]- Returns:
this.
-
dateOfBirth
public AccountHolder.AccountHolderBuilder dateOfBirth(java.lang.String dateOfBirth)
Date of birth of the account holder. [Optional]- Returns:
this.
-
gender
public AccountHolder.AccountHolderBuilder gender(java.lang.String gender)
Gender of the account holder. [Optional]- Returns:
this.
-
phone
public AccountHolder.AccountHolderBuilder phone(Phone phone)
Phone number of the account holder. [Optional]- Returns:
this.
-
build
public AccountHolder build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-