All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mercadopago.client.payment.PaymentItemRequest Maven / Gradle / Ivy

There is a newer version: 2.1.29
Show newest version
package com.mercadopago.client.payment;

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

/** PaymentItemRequest class. */
@Getter
@Builder
public class PaymentItemRequest {
  /** Item code. */
  private final String id;

  /** Item name. */
  private final String title;

  /** Long item description. */
  private final String description;

  /** Image URL. */
  private final String pictureUrl;

  /** Category of the item. */
  private final String categoryId;

  /** Item's quantity. */
  private final Integer quantity;

  /** Unit price. */
  private final BigDecimal unitPrice;

  /** Item information related to the category. */
  private final PaymentCategoryDescriptorRequest categoryDescriptor;

  /** True if you purchase the item with warranty, false if not. */
  private final boolean warranty;

  /** Event date. */
  private final OffsetDateTime eventDate;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy