Package com.mercadopago.client.customer
Class CustomerRequest
- java.lang.Object
-
- com.mercadopago.client.customer.CustomerRequest
-
public class CustomerRequest extends Object
Information used to create/update a customer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CustomerRequest.CustomerRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomerRequest.CustomerRequestBuilder
builder()
CustomerAddressRequest
getAddress()
Default address information.OffsetDateTime
getDateRegistred()
Customer's registration date.String
getDefaultAddress()
Customer's default address.String
getDefaultCard()
Customer's default card.String
getDescription()
Customer's description.String
getEmail()
Customer's email.String
getFirstName()
Customer's first name.IdentificationRequest
getIdentification()
Customer's identification.String
getLastName()
Customer's last name.Map<String,Object>
getMetadata()
Metadata.PhoneRequest
getPhone()
Customer's phone.
-
-
-
Method Detail
-
builder
public static CustomerRequest.CustomerRequestBuilder builder()
-
getEmail
public String getEmail()
Customer's email.
-
getFirstName
public String getFirstName()
Customer's first name.
-
getLastName
public String getLastName()
Customer's last name.
-
getPhone
public PhoneRequest getPhone()
Customer's phone.
-
getIdentification
public IdentificationRequest getIdentification()
Customer's identification.
-
getDefaultAddress
public String getDefaultAddress()
Customer's default address.
-
getAddress
public CustomerAddressRequest getAddress()
Default address information.
-
getDefaultCard
public String getDefaultCard()
Customer's default card.
-
getDateRegistred
public OffsetDateTime getDateRegistred()
Customer's registration date.
-
getDescription
public String getDescription()
Customer's description.
-
-