Package com.mercadopago.client.customer
Class CustomerRequest.CustomerRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.customer.CustomerRequest.CustomerRequestBuilder
-
- Enclosing class:
- CustomerRequest
public static class CustomerRequest.CustomerRequestBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
email
public CustomerRequest.CustomerRequestBuilder email(String email)
Customer's email.- Returns:
this
.
-
firstName
public CustomerRequest.CustomerRequestBuilder firstName(String firstName)
Customer's first name.- Returns:
this
.
-
lastName
public CustomerRequest.CustomerRequestBuilder lastName(String lastName)
Customer's last name.- Returns:
this
.
-
phone
public CustomerRequest.CustomerRequestBuilder phone(PhoneRequest phone)
Customer's phone.- Returns:
this
.
-
identification
public CustomerRequest.CustomerRequestBuilder identification(IdentificationRequest identification)
Customer's identification.- Returns:
this
.
-
defaultAddress
public CustomerRequest.CustomerRequestBuilder defaultAddress(String defaultAddress)
Customer's default address.- Returns:
this
.
-
address
public CustomerRequest.CustomerRequestBuilder address(CustomerAddressRequest address)
Default address information.- Returns:
this
.
-
defaultCard
public CustomerRequest.CustomerRequestBuilder defaultCard(String defaultCard)
Customer's default card.- Returns:
this
.
-
dateRegistred
public CustomerRequest.CustomerRequestBuilder dateRegistred(OffsetDateTime dateRegistred)
Customer's registration date.- Returns:
this
.
-
description
public CustomerRequest.CustomerRequestBuilder description(String description)
Customer's description.- Returns:
this
.
-
metadata
public CustomerRequest.CustomerRequestBuilder metadata(Map<String,Object> metadata)
Metadata.- Returns:
this
.
-
build
public CustomerRequest build()
-
-