@Generated(value="io.sphere.sdk.annotations.processors.generators.UpdateActionGenerator", comments="Generated from: io.sphere.sdk.orders.Parcel") public final class SetParcelMeasurements extends UpdateActionImpl<Order>
measurements property of a Order.Parcel.getMeasurements()| Modifier and Type | Method and Description |
|---|---|
ParcelMeasurements |
getMeasurements() |
String |
getParcelId() |
static SetParcelMeasurements |
of(String parcelId,
ParcelMeasurements measurements)
Creates a new object initialized with the given values.
|
SetParcelMeasurements |
withMeasurements(ParcelMeasurements measurements)
Creates a copied update action initialized with the given parameter, the rest of the parameters are copied from the original object.
|
getActionpublic String getParcelId()
@Nullable public ParcelMeasurements getMeasurements()
public static SetParcelMeasurements of(String parcelId, @Nullable ParcelMeasurements measurements)
parcelId - initial value for the propertymeasurements - initial value for the propertypublic SetParcelMeasurements withMeasurements(ParcelMeasurements measurements)