Class PreferenceShipmentsRequest
- java.lang.Object
-
- com.mercadopago.client.preference.PreferenceShipmentsRequest
-
public class PreferenceShipmentsRequest extends Object
Shipments information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder
builder()
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<PreferenceFreeMethodRequest>
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.PreferenceReceiverAddressRequest
getReceiverAddress()
Shipping address.
-
-
-
Method Detail
-
builder
public static PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder builder()
-
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<PreferenceFreeMethodRequest> 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 PreferenceReceiverAddressRequest getReceiverAddress()
Shipping address.
-
getExpressShipment
public Boolean getExpressShipment()
If use express shipment.
-
-