Package com.mercadopago.client.payment
Class PaymentPayerRequest.PaymentPayerRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.payment.PaymentPayerRequest.PaymentPayerRequestBuilder
-
- Enclosing class:
- PaymentPayerRequest
public static class PaymentPayerRequest.PaymentPayerRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentPayerRequest
build()
PaymentPayerRequest.PaymentPayerRequestBuilder
email(String email)
Email of the payer.PaymentPayerRequest.PaymentPayerRequestBuilder
entityType(String entityType)
Payer's entity type (only for bank transfers).PaymentPayerRequest.PaymentPayerRequestBuilder
firstName(String firstName)
Payer's first name.PaymentPayerRequest.PaymentPayerRequestBuilder
id(String id)
Payer's ID.PaymentPayerRequest.PaymentPayerRequestBuilder
identification(IdentificationRequest identification)
Payer's personal identification.PaymentPayerRequest.PaymentPayerRequestBuilder
lastName(String lastName)
Payer's last name.String
toString()
PaymentPayerRequest.PaymentPayerRequestBuilder
type(String type)
Payer's identification type (mandatory if the payer is a Customer).
-
-
-
Method Detail
-
type
public PaymentPayerRequest.PaymentPayerRequestBuilder type(String type)
Payer's identification type (mandatory if the payer is a Customer).- Returns:
this
.
-
id
public PaymentPayerRequest.PaymentPayerRequestBuilder id(String id)
Payer's ID.- Returns:
this
.
-
email
public PaymentPayerRequest.PaymentPayerRequestBuilder email(String email)
Email of the payer.- Returns:
this
.
-
identification
public PaymentPayerRequest.PaymentPayerRequestBuilder identification(IdentificationRequest identification)
Payer's personal identification.- Returns:
this
.
-
firstName
public PaymentPayerRequest.PaymentPayerRequestBuilder firstName(String firstName)
Payer's first name.- Returns:
this
.
-
lastName
public PaymentPayerRequest.PaymentPayerRequestBuilder lastName(String lastName)
Payer's last name.- Returns:
this
.
-
entityType
public PaymentPayerRequest.PaymentPayerRequestBuilder entityType(String entityType)
Payer's entity type (only for bank transfers).- Returns:
this
.
-
build
public PaymentPayerRequest build()
-
-