advancedpayment/AdvancedPaymentPaymentRequest.java

sdk-java · src/main/java/com/mercadopago/client/advancedpayment/AdvancedPaymentPaymentRequest.java · java · MIT
payments

Provides a structured way to define payment source details like method, amount, and installments for advanced payment requests.

// Source: https://github.com/mercadopago/sdk-java | License: MIT | Copyright 2021 MercadoPago Developers
// Provided via justclaw.it.com; keep this notice with the code.
package com.mercadopago.client.advancedpayment;

import java.math.BigDecimal;
import lombok.Builder;
import lombok.Getter;

/**
 * A single payment source within an advanced payment.
 *
 * @see AdvancedPaymentCreateRequest
 */
@Getter
@Builder
public class AdvancedPaymentPaymentRequest {

  /** Payment method identifier (e.g., master, visa). */
  private final String paymentMethodId;

  /** Payment type identifier (e.g., credit_card). */
  private final String paymentTypeId;

  /** Card token for the payment. */
  private final String token;

  /** Expiration date for the payment intent. */
  private final String dateOfEx

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key