Class PreferencePayerRequest.PreferencePayerRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.preference.PreferencePayerRequest.PreferencePayerRequestBuilder
-
- Enclosing class:
- PreferencePayerRequest
public static class PreferencePayerRequest.PreferencePayerRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreferencePayerRequest.PreferencePayerRequestBuilder
address(AddressRequest address)
Payer's address.PreferencePayerRequest
build()
PreferencePayerRequest.PreferencePayerRequestBuilder
dateCreated(OffsetDateTime dateCreated)
Date of creation of the payer user.PreferencePayerRequest.PreferencePayerRequestBuilder
email(String email)
Payer's email.PreferencePayerRequest.PreferencePayerRequestBuilder
identification(IdentificationRequest identification)
Payer's identification.PreferencePayerRequest.PreferencePayerRequestBuilder
name(String name)
Payer's name.PreferencePayerRequest.PreferencePayerRequestBuilder
phone(PhoneRequest phone)
Payer's phone.PreferencePayerRequest.PreferencePayerRequestBuilder
surname(String surname)
Payer's surname.String
toString()
-
-
-
Method Detail
-
name
public PreferencePayerRequest.PreferencePayerRequestBuilder name(String name)
Payer's name.- Returns:
this
.
-
surname
public PreferencePayerRequest.PreferencePayerRequestBuilder surname(String surname)
Payer's surname.- Returns:
this
.
-
email
public PreferencePayerRequest.PreferencePayerRequestBuilder email(String email)
Payer's email.- Returns:
this
.
-
phone
public PreferencePayerRequest.PreferencePayerRequestBuilder phone(PhoneRequest phone)
Payer's phone.- Returns:
this
.
-
identification
public PreferencePayerRequest.PreferencePayerRequestBuilder identification(IdentificationRequest identification)
Payer's identification.- Returns:
this
.
-
address
public PreferencePayerRequest.PreferencePayerRequestBuilder address(AddressRequest address)
Payer's address.- Returns:
this
.
-
dateCreated
public PreferencePayerRequest.PreferencePayerRequestBuilder dateCreated(OffsetDateTime dateCreated)
Date of creation of the payer user.- Returns:
this
.
-
build
public PreferencePayerRequest build()
-
-