com.mercadopago.client.preference.PreferencePayerRequest Maven / Gradle / Ivy
package com.mercadopago.client.preference;
import com.mercadopago.client.common.AddressRequest;
import com.mercadopago.client.common.IdentificationRequest;
import com.mercadopago.client.common.PhoneRequest;
import java.time.OffsetDateTime;
import lombok.Builder;
import lombok.Getter;
/** Payer information. */
@Getter
@Builder
public class PreferencePayerRequest {
/** Payer's name. */
private final String name;
/** Payer's surname. */
private final String surname;
/** Payer's email. */
private final String email;
/** Payer's phone. */
private final PhoneRequest phone;
/** Payer's identification. */
private final IdentificationRequest identification;
/** Payer's address. */
private final AddressRequest address;
/** Date of creation of the payer user. */
private final OffsetDateTime dateCreated;
}