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

com.mercadopago.client.preference.PreferenceShipmentsRequest Maven / Gradle / Ivy

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

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

/** Shipments information. */
@Getter
@Builder
public class PreferenceShipmentsRequest {
  /** Shipment mode. */
  private final String mode;

  /** The payer have the option to pick up the shipment in your store (mode:me2 only). */
  private final Boolean localPickup;

  /** Dimensions of the shipment in cm x cm x cm, gr (mode:me2 only). */
  private final String dimensions;

  /** Select default shipping method in checkout (mode:me2 only). */
  private final String defaultShippingMethod;

  /** Offer a shipping method as free shipping (mode:me2 only). */
  private final List freeMethods;

  /** Shipment cost (mode:custom only). */
  private final BigDecimal cost;

  /** Free shipping for mode:custom. */
  private final Boolean freeShipping;

  /** Shipping address. */
  private final PreferenceReceiverAddressRequest receiverAddress;

  /** If use express shipment. */
  private final Boolean expressShipment;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy