Class PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.preference.PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder
-
- Enclosing class:
- PreferenceShipmentsRequest
public static class PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
mode
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder mode(String mode)
Shipment mode.- Returns:
this
.
-
localPickup
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder localPickup(Boolean localPickup)
The payer have the option to pick up the shipment in your store (mode:me2 only).- Returns:
this
.
-
dimensions
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder dimensions(String dimensions)
Dimensions of the shipment in cm x cm x cm, gr (mode:me2 only).- Returns:
this
.
-
defaultShippingMethod
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder defaultShippingMethod(String defaultShippingMethod)
Select default shipping method in checkout (mode:me2 only).- Returns:
this
.
-
freeMethods
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder freeMethods(List<PreferenceFreeMethodRequest> freeMethods)
Offer a shipping method as free shipping (mode:me2 only).- Returns:
this
.
-
cost
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder cost(BigDecimal cost)
Shipment cost (mode:custom only).- Returns:
this
.
-
freeShipping
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder freeShipping(Boolean freeShipping)
Free shipping for mode:custom.- Returns:
this
.
-
receiverAddress
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder receiverAddress(PreferenceReceiverAddressRequest receiverAddress)
Shipping address.- Returns:
this
.
-
expressShipment
public PreferenceShipmentsRequest.PreferenceShipmentsRequestBuilder expressShipment(Boolean expressShipment)
If use express shipment.- Returns:
this
.
-
build
public PreferenceShipmentsRequest build()
-
-