Class PreferenceShipments
- java.lang.Object
-
- com.mercadopago.resources.preference.PreferenceShipments
-
public class PreferenceShipments extends Object
Shipments information from preference.
-
-
Constructor Summary
Constructors Constructor Description PreferenceShipments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCost()Shipment cost (mode:custom only).StringgetDefaultShippingMethod()Select default shipping method in checkout (mode:me2 only).StringgetDimensions()Dimensions of the shipment in cm x cm x cm, gr (mode:me2 only).BooleangetExpressShipment()If use express shipment.List<PreferenceFreeMethod>getFreeMethods()Offer a shipping method as free shipping (mode:me2 only).BooleangetFreeShipping()Free shipping for mode:custom.BooleangetLocalPickup()The payer have the option to pick up the shipment in your store (mode:me2 only).StringgetMode()Shipment mode.PreferenceReceiverAddressgetReceiverAddress()Shipping address.
-
-
-
Method Detail
-
getMode
public String getMode()
Shipment mode.
-
getLocalPickup
public Boolean getLocalPickup()
The payer have the option to pick up the shipment in your store (mode:me2 only).
-
getDimensions
public String getDimensions()
Dimensions of the shipment in cm x cm x cm, gr (mode:me2 only).
-
getDefaultShippingMethod
public String getDefaultShippingMethod()
Select default shipping method in checkout (mode:me2 only).
-
getFreeMethods
public List<PreferenceFreeMethod> getFreeMethods()
Offer a shipping method as free shipping (mode:me2 only).
-
getCost
public BigDecimal getCost()
Shipment cost (mode:custom only).
-
getFreeShipping
public Boolean getFreeShipping()
Free shipping for mode:custom.
-
getReceiverAddress
public PreferenceReceiverAddress getReceiverAddress()
Shipping address.
-
getExpressShipment
public Boolean getExpressShipment()
If use express shipment.
-
-