Package com.chrt.api.types
Class ChampQuantity.Builder
- java.lang.Object
-
- com.chrt.api.types.ChampQuantity.Builder
-
- Enclosing class:
- ChampQuantity
public static final class ChampQuantity.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChampQuantitybuild()ChampQuantity.Builderfrom(ChampQuantity other)ChampQuantity.BuildernumberOfPieces(Nullable<java.lang.Integer> numberOfPieces)ChampQuantity.BuildernumberOfPieces(java.lang.Integer numberOfPieces)ChampQuantity.BuildernumberOfPieces(java.util.Optional<java.lang.Integer> numberOfPieces)ChampQuantity.BuildershipmentDescriptionCode(Nullable<java.lang.String> shipmentDescriptionCode)ChampQuantity.BuildershipmentDescriptionCode(java.lang.String shipmentDescriptionCode)ChampQuantity.BuildershipmentDescriptionCode(java.util.Optional<java.lang.String> shipmentDescriptionCode)ChampQuantity.Builderweight(Nullable<CargojsonWeight> weight)ChampQuantity.Builderweight(CargojsonWeight weight)ChampQuantity.Builderweight(java.util.Optional<CargojsonWeight> weight)
-
-
-
Method Detail
-
from
public ChampQuantity.Builder from(ChampQuantity other)
-
shipmentDescriptionCode
public ChampQuantity.Builder shipmentDescriptionCode(java.util.Optional<java.lang.String> shipmentDescriptionCode)
-
shipmentDescriptionCode
public ChampQuantity.Builder shipmentDescriptionCode(java.lang.String shipmentDescriptionCode)
-
shipmentDescriptionCode
public ChampQuantity.Builder shipmentDescriptionCode(Nullable<java.lang.String> shipmentDescriptionCode)
-
numberOfPieces
public ChampQuantity.Builder numberOfPieces(java.util.Optional<java.lang.Integer> numberOfPieces)
-
numberOfPieces
public ChampQuantity.Builder numberOfPieces(java.lang.Integer numberOfPieces)
-
numberOfPieces
public ChampQuantity.Builder numberOfPieces(Nullable<java.lang.Integer> numberOfPieces)
-
weight
public ChampQuantity.Builder weight(java.util.Optional<CargojsonWeight> weight)
-
weight
public ChampQuantity.Builder weight(CargojsonWeight weight)
-
weight
public ChampQuantity.Builder weight(Nullable<CargojsonWeight> weight)
-
build
public ChampQuantity build()
-
-