com.mercadopago.client.payment.PaymentPayerRequest Maven / Gradle / Ivy
package com.mercadopago.client.payment;
import com.mercadopago.client.common.IdentificationRequest;
import lombok.Builder;
import lombok.Getter;
/** PaymentPayerRequest class. */
@Getter
@Builder
public class PaymentPayerRequest {
/** Payer's identification type (mandatory if the payer is a Customer). */
private final String type;
/** Payer's ID. */
private final String id;
/** Email of the payer. */
private final String email;
/** Payer's personal identification. */
private final IdentificationRequest identification;
/** Payer's first name. */
private final String firstName;
/** Payer's last name. */
private final String lastName;
/** Payer's entity type (only for bank transfers). */
private final String entityType;
/** Payer's address information. */
private PaymentPayerAddressRequest address;
/** Payer's phone information. */
private PaymentPayerPhoneRequest phone;
}