Package com.stripe.param
Class ProductUpdateParams.PackageDimensions.Builder
java.lang.Object
com.stripe.param.ProductUpdateParams.PackageDimensions.Builder
- Enclosing class:
- ProductUpdateParams.PackageDimensions
-
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.setHeight
(BigDecimal height) Required. Height, in inches.setLength
(BigDecimal length) Required. Length, in inches.setWeight
(BigDecimal weight) Required. Weight, in ounces.setWidth
(BigDecimal width) Required. Width, in inches.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
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. SeeProductUpdateParams.PackageDimensions.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. SeeProductUpdateParams.PackageDimensions.extraParams
for the field documentation. -
setHeight
Required. Height, in inches. Maximum precision is 2 decimal places. -
setLength
Required. Length, in inches. Maximum precision is 2 decimal places. -
setWeight
Required. Weight, in ounces. Maximum precision is 2 decimal places. -
setWidth
Required. Width, in inches. Maximum precision is 2 decimal places.
-