advancedpayment/AdvancedPaymentCreateRequest.java

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

Immutable builder-based request DTO for creating split/advanced payments with payers, disbursements, and payment sources.

// 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.util.List;
import lombok.Builder;
import lombok.Getter;

/**
 * Request to create a new advanced (split) payment.
 *
 * @see com.mercadopago.client.advancedpayment.AdvancedPaymentClient
 */
@Getter
@Builder
public class AdvancedPaymentCreateRequest {

  /** List of payment sources (card tokens, amounts). */
  private final List<AdvancedPaymentPaymentRequest> payments;

  /** List of receivers (collector IDs and amounts). */
  private final List<AdvancedPaymentDisbursementRequest> disbursements;

  /** Buyer information. */
  private final AdvancedPaymentPayerReq

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

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

Get a free API key