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 BigDecimal
getCost()
Shipment cost (mode:custom only).String
getDefaultShippingMethod()
Select default shipping method in checkout (mode:me2 only).String
getDimensions()
Dimensions of the shipment in cm x cm x cm, gr (mode:me2 only).Boolean
getExpressShipment()
If use express shipment.List<PreferenceFreeMethod>
getFreeMethods()
Offer a shipping method as free shipping (mode:me2 only).Boolean
getFreeShipping()
Free shipping for mode:custom.Boolean
getLocalPickup()
The payer have the option to pick up the shipment in your store (mode:me2 only).String
getMode()
Shipment mode.PreferenceReceiverAddress
getReceiverAddress()
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.
-
-