Package com.stripe.param
Class OrderUpdateParams.Shipping.Builder
java.lang.Object
com.stripe.param.OrderUpdateParams.Shipping.Builder
- Enclosing class:
OrderUpdateParams.Shipping
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setCarrier
(EmptyParam carrier) The name of the carrier likeUSPS
,UPS
, orFedEx
.setCarrier
(String carrier) The name of the carrier likeUSPS
,UPS
, orFedEx
.setTrackingNumber
(EmptyParam trackingNumber) setTrackingNumber
(String trackingNumber) The tracking number provided by the carrier.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCarrier
The name of the carrier likeUSPS
,UPS
, orFedEx
. -
setCarrier
The name of the carrier likeUSPS
,UPS
, orFedEx
. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeOrderUpdateParams.Shipping.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeOrderUpdateParams.Shipping.extraParams
for the field documentation. -
setTrackingNumber
The tracking number provided by the carrier. -
setTrackingNumber
-